21 #ifndef otbLabelMapWithClassLabelToLabeledSampleListFilter_h
22 #define otbLabelMapWithClassLabelToLabeledSampleListFilter_h
42 template <
class TInputLabelMap,
class TOutputSampleList,
class TOutputTrainingSampleList,
43 class TMeasurementFunctor =
44 Functor::AttributesMapMeasurementFunctor<typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType>>
89 m_MeasurementFunctor = functor;
94 return m_MeasurementFunctor;
101 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
103 void GenerateData()
override;
106 DataObjectPointerType MakeOutput(DataObjectPointerArraySizeType idx)
override;
107 using Superclass::MakeOutput;
119 #ifndef OTB_MANUAL_INSTANTIATION
This class converts a LabelObjectMap to a SampleList for learning and classification.
Superclass::DataObjectPointer DataObjectPointerType
This class converts a LabelObjectMap with some class labeled objects to a SampleList and a TrainingSa...
itk::SmartPointer< const Self > ConstPointer
LabelMapWithClassLabelToLabeledSampleListFilter(const Self &)=delete
TOutputTrainingSampleList OutputTrainingSampleListType
InputLabelMapType::ConstIterator ConstIteratorType
InputLabelMapType::ConstPointer InputLabelMapConstPointerType
OutputSampleListType::MeasurementVectorType MeasurementVectorType
TInputLabelMap InputLabelMapType
void SetMeasurementFunctor(const MeasurementFunctorType &functor)
void operator=(const Self &)=delete
TMeasurementFunctor MeasurementFunctorType
itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
InputLabelMapType::LabelObjectType LabelObjectType
TOutputSampleList OutputSampleListType
itk::SmartPointer< Self > Pointer
LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor > Superclass
MeasurementFunctorType m_MeasurementFunctor
LabelMapWithClassLabelToLabeledSampleListFilter Self
OutputTrainingSampleListType::MeasurementVectorType TraningVectorType
OutputTrainingSampleListType::Pointer OutputTrainingSampleListPointerType
Superclass::DataObjectPointerType DataObjectPointerType
MeasurementFunctorType & GetMeasurementFunctor()
OutputSampleListType::Pointer OutputSampleListPointerType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.