OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::ListSampleGenerator< TImage, TVectorData > Class Template Reference

#include <otbListSampleGenerator.h>

+ Inheritance diagram for otb::ListSampleGenerator< TImage, TVectorData >:
+ Collaboration diagram for otb::ListSampleGenerator< TImage, TVectorData >:

Public Types

typedef int ClassLabelType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef ImageType::IndexType ImageIndexType
 
typedef ImageType::Pointer ImagePointerType
 
typedef ImageType::RegionType ImageRegionType
 
typedef TImage ImageType
 
typedef itk::FixedArray< ClassLabelType, 1 > LabelType
 
typedef ListLabelType::Pointer ListLabelPointerType
 
typedef itk::Statistics::ListSample< LabelTypeListLabelType
 
typedef ListSampleType::Pointer ListSamplePointerType
 
typedef itk::Statistics::ListSample< SampleTypeListSampleType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageType::PixelType SampleType
 
typedef ListSampleGenerator Self
 
typedef itk::ProcessObject Superclass
 
typedef VectorDataType::Pointer VectorDataPointerType
 
typedef TVectorData VectorDataType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef std::map< ClassLabelType, int > SampleNumberType
 
typedef VectorDataType::DataNodeType DataNodeType
 
typedef DataNodeType::PolygonType PolygonType
 
typedef DataNodeType::PolygonPointerType PolygonPointerType
 
typedef DataNodeType::PolygonListType PolygonListType
 
typedef DataNodeType::PolygonListPointerType PolygonListPointerType
 
typedef itk::PreOrderTreeIterator< typename VectorDataType::DataTreeType > TreeIteratorType
 
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType
 
long int m_MaxTrainingSize
 
long int m_MaxValidationSize
 
double m_ValidationTrainingProportion
 
bool m_BoundByMin
 
bool m_PolygonEdgeInclusion
 
unsigned short m_NumberOfClasses
 
std::string m_ClassKey
 
double m_ClassMinSize
 
std::map< ClassLabelType, double > m_ClassesSize
 
std::map< ClassLabelType, double > m_ClassesProbTraining
 
std::map< ClassLabelType, double > m_ClassesProbValidation
 
std::map< ClassLabelType, int > m_ClassesSamplesNumberTraining
 
std::map< ClassLabelType, int > m_ClassesSamplesNumberValidation
 
RandomGeneratorType::Pointer m_RandomGenerator
 
void SetInput (const ImageType *)
 
const ImageTypeGetInput () const
 
void SetInputVectorData (const VectorDataType *)
 
const VectorDataTypeGetInputVectorData () const
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
virtual long int GetMaxTrainingSize () const
 
virtual void SetMaxTrainingSize (long int _arg)
 
virtual bool GetPolygonEdgeInclusion () const
 
virtual void SetPolygonEdgeInclusion (bool _arg)
 
virtual long int GetMaxValidationSize () const
 
virtual void SetMaxValidationSize (long int _arg)
 
virtual double GetValidationTrainingProportion () const
 
virtual void SetValidationTrainingProportion (double _arg)
 
virtual bool GetBoundByMin () const
 
virtual void SetBoundByMin (bool _arg)
 
virtual unsigned short GetNumberOfClasses () const
 
SampleNumberType GetClassesSamplesNumberTraining (void) const
 
SampleNumberType GetClassesSamplesNumberValidation (void) const
 
virtual const char * GetClassKey () const
 
virtual void SetClassKey (const char *_arg)
 
virtual double GetClassMinSize () const
 
ListSampleTypeGetTrainingListSample ()
 
ListLabelTypeGetTrainingListLabel ()
 
ListSampleTypeGetValidationListSample ()
 
ListLabelTypeGetValidationListLabel ()
 
std::map< ClassLabelType, double > GetClassesSize () const
 
 ListSampleGenerator ()
 
 ~ListSampleGenerator () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void GenerateData (void) override
 
