OTB
9.0.0
Orfeo Toolbox
|
#include <otbLabelMapToSampleListFilter.h>
Public Types | |
typedef InputLabelMapType::ConstIterator | ConstIteratorType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef Superclass::DataObjectPointer | DataObjectPointerType |
typedef InputLabelMapType::ConstPointer | InputLabelMapConstPointerType |
typedef TInputLabelMap | InputLabelMapType |
typedef InputLabelMapType::LabelObjectType | LabelObjectType |
typedef TMeasurementFunctor | MeasurementFunctorType |
typedef OutputSampleListType::MeasurementVectorType | MeasurementVectorType |
typedef OutputSampleListType::Pointer | OutputSampleListPointerType |
typedef TOutputSampleList | OutputSampleListType |
typedef itk::SmartPointer< Self > | Pointer |
typedef LabelMapToSampleListFilter | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
MeasurementFunctorType | m_MeasurementFunctor |
void | SetInputLabelMap (const InputLabelMapType *inputLabelMap) |
const InputLabelMapType * | GetInputLabelMap () const |
const OutputSampleListType * | GetOutputSampleList () |
void | SetMeasurementFunctor (const MeasurementFunctorType &functor) |
MeasurementFunctorType & | GetMeasurementFunctor () |
LabelMapToSampleListFilter () | |
~LabelMapToSampleListFilter () override | |
void | GenerateData () override |
DataObjectPointerType | MakeOutput (DataObjectPointerArraySizeType idx) override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
LabelMapToSampleListFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This class converts a LabelObjectMap to a SampleList for learning and classification.
The conversion from label object to measurement vector is made through a functor. This allows supporting any kind of LabelObject via proper redefinition of the functor.
Definition at line 46 of file otbLabelMapToSampleListFilter.h.
typedef InputLabelMapType::ConstIterator otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::ConstIteratorType |
Definition at line 66 of file otbLabelMapToSampleListFilter.h.
typedef itk::SmartPointer<const Self> otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::ConstPointer |
Definition at line 53 of file otbLabelMapToSampleListFilter.h.
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::DataObjectPointerArraySizeType |
Definition at line 76 of file otbLabelMapToSampleListFilter.h.
typedef Superclass::DataObjectPointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::DataObjectPointerType |
DataObject typedef
Definition at line 75 of file otbLabelMapToSampleListFilter.h.
typedef InputLabelMapType::ConstPointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::InputLabelMapConstPointerType |
Definition at line 63 of file otbLabelMapToSampleListFilter.h.
typedef TInputLabelMap otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::InputLabelMapType |
template typedefs
Definition at line 59 of file otbLabelMapToSampleListFilter.h.
typedef InputLabelMapType::LabelObjectType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::LabelObjectType |
Definition at line 64 of file otbLabelMapToSampleListFilter.h.
typedef TMeasurementFunctor otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::MeasurementFunctorType |
Definition at line 72 of file otbLabelMapToSampleListFilter.h.
typedef OutputSampleListType::MeasurementVectorType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::MeasurementVectorType |
Definition at line 70 of file otbLabelMapToSampleListFilter.h.
typedef OutputSampleListType::Pointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::OutputSampleListPointerType |
Definition at line 69 of file otbLabelMapToSampleListFilter.h.
typedef TOutputSampleList otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::OutputSampleListType |
Definition at line 68 of file otbLabelMapToSampleListFilter.h.
typedef itk::SmartPointer<Self> otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::Pointer |
Definition at line 52 of file otbLabelMapToSampleListFilter.h.
typedef LabelMapToSampleListFilter otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::Self |
Standard class typedefs.
Definition at line 50 of file otbLabelMapToSampleListFilter.h.
typedef itk::ProcessObject otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::Superclass |
Definition at line 51 of file otbLabelMapToSampleListFilter.h.
|
protected |
The functor used to build the measurement vector
Definition at line 30 of file otbLabelMapToSampleListFilter.hxx.
|
overrideprotected |
The functor used to build the measurement vector
Definition at line 39 of file otbLabelMapToSampleListFilter.hxx.
|
privatedelete |
The functor used to build the measurement vector
virtual::itk::LightObject::Pointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
The functor used to build the measurement vector
Definition at line 83 of file otbLabelMapToSampleListFilter.hxx.
const LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::InputLabelMapType * otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::GetInputLabelMap |
The functor used to build the measurement vector
Definition at line 63 of file otbLabelMapToSampleListFilter.hxx.
|
inline |
The functor used to build the measurement vector
Definition at line 92 of file otbLabelMapToSampleListFilter.h.
|
virtual |
Run-time type information (and related methods).
const LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::OutputSampleListType * otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::GetOutputSampleList |
Get the output SampleList
Definition at line 76 of file otbLabelMapToSampleListFilter.hxx.
|
overrideprotected |
Make Output
Definition at line 45 of file otbLabelMapToSampleListFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
The functor used to build the measurement vector
|
overrideprotected |
The functor used to build the measurement vector
Definition at line 112 of file otbLabelMapToSampleListFilter.hxx.
void otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::SetInputLabelMap | ( | const InputLabelMapType * | inputLabelMap | ) |
Set/Get the input label map
Definition at line 54 of file otbLabelMapToSampleListFilter.hxx.
|
inline |
Get a hook on the functor for settings
Definition at line 87 of file otbLabelMapToSampleListFilter.h.
|
private |
The functor used to build the measurement vector
Definition at line 114 of file otbLabelMapToSampleListFilter.h.