OTB  9.0.0
Orfeo Toolbox
Public Types | List of all members
otb::SOMClassifier< TSample, TSOMMap, TLabel > Class Template Reference

#include <otbSOMClassifier.h>

+ Inheritance diagram for otb::SOMClassifier< TSample, TSOMMap, TLabel >:
+ Collaboration diagram for otb::SOMClassifier< TSample, TSOMMap, TLabel >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef SOMClassifier Self
 
typedef itk::ProcessObject Superclass
 
typedef TSample SampleType
 
typedef SampleType::Pointer SamplePointerType
 
typedef SampleType::MeasurementType MeasurementType
 
typedef SampleType::MeasurementVectorType MeasurementVectorType
 
typedef SampleType::MeasurementVectorType::ValueType InputPixelType
 
typedef TSOMMap SOMMapType
 
typedef SOMMapType::Pointer SOMMapPointerType
 
typedef itk::Statistics::MembershipSample< SampleTypeOutputType
 
typedef OutputType::Pointer OutputPointerType
 
typedef TLabel ClassLabelType
 
SamplePointerType m_Sample
 
virtual const char * GetNameOfClass () const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void SetMap (SOMMapType *sommap)
 
SOMMapTypeGetMap (void)
 
virtual void SetSample (SampleType *_arg)
 
 itkGetObjectMacro (Sample, SampleType)
 
OutputTypeGetOutput ()
 
static Pointer New ()
 
 SOMClassifier ()
 
 ~SOMClassifier () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void GenerateData () override
 

Detailed Description

template<class TSample, class TSOMMap, class TLabel>
class otb::SOMClassifier< TSample, TSOMMap, TLabel >

This class implements a SOM-Based classifier.

The classifier iterates on the input list sample, feeding the output membership sample with the one-dimensionnal index of the winner neuron.

Since this classifier differs from the base framework of itk in that it does not use DecisionRule and Memberships function, it derives from itk::ProcessObject instead of itk::SampleClassifierBase.

See also
SOM, SOMMap, SOMActivationBuilder.

Definition at line 47 of file otbSOMClassifier.h.

Member Typedef Documentation

◆ ClassLabelType

template<class TSample , class TSOMMap , class TLabel >
typedef TLabel otb::SOMClassifier< TSample, TSOMMap, TLabel >::ClassLabelType

Label type typedef

Definition at line 77 of file otbSOMClassifier.h.

◆ ConstPointer

template<class TSample , class TSOMMap , class TLabel >
typedef itk::SmartPointer<const Self> otb::SOMClassifier< TSample, TSOMMap, TLabel >::ConstPointer

Definition at line 54 of file otbSOMClassifier.h.

◆ InputPixelType

template<class TSample , class TSOMMap , class TLabel >
typedef SampleType::MeasurementVectorType::ValueType otb::SOMClassifier< TSample, TSOMMap, TLabel >::InputPixelType

typedefs from TSample object

Definition at line 66 of file otbSOMClassifier.h.

◆ MeasurementType

template<class TSample , class TSOMMap , class TLabel >
typedef SampleType::MeasurementType otb::SOMClassifier< TSample, TSOMMap, TLabel >::MeasurementType

typedefs from TSample object

Definition at line 64 of file otbSOMClassifier.h.

◆ MeasurementVectorType

template<class TSample , class TSOMMap , class TLabel >
typedef SampleType::MeasurementVectorType otb::SOMClassifier< TSample, TSOMMap, TLabel >::MeasurementVectorType

typedefs from TSample object

Definition at line 65 of file otbSOMClassifier.h.

◆ OutputPointerType

template<class TSample , class TSOMMap , class TLabel >
typedef OutputType::Pointer otb::SOMClassifier< TSample, TSOMMap, TLabel >::OutputPointerType

typedefs from TSample object

Definition at line 74 of file otbSOMClassifier.h.

◆ OutputType

template<class TSample , class TSOMMap , class TLabel >
typedef itk::Statistics::MembershipSample<SampleType> otb::SOMClassifier< TSample, TSOMMap, TLabel >::OutputType

Output typedefs

Definition at line 73 of file otbSOMClassifier.h.

◆ Pointer

template<class TSample , class TSOMMap , class TLabel >
typedef itk::SmartPointer<Self> otb::SOMClassifier< TSample, TSOMMap, TLabel >::Pointer

Definition at line 53 of file otbSOMClassifier.h.

◆ SamplePointerType

template<class TSample , class TSOMMap , class TLabel >
typedef SampleType::Pointer otb::SOMClassifier< TSample, TSOMMap, TLabel >::SamplePointerType

typedefs from TSample object

Definition at line 63 of file otbSOMClassifier.h.

◆ SampleType

template<class TSample , class TSOMMap , class TLabel >
typedef TSample otb::SOMClassifier< TSample, TSOMMap, TLabel >::SampleType