void GenerateInputRequestedRegion (void) override
 
void GenerateClassStatistics ()
 
 ListSampleGenerator (const Self &)=delete
 
void operator= (const Self &)=delete
 
void ComputeClassSelectionProbability ()
 
double GetPolygonAreaInPixelsUnits (DataNodeType *polygonDataNode, ImageType *image)
 

Detailed Description

template<class TImage, class TVectorData>
class otb::ListSampleGenerator< TImage, TVectorData >

Produces a ListSample from a VectorImage and a VectorData.

This filter produces two ListSample for learning and validation of learning algorithms. The repartition between the learning and validation ListSample can be adjusted using the SetValidationTrainingProportion() method.

The size of the training and validation ListSample can be limited using the SetMaxTrainingSize() and SetMaxValidationSize() methods.

Classes are specified by the VectorData with a metadata identified by a specific key. This key can be provided by the SetClassKey() method (using "Class" as a default key).

The input VectorData is supposed to be fully contained within the image extent

Definition at line 54 of file otbListSampleGenerator.h.

Member Typedef Documentation

◆ ClassLabelType

template<class TImage , class TVectorData >
typedef int otb::ListSampleGenerator< TImage, TVectorData >::ClassLabelType

List to store the corresponding labels

Definition at line 83 of file otbListSampleGenerator.h.

◆ ConstPointer

template<class TImage , class TVectorData >
typedef itk::SmartPointer<const Self> otb::ListSampleGenerator< TImage, TVectorData >::ConstPointer

Definition at line 61 of file otbListSampleGenerator.h.

◆ DataNodeType

template<class TImage , class TVectorData >
typedef VectorDataType::DataNodeType otb::ListSampleGenerator< TImage, TVectorData >::DataNodeType
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 175 of file otbListSampleGenerator.h.

◆ DataObjectPointer

template<class TImage , class TVectorData >
typedef itk::DataObject::Pointer otb::ListSampleGenerator< TImage, TVectorData >::DataObjectPointer

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 102 of file otbListSampleGenerator.h.

◆ DataObjectPointerArraySizeType

template<class TImage , class TVectorData >
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::ListSampleGenerator< TImage, TVectorData >::DataObjectPointerArraySizeType

Definition at line 75 of file otbListSampleGenerator.h.

◆ ImageIndexType

template<class TImage , class TVectorData >
typedef ImageType::IndexType otb::ListSampleGenerator< TImage, TVectorData >::ImageIndexType

Definition at line 71 of file otbListSampleGenerator.h.

◆ ImagePointerType

template<class TImage , class TVectorData >
typedef ImageType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::ImagePointerType

Definition at line 70 of file otbListSampleGenerator.h.

◆ ImageRegionType

template<class TImage , class TVectorData >
typedef ImageType::RegionType otb::ListSampleGenerator< TImage, TVectorData >::ImageRegionType

Definition at line 72 of file otbListSampleGenerator.h.

◆ ImageType

template<class TImage , class TVectorData >
typedef TImage otb::ListSampleGenerator< TImage, TVectorData >::ImageType

Definition at line 67 of file otbListSampleGenerator.h.

◆ LabelType

template<class TImage , class TVectorData >
typedef itk::FixedArray<ClassLabelType, 1> otb::ListSampleGenerator< TImage, TVectorData >::LabelType

Definition at line 84 of file otbListSampleGenerator.h.

◆ ListLabelPointerType

template<class TImage , class TVectorData >
typedef ListLabelType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::ListLabelPointerType

Definition at line 86 of file otbListSampleGenerator.h.

◆ ListLabelType

template<class TImage , class TVectorData >
typedef itk::Statistics::ListSample<LabelType> otb::ListSampleGenerator< TImage, TVectorData >::ListLabelType

Definition at line 85 of file otbListSampleGenerator.h.

◆ ListSamplePointerType

