OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap > Class Template Reference

#include <otbSOMbasedImageFilter.h>

+ Inheritance diagram for otb::Functor::SOMbasedImageFilterFunctor< TInput, TOutput, TDistanceMetric, TMap >:

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
 

Public Member Functions

DistanceTypeGetDistance ()
 
TOutput operator() (const TInput &input)
 
 SOMbasedImageFilterFunctor ()
 
virtual ~SOMbasedImageFilterFunctor ()
 
MapTypeGetMap () const
 
void SetMap (const MapType *theMap)
 

Protected Member Functions

IndexType GetWinner (const NeuronType &sample)
 

Protected Attributes

DistancePointerType m_Distance
 
MapPointerType m_Map
 

Private Member Functions

void operator= (const Self &)
 
 SOMbasedImageFilterFunctor (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 42 of file otbSOMbasedImageFilter.h.

Member Typedef Documentation

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

Definition at line 53 of file otbSOMbasedImageFilter.h.

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

Definition at line 52 of file otbSOMbasedImageFilter.h.

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

Definition at line 49 of file otbSOMbasedImageFilter.h.

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

Definition at line 48 of file otbSOMbasedImageFilter.h.

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

Definition at line 47 of file otbSOMbasedImageFilter.h.

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

Definition at line 50 of file otbSOMbasedImageFilter.h.

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

Standard typedefs

Definition at line 46 of file otbSOMbasedImageFilter.h.

Constructor & Destructor Documentation

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

Standard Constructor

Definition at line 56 of file otbSOMbasedImageFilter.h.

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

Standard Constructor

Definition at line 57 of file otbSOMbasedImageFilter.h.

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

Member Function Documentation

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 69 of file otbSOMbasedImageFilter.h.

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 64 of file otbSOMbasedImageFilter.h.

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 51 of file otbSOMbasedImageFilter.hxx.

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.

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

Get/Set the Map

Definition at line 42 of file otbSOMbasedImageFilter.hxx.

Member Data Documentation

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

Definition at line 77 of file otbSOMbasedImageFilter.h.

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

Definition at line 76 of file otbSOMbasedImageFilter.h.


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