typedefs from TSample object

Definition at line 58 of file otbSOMClassifier.h.

◆ Self

template<class TSample , class TSOMMap , class TLabel >
typedef SOMClassifier otb::SOMClassifier< TSample, TSOMMap, TLabel >::Self

Standard class typedef

Definition at line 51 of file otbSOMClassifier.h.

◆ SOMMapPointerType

template<class TSample , class TSOMMap , class TLabel >
typedef SOMMapType::Pointer otb::SOMClassifier< TSample, TSOMMap, TLabel >::SOMMapPointerType

typedefs from TSample object

Definition at line 70 of file otbSOMClassifier.h.

◆ SOMMapType

template<class TSample , class TSOMMap , class TLabel >
typedef TSOMMap otb::SOMClassifier< TSample, TSOMMap, TLabel >::SOMMapType

SOM Map typedefs

Definition at line 69 of file otbSOMClassifier.h.

◆ Superclass

template<class TSample , class TSOMMap , class TLabel >
typedef itk::ProcessObject otb::SOMClassifier< TSample, TSOMMap, TLabel >::Superclass

Definition at line 52 of file otbSOMClassifier.h.

Constructor & Destructor Documentation

◆ SOMClassifier()

template<class TSample , class TSOMMap , class TLabel >
otb::SOMClassifier< TSample, TSOMMap, TLabel >::SOMClassifier
protected

Constructor

Definition at line 33 of file otbSOMClassifier.hxx.

◆ ~SOMClassifier()

template<class TSample , class TSOMMap , class TLabel >
otb::SOMClassifier< TSample, TSOMMap, TLabel >::~SOMClassifier ( )
inlineoverrideprotected

Destructor

Definition at line 92 of file otbSOMClassifier.h.

Member Function Documentation

◆ CreateAnother()

template<class TSample , class TSOMMap , class TLabel >
virtual::itk::LightObject::Pointer otb::SOMClassifier< TSample, TSOMMap, TLabel >::CreateAnother ( void  ) const

typedefs from TSample object

◆ GenerateData()

template<class TSample , class TSOMMap , class TLabel >
void otb::SOMClassifier< TSample, TSOMMap, TLabel >::GenerateData
overrideprotected

Starts the classification process

Main computation class.

Definition at line 82 of file otbSOMClassifier.hxx.

References otbMsgDebugMacro.

◆ GetMap()

template<class TSample , class TSOMMap , class TLabel >
SOMClassifier< TSample, TSOMMap, TLabel >::SOMMapType * otb::SOMClassifier< TSample, TSOMMap, TLabel >::GetMap ( void  )

SOMMap getter.

Definition at line 55 of file otbSOMClassifier.hxx.

◆ GetNameOfClass()

template<class TSample , class TSOMMap , class TLabel >
virtual const char* otb::SOMClassifier< TSample, TSOMMap, TLabel >::GetNameOfClass ( ) const
virtual

Standard macros

◆ GetOutput()

template<class TSample , class TSOMMap , class TLabel >
SOMClassifier< TSample, TSOMMap, TLabel >::OutputType * otb::SOMClassifier< TSample, TSOMMap, TLabel >::GetOutput

typedefs from TSample object

Definition at line 46 of file otbSOMClassifier.hxx.

◆ itkGetObjectMacro()

template<class TSample , class TSOMMap , class TLabel >
otb::SOMClassifier< TSample, TSOMMap, TLabel >::itkGetObjectMacro ( Sample  ,
SampleType   
)

typedefs from TSample object

◆ New()

template<class TSample , class TSOMMap , class TLabel >
static Pointer otb::SOMClassifier< TSample, TSOMMap, TLabel >::New ( )
static

typedefs from TSample object

◆ PrintSelf()

template<class TSample , class TSOMMap , class TLabel >
void otb::SOMClassifier< TSample, TSOMMap, TLabel >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

PrintSelf method

Definition at line 73 of file otbSOMClassifier.hxx.

◆ SetMap()

template<class TSample , class TSOMMap , class TLabel >
void otb::SOMClassifier< TSample, TSOMMap, TLabel >::SetMap ( SOMMapType sommap)

Accessors.

SOMMap Setter.

Definition at line 64 of file otbSOMClassifier.hxx.

◆ SetSample()

template<class TSample , class TSOMMap , class TLabel >
virtual void otb::SOMClassifier< TSample, TSOMMap, TLabel >::SetSample ( SampleType _arg)
virtual

typedefs from TSample object

Member Data Documentation

◆ m_Sample

template<class TSample , class TSOMMap , class TLabel >
SamplePointerType otb::SOMClassifier< TSample, TSOMMap, TLabel >::m_Sample
private

The input sample.

Definition at line 104 of file otbSOMClassifier.h.


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