OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::LabelMapClassifier< TInputLabelMap > Class Template Reference

#include <otbLabelMapClassifier.h>

+ Inheritance diagram for otb::LabelMapClassifier< TInputLabelMap >:
+ Collaboration diagram for otb::LabelMapClassifier< TInputLabelMap >:

Public Types

typedef LabelObjectType::AttributesValueType AttributesValueType
 
typedef LabelObjectType::ClassLabelType ClassLabelType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef LabelMapType::ConstPointer LabelMaponstPointer
 
typedef LabelMapType::Pointer LabelMapPointer
 
typedef TInputLabelMap LabelMapType
 
typedef LabelMapType::LabelObjectType LabelObjectType
 
typedef Functor::AttributesMapMeasurementFunctor< LabelObjectType, MeasurementVectorTypeMeasurementFunctorType
 
typedef ModelType::InputSampleType MeasurementVectorType
 
typedef ModelType::Pointer ModelPointer
 
typedef MachineLearningModel< AttributesValueType, ClassLabelTypeModelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef LabelMapClassifier Self
 
typedef itk::InPlaceLabelMapFilter< TInputLabelMap > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
MeasurementFunctorTypeGetMeasurementFunctor ()
 
virtual const char * GetNameOfClass () const
 
void SetMeasurementFunctor (const MeasurementFunctorType &functor)
 
virtual void SetModel (ModelType *_arg)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int InputImageDimension = TInputLabelMap::ImageDimension
 

Protected Member Functions

 LabelMapClassifier ()
 
void ReleaseInputs () override
 
void ThreadedProcessLabelObject (LabelObjectType *labelObject) override
 
 ~LabelMapClassifier () override=default
 