template<class TImage , class TVectorData >
typedef ListSampleType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::ListSamplePointerType

Definition at line 80 of file otbListSampleGenerator.h.

◆ ListSampleType

template<class TImage , class TVectorData >
typedef itk::Statistics::ListSample<SampleType> otb::ListSampleGenerator< TImage, TVectorData >::ListSampleType

Definition at line 79 of file otbListSampleGenerator.h.

◆ Pointer

template<class TImage , class TVectorData >
typedef itk::SmartPointer<Self> otb::ListSampleGenerator< TImage, TVectorData >::Pointer

Definition at line 60 of file otbListSampleGenerator.h.

◆ PolygonListPointerType

template<class TImage , class TVectorData >
typedef DataNodeType::PolygonListPointerType otb::ListSampleGenerator< TImage, TVectorData >::PolygonListPointerType
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 179 of file otbListSampleGenerator.h.

◆ PolygonListType

template<class TImage , class TVectorData >
typedef DataNodeType::PolygonListType otb::ListSampleGenerator< TImage, TVectorData >::PolygonListType
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 178 of file otbListSampleGenerator.h.

◆ PolygonPointerType

template<class TImage , class TVectorData >
typedef DataNodeType::PolygonPointerType otb::ListSampleGenerator< TImage, TVectorData >::PolygonPointerType
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 177 of file otbListSampleGenerator.h.

◆ PolygonType

template<class TImage , class TVectorData >
typedef DataNodeType::PolygonType otb::ListSampleGenerator< TImage, TVectorData >::PolygonType
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 176 of file otbListSampleGenerator.h.

◆ RandomGeneratorType

template<class TImage , class TVectorData >
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator otb::ListSampleGenerator< TImage, TVectorData >::RandomGeneratorType
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 209 of file otbListSampleGenerator.h.

◆ SampleNumberType

template<class TImage , class TVectorData >
typedef std::map<ClassLabelType, int> otb::ListSampleGenerator< TImage, TVectorData >::SampleNumberType

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 121 of file otbListSampleGenerator.h.

◆ SampleType

template<class TImage , class TVectorData >
typedef ImageType::PixelType otb::ListSampleGenerator< TImage, TVectorData >::SampleType

List to store the pixel values

Definition at line 78 of file otbListSampleGenerator.h.

◆ Self

template<class TImage , class TVectorData >
typedef ListSampleGenerator otb::ListSampleGenerator< TImage, TVectorData >::Self

Standard class typedefs

Definition at line 58 of file otbListSampleGenerator.h.

◆ Superclass

template<class TImage , class TVectorData >
typedef itk::ProcessObject otb::ListSampleGenerator< TImage, TVectorData >::Superclass

Definition at line 59 of file otbListSampleGenerator.h.

◆ TreeIteratorType

template<class TImage , class TVectorData >
typedef itk::PreOrderTreeIterator<typename VectorDataType::DataTreeType> otb::ListSampleGenerator< TImage, TVectorData >::TreeIteratorType
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 180 of file otbListSampleGenerator.h.

◆ VectorDataPointerType

template<class TImage , class TVectorData >
typedef VectorDataType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::VectorDataPointerType

Definition at line 74 of file otbListSampleGenerator.h.

◆ VectorDataType

template<class TImage , class TVectorData >
typedef TVectorData otb::ListSampleGenerator< TImage, TVectorData >::VectorDataType

Definition at line 73 of file otbListSampleGenerator.h.

Constructor & Destructor Documentation

◆ ListSampleGenerator() [1/2]

template<class TImage , class TVectorData >
otb::ListSampleGenerator< TImage, TVectorData >::ListSampleGenerator
protected

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 64 of file otbListSampleGenerator.hxx.

References otb::ListSampleGenerator< TImage, TVectorData >::m_RandomGenerator, and otb::ListSampleGenerator< TImage, TVectorData >::MakeOutput().

