|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbLabelMapClassifier_h
22 #define otbLabelMapClassifier_h
24 #include "itkInPlaceLabelMapFilter.h"
26 #include "itkListSample.h"
41 template <
class TInputLabelMap>
47 typedef itk::InPlaceLabelMapFilter<TInputLabelMap>
Superclass;
61 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputLabelMap::ImageDimension);
79 m_MeasurementFunctor = functor;
84 return m_MeasurementFunctor;
91 void ThreadedProcessLabelObject(LabelObjectType* labelObject)
override;
93 void ReleaseInputs()
override;
98 void operator=(
const Self&) =
delete;
110 #ifndef OTB_MANUAL_INSTANTIATION
ModelType::Pointer ModelPointer
LabelMapType::ConstPointer LabelMaponstPointer
LabelObjectType::ClassLabelType ClassLabelType
LabelMapType::LabelObjectType LabelObjectType
itk::InPlaceLabelMapFilter< TInputLabelMap > Superclass
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
LabelObjectType::AttributesValueType AttributesValueType
TInputLabelMap LabelMapType
LabelMapType::Pointer LabelMapPointer
itk::SmartPointer< Self > Pointer
Functor::AttributesMapMeasurementFunctor< LabelObjectType, MeasurementVectorType > MeasurementFunctorType
MeasurementFunctorType & GetMeasurementFunctor()
itk::SmartPointer< Self > Pointer
MachineLearningModel is the base class for all classifier objects (SVM, KNN, Random Forests,...
itk::SmartPointer< const Self > ConstPointer
void SetMeasurementFunctor(const MeasurementFunctorType &functor)
MachineLearningModel< AttributesValueType, ClassLabelType > ModelType
MeasurementFunctorType m_MeasurementFunctor
ModelType::InputSampleType MeasurementVectorType
Classify each LabelObject of the input LabelMap in place.
MLMSampleTraits< TInputValue >::SampleType InputSampleType