Private Member Functions

 LabelMapClassifier (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

MeasurementFunctorType m_MeasurementFunctor
 
ModelPointer m_Model
 

Detailed Description

template<class TInputLabelMap>
class otb::LabelMapClassifier< TInputLabelMap >

Classify each LabelObject of the input LabelMap in place.

See also
otb::AttributesMapLabelObject
otb::SVMModel
itk::InPlaceLabelMapFilter

Definition at line 42 of file otbLabelMapClassifier.h.

Member Typedef Documentation

◆ AttributesValueType

template<class TInputLabelMap >
typedef LabelObjectType::AttributesValueType otb::LabelMapClassifier< TInputLabelMap >::AttributesValueType

Definition at line 57 of file otbLabelMapClassifier.h.

◆ ClassLabelType

template<class TInputLabelMap >
typedef LabelObjectType::ClassLabelType otb::LabelMapClassifier< TInputLabelMap >::ClassLabelType

Definition at line 58 of file otbLabelMapClassifier.h.

◆ ConstPointer

template<class TInputLabelMap >
typedef itk::SmartPointer<const Self> otb::LabelMapClassifier< TInputLabelMap >::ConstPointer

Definition at line 49 of file otbLabelMapClassifier.h.

◆ LabelMaponstPointer

template<class TInputLabelMap >
typedef LabelMapType::ConstPointer otb::LabelMapClassifier< TInputLabelMap >::LabelMaponstPointer

Definition at line 54 of file otbLabelMapClassifier.h.

◆ LabelMapPointer

template<class TInputLabelMap >
typedef LabelMapType::Pointer otb::LabelMapClassifier< TInputLabelMap >::LabelMapPointer

Definition at line 53 of file otbLabelMapClassifier.h.

◆ LabelMapType

template<class TInputLabelMap >
typedef TInputLabelMap otb::LabelMapClassifier< TInputLabelMap >::LabelMapType

Some convenient typedefs.

Definition at line 52 of file otbLabelMapClassifier.h.

◆ LabelObjectType

template<class TInputLabelMap >
typedef LabelMapType::LabelObjectType otb::LabelMapClassifier< TInputLabelMap >::LabelObjectType

Definition at line 55 of file otbLabelMapClassifier.h.

◆ MeasurementFunctorType

Definition at line 67 of file otbLabelMapClassifier.h.

◆ MeasurementVectorType

template<class TInputLabelMap >
typedef ModelType::InputSampleType otb::LabelMapClassifier< TInputLabelMap >::MeasurementVectorType

Definition at line 66 of file otbLabelMapClassifier.h.

◆ ModelPointer

template<class TInputLabelMap >
typedef ModelType::Pointer otb::LabelMapClassifier< TInputLabelMap >::ModelPointer

Definition at line 65 of file otbLabelMapClassifier.h.

◆ ModelType

template<class TInputLabelMap >
typedef MachineLearningModel<AttributesValueType, ClassLabelType> otb::LabelMapClassifier< TInputLabelMap >::ModelType

Type definitions for the learning model.

Definition at line 64 of file otbLabelMapClassifier.h.

◆ Pointer

template<class TInputLabelMap >
typedef itk::SmartPointer<Self> otb::LabelMapClassifier< TInputLabelMap >::Pointer

Definition at line 48 of file otbLabelMapClassifier.h.

◆ Self

template<class TInputLabelMap >
typedef LabelMapClassifier otb::LabelMapClassifier< TInputLabelMap >::Self

Standard class typedefs.

Definition at line 46 of file otbLabelMapClassifier.h.

◆ Superclass

template<class TInputLabelMap >
typedef itk::InPlaceLabelMapFilter<TInputLabelMap> otb::LabelMapClassifier< TInputLabelMap >::Superclass

Definition at line 47 of file otbLabelMapClassifier.h.

Constructor & Destructor Documentation

◆ LabelMapClassifier() [1/2]

template<class TInputImage >
otb::LabelMapClassifier< TInputImage >::LabelMapClassifier
protected

Definition at line 31 of file otbLabelMapClassifier.hxx.

◆ ~LabelMapClassifier()

template<class TInputLabelMap >
otb::LabelMapClassifier< TInputLabelMap >::~LabelMapClassifier ( )
overrideprotecteddefault

◆ LabelMapClassifier() [2/2]

template<class TInputLabelMap >
otb::LabelMapClassifier< TInputLabelMap >::LabelMapClassifier ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

template<class TInputLabelMap >
virtual::itk::LightObject::Pointer otb::LabelMapClassifier< TInputLabelMap >::CreateAnother ( void  ) const

◆ GetMeasurementFunctor()

template<class TInputLabelMap >
MeasurementFunctorType& otb::LabelMapClassifier< TInputLabelMap >::GetMeasurementFunctor ( )
inline

Definition at line 82 of file otbLabelMapClassifier.h.

◆ GetNameOfClass()

template<class TInputLabelMap >
virtual const char* otb::LabelMapClassifier< TInputLabelMap >::GetNameOfClass ( ) const
virtual

Runtime information support.

◆ New()

template<class TInputLabelMap >
static Pointer otb::LabelMapClassifier< TInputLabelMap >::New ( )
static

Standard New method.

◆ operator=()

template<class TInputLabelMap >
void otb::LabelMapClassifier< TInputLabelMap >::operator= ( const Self )
privatedelete

◆ ReleaseInputs()

template<class TInputImage >
void otb::LabelMapClassifier< TInputImage >::ReleaseInputs
overrideprotected

Definition at line 40 of file otbLabelMapClassifier.hxx.

◆ SetMeasurementFunctor()

template<class TInputLabelMap >
void otb::LabelMapClassifier< TInputLabelMap >::SetMeasurementFunctor ( const MeasurementFunctorType functor)
inline

Definition at line 77 of file otbLabelMapClassifier.h.

◆ SetModel()

template<class TInputLabelMap >
virtual void otb::LabelMapClassifier< TInputLabelMap >::SetModel ( ModelType _arg)
virtual

◆ ThreadedProcessLabelObject()

template<class TInputImage >
void otb::LabelMapClassifier< TInputImage >::ThreadedProcessLabelObject ( LabelObjectType labelObject)
overrideprotected

Definition at line 48 of file otbLabelMapClassifier.hxx.

Member Data Documentation

◆ InputImageDimension

template<class TInputLabelMap >
const unsigned int otb::LabelMapClassifier< TInputLabelMap >::InputImageDimension = TInputLabelMap::ImageDimension
static

ImageDimension constants

Definition at line 61 of file otbLabelMapClassifier.h.

◆ m_MeasurementFunctor

template<class TInputLabelMap >
MeasurementFunctorType otb::LabelMapClassifier< TInputLabelMap >::m_MeasurementFunctor
private

The functor used to build the measurement vector

Definition at line 104 of file otbLabelMapClassifier.h.

◆ m_Model

template<class TInputLabelMap >
ModelPointer otb::LabelMapClassifier< TInputLabelMap >::m_Model
private

The learning model used for classification

Definition at line 101 of file otbLabelMapClassifier.h.


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