◆ ~ListSampleGenerator()

template<class TImage , class TVectorData >
otb::ListSampleGenerator< TImage, TVectorData >::~ListSampleGenerator ( )
inlineoverrideprotected

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 158 of file otbListSampleGenerator.h.

◆ ListSampleGenerator() [2/2]

template<class TImage , class TVectorData >
otb::ListSampleGenerator< TImage, TVectorData >::ListSampleGenerator ( const Self )
privatedelete

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Member Function Documentation

◆ ComputeClassSelectionProbability()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::ComputeClassSelectionProbability
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 327 of file otbListSampleGenerator.hxx.

◆ CreateAnother()

template<class TImage , class TVectorData >
virtual::itk::LightObject::Pointer otb::ListSampleGenerator< TImage, TVectorData >::CreateAnother ( void  ) const

◆ GenerateClassStatistics()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::GenerateClassStatistics
protected

Compute the class statistics

Definition at line 305 of file otbListSampleGenerator.hxx.

◆ GenerateData()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::GenerateData ( void  )
overrideprotected

Triggers the Computation of the sample list

Definition at line 195 of file otbListSampleGenerator.hxx.

References otb::TransformPhysicalRegionToIndexRegion().

◆ GenerateInputRequestedRegion()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::GenerateInputRequestedRegion ( void  )
overrideprotected

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 175 of file otbListSampleGenerator.hxx.

◆ GetBoundByMin()

template<class TImage , class TVectorData >
virtual bool otb::ListSampleGenerator< TImage, TVectorData >::GetBoundByMin ( ) const
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ GetClassesSamplesNumberTraining()

template<class TImage , class TVectorData >
SampleNumberType otb::ListSampleGenerator< TImage, TVectorData >::GetClassesSamplesNumberTraining ( void  ) const
inline

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 124 of file otbListSampleGenerator.h.

◆ GetClassesSamplesNumberValidation()

template<class TImage , class TVectorData >
SampleNumberType otb::ListSampleGenerator< TImage, TVectorData >::GetClassesSamplesNumberValidation ( void  ) const
inline

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 129 of file otbListSampleGenerator.h.

◆ GetClassesSize()

template<class TImage , class TVectorData >
std::map<ClassLabelType, double> otb::ListSampleGenerator< TImage, TVectorData >::GetClassesSize ( ) const
inline

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 151 of file otbListSampleGenerator.h.

◆ GetClassKey()

template<class TImage , class TVectorData >
virtual const char* otb::ListSampleGenerator< TImage, TVectorData >::GetClassKey ( ) const
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ GetClassMinSize()

template<class TImage , class TVectorData >
virtual double otb::ListSampleGenerator< TImage, TVectorData >::GetClassMinSize ( ) const
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ GetInput()

template<class TImage , class TVectorData >
const TImage * otb::ListSampleGenerator< TImage, TVectorData >::GetInput

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 93 of file otbListSampleGenerator.hxx.

◆ GetInputVectorData()

template<class TImage , class TVectorData >
const TVectorData * otb::ListSampleGenerator< TImage, TVectorData >::GetInputVectorData

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 112 of file otbListSampleGenerator.hxx.

◆ GetMaxTrainingSize()

template<class TImage , class TVectorData >
virtual long int otb::ListSampleGenerator< TImage, TVectorData >::GetMaxTrainingSize ( ) const
virtual

Accessors

◆ GetMaxValidationSize()

template<class TImage , class TVectorData >
virtual long int otb::ListSampleGenerator< TImage, TVectorData >::GetMaxValidationSize ( ) const
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ GetNameOfClass()

template<class TImage , class TVectorData >
virtual const char* otb::ListSampleGenerator< TImage, TVectorData >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetNumberOfClasses()

template<class TImage , class TVectorData >
virtual unsigned short otb::ListSampleGenerator< TImage, TVectorData >::GetNumberOfClasses ( ) const
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ GetPolygonAreaInPixelsUnits()

