![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbListSampleGenerator.h>
Public Types | |
typedef int | ClassLabelType |
typedef itk::SmartPointer< const Self > | ConstPointer |
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< LabelType > | ListLabelType |
typedef ListSampleType::Pointer | ListSamplePointerType |
typedef itk::Statistics::ListSample< SampleType > | ListSampleType |
typedef itk::SmartPointer< Self > | Pointer |
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 |
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 53 of file otbListSampleGenerator.h.
typedef int otb::ListSampleGenerator< TImage, TVectorData >::ClassLabelType |
List to store the corresponding labels
Definition at line 82 of file otbListSampleGenerator.h.
typedef itk::SmartPointer<const Self> otb::ListSampleGenerator< TImage, TVectorData >::ConstPointer |
Definition at line 60 of file otbListSampleGenerator.h.
|
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 174 of file otbListSampleGenerator.h.
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 101 of file otbListSampleGenerator.h.
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::ListSampleGenerator< TImage, TVectorData >::DataObjectPointerArraySizeType |
Definition at line 74 of file otbListSampleGenerator.h.
typedef ImageType::IndexType otb::ListSampleGenerator< TImage, TVectorData >::ImageIndexType |
Definition at line 70 of file otbListSampleGenerator.h.
typedef ImageType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::ImagePointerType |
Definition at line 69 of file otbListSampleGenerator.h.
typedef ImageType::RegionType otb::ListSampleGenerator< TImage, TVectorData >::ImageRegionType |
Definition at line 71 of file otbListSampleGenerator.h.
typedef TImage otb::ListSampleGenerator< TImage, TVectorData >::ImageType |
Definition at line 68 of file otbListSampleGenerator.h.
typedef itk::FixedArray<ClassLabelType, 1> otb::ListSampleGenerator< TImage, TVectorData >::LabelType |
Definition at line 83 of file otbListSampleGenerator.h.
typedef ListLabelType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::ListLabelPointerType |
Definition at line 85 of file otbListSampleGenerator.h.
typedef itk::Statistics::ListSample<LabelType> otb::ListSampleGenerator< TImage, TVectorData >::ListLabelType |
Definition at line 84 of file otbListSampleGenerator.h.
typedef ListSampleType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::ListSamplePointerType |
Definition at line 79 of file otbListSampleGenerator.h.
typedef itk::Statistics::ListSample<SampleType> otb::ListSampleGenerator< TImage, TVectorData >::ListSampleType |
Definition at line 78 of file otbListSampleGenerator.h.
typedef itk::SmartPointer<Self> otb::ListSampleGenerator< TImage, TVectorData >::Pointer |
Definition at line 59 of file otbListSampleGenerator.h.
|
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.
|
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.
|
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.
|
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.
|
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.
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.
typedef ImageType::PixelType otb::ListSampleGenerator< TImage, TVectorData >::SampleType |
List to store the pixel values
Definition at line 77 of file otbListSampleGenerator.h.
typedef ListSampleGenerator otb::ListSampleGenerator< TImage, TVectorData >::Self |
Standard class typedefs
Definition at line 57 of file otbListSampleGenerator.h.
typedef itk::ProcessObject otb::ListSampleGenerator< TImage, TVectorData >::Superclass |
Definition at line 58 of file otbListSampleGenerator.h.
typedef VectorDataType::Pointer otb::ListSampleGenerator< TImage, TVectorData >::VectorDataPointerType |
Definition at line 73 of file otbListSampleGenerator.h.
typedef TVectorData otb::ListSampleGenerator< TImage, TVectorData >::VectorDataType |
Definition at line 72 of file otbListSampleGenerator.h.
|
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 35 of file otbListSampleGenerator.hxx.
References otb::ListSampleGenerator< TImage, TVectorData >::m_RandomGenerator, and otb::ListSampleGenerator< TImage, TVectorData >::MakeOutput().
|
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 157 of file otbListSampleGenerator.h.
|
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
|
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 300 of file otbListSampleGenerator.hxx.
virtual::itk::LightObject::Pointer otb::ListSampleGenerator< TImage, TVectorData >::CreateAnother | ( | void | ) | const |
|
protected |
Compute the class statistics
Definition at line 277 of file otbListSampleGenerator.hxx.
|
overrideprotected |
Triggers the Computation of the sample list
Definition at line 166 of file otbListSampleGenerator.hxx.
References otb::TransformPhysicalRegionToIndexRegion().
|
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 146 of file otbListSampleGenerator.hxx.
|
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
|
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 123 of file otbListSampleGenerator.h.
|
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 128 of file otbListSampleGenerator.h.
|
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 150 of file otbListSampleGenerator.h.
|
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
|
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
const TImage * otb::ListSampleGenerator< TImage, TVectorData >::GetInput | ( | void | ) | const |
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.
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 83 of file otbListSampleGenerator.hxx.
|
virtual |
Accessors
|
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
|
virtual |
Run-time type information (and related methods).
|
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
|
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 368 of file otbListSampleGenerator.hxx.
|
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
ListSampleGenerator< TImage, TVectorData >::ListLabelType * otb::ListSampleGenerator< TImage, TVectorData >::GetTrainingListLabel |
Returns the Trainingn label ListSample as a data object
Definition at line 125 of file otbListSampleGenerator.hxx.
ListSampleGenerator< TImage, TVectorData >::ListSampleType * otb::ListSampleGenerator< TImage, TVectorData >::GetTrainingListSample |
Returns the Training ListSample as a data object
Definition at line 119 of file otbListSampleGenerator.hxx.
ListSampleGenerator< TImage, TVectorData >::ListLabelType * otb::ListSampleGenerator< TImage, TVectorData >::GetValidationListLabel |
Returns the label sample list as a data object
Definition at line 140 of file otbListSampleGenerator.hxx.
ListSampleGenerator< TImage, TVectorData >::ListSampleType * otb::ListSampleGenerator< TImage, TVectorData >::GetValidationListSample |
Returns the label sample list as a data object
Definition at line 132 of file otbListSampleGenerator.hxx.
|
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
|
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 94 of file otbListSampleGenerator.hxx.
Referenced by otb::ListSampleGenerator< TImage, TVectorData >::ListSampleGenerator().
|
static |
Method for creation through the object factory.
|
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
|
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 387 of file otbListSampleGenerator.hxx.
|
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
|
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
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 58 of file otbListSampleGenerator.hxx.
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 75 of file otbListSampleGenerator.hxx.
|
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
|
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
|
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
|
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
|
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 192 of file otbListSampleGenerator.h.
|
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 201 of file otbListSampleGenerator.h.
|
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.
|
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.
|
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 205 of file otbListSampleGenerator.h.
|
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.
|
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 197 of file otbListSampleGenerator.h.
|
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.
|
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 187 of file otbListSampleGenerator.h.
|
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 188 of file otbListSampleGenerator.h.
|
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 196 of file otbListSampleGenerator.h.
|
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 193 of file otbListSampleGenerator.h.
|
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 208 of file otbListSampleGenerator.h.
Referenced by otb::ListSampleGenerator< TImage, TVectorData >::ListSampleGenerator().
|
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.