OTB  9.0.0
Orfeo Toolbox
Public Types | List of all members
otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap > Class Template Reference

#include <otbSOMbasedImageFilter.h>

Public Types

typedef DistanceType::Pointer DistancePointerType
 
typedef TDistanceMetric DistanceType
 
typedef MapType::IndexType IndexType
 
typedef MapType::Pointer MapPointerType
 
typedef TMap MapType
 
typedef MapType::PixelType NeuronType
 
typedef SOMbasedImageFilterFunctor Self
 
MapPointerType m_Map
 
DistancePointerType m_Distance
 
 SOMbasedImageFilterFunctor ()
 
virtual ~SOMbasedImageFilterFunctor ()
 
TOutput operator() (const TInput &input)
 
MapTypeGetMap () const
 
void SetMap (const MapType *theMap)
 
DistanceTypeGetDistance ()
 
IndexType GetWinner (const NeuronType &sample)
 
 SOMbasedImageFilterFunctor (const Self &)
 
void operator= (const Self &)
 

Detailed Description

template<class TInput, class TOutput, class TDistanceMetric, class TMap>
class otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >

This class implements the functor that perform substitution between input image pixels and the corresponding winning neurons of a Kohonen map.

On the contrary to SOMClassifier, it does not yield labels but the value of the winning neurons. Also, it is threaded...

Definition at line 44 of file otbSOMbasedImageFilter.h.

Member Typedef Documentation

◆ DistancePointerType

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
typedef DistanceType::Pointer otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::DistancePointerType

Definition at line 55 of file otbSOMbasedImageFilter.h.

◆ DistanceType

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
typedef TDistanceMetric otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::DistanceType

Definition at line 54 of file otbSOMbasedImageFilter.h.

◆ IndexType

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
typedef MapType::IndexType otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::IndexType

Definition at line 51 of file otbSOMbasedImageFilter.h.

◆ MapPointerType

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
typedef MapType::Pointer otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::MapPointerType

Definition at line 50 of file otbSOMbasedImageFilter.h.

◆ MapType

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
typedef TMap otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::MapType

Definition at line 49 of file otbSOMbasedImageFilter.h.

◆ NeuronType

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
typedef MapType::PixelType otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::NeuronType

Definition at line 52 of file otbSOMbasedImageFilter.h.

◆ Self

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
typedef SOMbasedImageFilterFunctor otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::Self

Standard typedefs

Definition at line 48 of file otbSOMbasedImageFilter.h.

Constructor & Destructor Documentation

◆ SOMbasedImageFilterFunctor() [1/2]

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::SOMbasedImageFilterFunctor ( )
inline

Standard Constructor

Definition at line 58 of file otbSOMbasedImageFilter.h.

◆ ~SOMbasedImageFilterFunctor()

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
virtual otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::~SOMbasedImageFilterFunctor ( )
inlinevirtual

Standard Constructor

Definition at line 61 of file otbSOMbasedImageFilter.h.

◆ SOMbasedImageFilterFunctor() [2/2]

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::SOMbasedImageFilterFunctor ( const Self )
private

Standard Constructor

Member Function Documentation

◆ GetDistance()

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
DistanceType* otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::GetDistance ( )
inline

Get the DistanceMetric

Definition at line 78 of file otbSOMbasedImageFilter.h.

◆ GetMap()

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
MapType* otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::GetMap ( ) const
inline

Get/Set the Map

Definition at line 70 of file otbSOMbasedImageFilter.h.

◆ GetWinner()

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::IndexType otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::GetWinner ( const NeuronType sample)
protected

GetWinner redefinition by using its own TDistanceMetric that could be different from the one of the SOM map

Definition at line 48 of file otbSOMbasedImageFilter.hxx.

◆ operator()()

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
TOutput otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::operator() ( const TInput &  input)

Functor

Definition at line 34 of file otbSOMbasedImageFilter.hxx.

◆ operator=()

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
void otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::operator= ( const Self )
private

Standard Constructor

◆ SetMap()

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
void otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::SetMap ( const MapType theMap)

Standard Constructor

Definition at line 40 of file otbSOMbasedImageFilter.hxx.

Member Data Documentation

◆ m_Distance

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
DistancePointerType otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::m_Distance
protected

Standard Constructor

Definition at line 89 of file otbSOMbasedImageFilter.h.

◆ m_Map

template<class TInput , class TOutput , class TDistanceMetric , class TMap >
MapPointerType otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >::m_Map
protected

Standard Constructor

Definition at line 88 of file otbSOMbasedImageFilter.h.


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