template<class TImage , class TVectorData >
double otb::ListSampleGenerator< TImage, TVectorData >::GetPolygonAreaInPixelsUnits ( DataNodeType polygonDataNode,
ImageType image 
)
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 395 of file otbListSampleGenerator.hxx.

◆ GetPolygonEdgeInclusion()

template<class TImage , class TVectorData >
virtual bool otb::ListSampleGenerator< TImage, TVectorData >::GetPolygonEdgeInclusion ( ) const
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ GetTrainingListLabel()

template<class TImage , class TVectorData >
ListSampleGenerator< TImage, TVectorData >::ListLabelType * otb::ListSampleGenerator< TImage, TVectorData >::GetTrainingListLabel

Returns the Trainingn label ListSample as a data object

Definition at line 154 of file otbListSampleGenerator.hxx.

◆ GetTrainingListSample()

template<class TImage , class TVectorData >
ListSampleGenerator< TImage, TVectorData >::ListSampleType * otb::ListSampleGenerator< TImage, TVectorData >::GetTrainingListSample

Returns the Training ListSample as a data object

Definition at line 148 of file otbListSampleGenerator.hxx.

◆ GetValidationListLabel()

template<class TImage , class TVectorData >
ListSampleGenerator< TImage, TVectorData >::ListLabelType * otb::ListSampleGenerator< TImage, TVectorData >::GetValidationListLabel

Returns the label sample list as a data object

Definition at line 169 of file otbListSampleGenerator.hxx.

◆ GetValidationListSample()

template<class TImage , class TVectorData >
ListSampleGenerator< TImage, TVectorData >::ListSampleType * otb::ListSampleGenerator< TImage, TVectorData >::GetValidationListSample

Returns the label sample list as a data object

Definition at line 161 of file otbListSampleGenerator.hxx.

◆ GetValidationTrainingProportion()

template<class TImage , class TVectorData >
virtual double otb::ListSampleGenerator< TImage, TVectorData >::GetValidationTrainingProportion ( ) const
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ MakeOutput()

template<class TImage , class TVectorData >
ListSampleGenerator< TImage, TVectorData >::DataObjectPointer otb::ListSampleGenerator< TImage, TVectorData >::MakeOutput ( DataObjectPointerArraySizeType  idx)
override

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 123 of file otbListSampleGenerator.hxx.

Referenced by otb::ListSampleGenerator< TImage, TVectorData >::ListSampleGenerator().

◆ New()

template<class TImage , class TVectorData >
static Pointer otb::ListSampleGenerator< TImage, TVectorData >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::operator= ( const Self )
privatedelete

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ PrintSelf()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 414 of file otbListSampleGenerator.hxx.

◆ SetBoundByMin()

template<class TImage , class TVectorData >
virtual void otb::ListSampleGenerator< TImage, TVectorData >::SetBoundByMin ( bool  _arg)
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ SetClassKey()

template<class TImage , class TVectorData >
virtual void otb::ListSampleGenerator< TImage, TVectorData >::SetClassKey ( const char *  _arg)
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ SetInput()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::SetInput ( const ImageType image)

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 87 of file otbListSampleGenerator.hxx.

◆ SetInputVectorData()

template<class TImage , class TVectorData >
void otb::ListSampleGenerator< TImage, TVectorData >::SetInputVectorData ( const VectorDataType vectorData)

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 104 of file otbListSampleGenerator.hxx.

◆ SetMaxTrainingSize()

template<class TImage , class TVectorData >
virtual void otb::ListSampleGenerator< TImage, TVectorData >::SetMaxTrainingSize ( long int  _arg)
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ SetMaxValidationSize()

template<class TImage , class TVectorData >
virtual void otb::ListSampleGenerator< TImage, TVectorData >::SetMaxValidationSize ( long int  _arg)
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ SetPolygonEdgeInclusion()

template<class TImage , class TVectorData >
virtual void otb::ListSampleGenerator< TImage, TVectorData >::SetPolygonEdgeInclusion ( bool  _arg)
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

◆ SetValidationTrainingProportion()

template<class TImage , class TVectorData >
virtual void otb::ListSampleGenerator< TImage, TVectorData >::SetValidationTrainingProportion ( double  _arg)
virtual

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Member Data Documentation

◆ m_BoundByMin

template<class TImage , class TVectorData >
bool otb::ListSampleGenerator< TImage, TVectorData >::m_BoundByMin
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 194 of file otbListSampleGenerator.h.

◆ m_ClassesProbTraining

template<class TImage , class TVectorData >
std::map<ClassLabelType, double> otb::ListSampleGenerator< TImage, TVectorData >::m_ClassesProbTraining
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 203 of file otbListSampleGenerator.h.

◆ m_ClassesProbValidation

template<class TImage , class TVectorData >
std::map<ClassLabelType, double> otb::ListSampleGenerator< TImage, TVectorData >::m_ClassesProbValidation
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 204 of file otbListSampleGenerator.h.

◆ m_ClassesSamplesNumberTraining

template<class TImage , class TVectorData >
std::map<ClassLabelType, int> otb::ListSampleGenerator< TImage, TVectorData >::m_ClassesSamplesNumberTraining
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 206 of file otbListSampleGenerator.h.

◆ m_ClassesSamplesNumberValidation

template<class TImage , class TVectorData >
std::map<ClassLabelType, int> otb::ListSampleGenerator< TImage, TVectorData >::m_ClassesSamplesNumberValidation
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 207 of file otbListSampleGenerator.h.

◆ m_ClassesSize

template<class TImage , class TVectorData >
std::map<ClassLabelType, double> otb::ListSampleGenerator< TImage, TVectorData >::m_ClassesSize
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 202 of file otbListSampleGenerator.h.

◆ m_ClassKey

template<class TImage , class TVectorData >
std::string otb::ListSampleGenerator< TImage, TVectorData >::m_ClassKey
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 199 of file otbListSampleGenerator.h.

◆ m_ClassMinSize

template<class TImage , class TVectorData >
double otb::ListSampleGenerator< TImage, TVectorData >::m_ClassMinSize
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 200 of file otbListSampleGenerator.h.

◆ m_MaxTrainingSize

template<class TImage , class TVectorData >
long int otb::ListSampleGenerator< TImage, TVectorData >::m_MaxTrainingSize
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 189 of file otbListSampleGenerator.h.

◆ m_MaxValidationSize

template<class TImage , class TVectorData >
long int otb::ListSampleGenerator< TImage, TVectorData >::m_MaxValidationSize
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 190 of file otbListSampleGenerator.h.

◆ m_NumberOfClasses

template<class TImage , class TVectorData >
unsigned short otb::ListSampleGenerator< TImage, TVectorData >::m_NumberOfClasses
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 198 of file otbListSampleGenerator.h.

◆ m_PolygonEdgeInclusion

template<class TImage , class TVectorData >
bool otb::ListSampleGenerator< TImage, TVectorData >::m_PolygonEdgeInclusion
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 195 of file otbListSampleGenerator.h.

◆ m_RandomGenerator

template<class TImage , class TVectorData >
RandomGeneratorType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::m_RandomGenerator
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 210 of file otbListSampleGenerator.h.

Referenced by otb::ListSampleGenerator< TImage, TVectorData >::ListSampleGenerator().

◆ m_ValidationTrainingProportion

template<class TImage , class TVectorData >
double otb::ListSampleGenerator< TImage, TVectorData >::m_ValidationTrainingProportion
private

Connects the vector data for which the sample list is going to be extracted if this is the only input vector data, both the training and validation samples come from it

Definition at line 191 of file otbListSampleGenerator.h.


The documentation for this class was generated from the following files: