OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Private Attributes | List of all members
otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject > Class Template Reference

#include <otbNormalizeAttributesLabelMapFilter.h>

+ Inheritance diagram for otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >:

Public Types

typedef
LabelObjectType::AttributesMapType 
AttributesMapType
 
typedef
LabelObjectType::AttributesValueType 
AttributesValueType
 
typedef TLabelObject LabelObjectType
 
typedef
NormalizeAttributesLabelObjectFunctor 
Self
 

Public Member Functions

 NormalizeAttributesLabelObjectFunctor ()
 
void operator() (LabelObjectType *lo) const
 
void SetMaxAttributesValues (const AttributesMapType &maxValues)
 
void SetMinAttributesValues (const AttributesMapType &minValues)
 
virtual ~NormalizeAttributesLabelObjectFunctor ()
 
bool operator!= (const Self &self)
 
bool operator== (const Self &self)
 

Private Attributes

AttributesMapType m_Max
 
AttributesMapType m_Min
 

Detailed Description

template<class TLabelObject>
class otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >

Functor to normalize all attributes of a LabelMap.

Given the minimum and maximum of all attributes (which can be computed with MinMaxAttributesLabelMapFilter), this filter rescale the attributes such that all attributes are in [0, 1] interval

See Also
MinMaxAttributesLabelMapFilter

Definition at line 45 of file otbNormalizeAttributesLabelMapFilter.h.

Member Typedef Documentation

template<class TLabelObject>
typedef LabelObjectType::AttributesMapType otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::AttributesMapType

Definition at line 53 of file otbNormalizeAttributesLabelMapFilter.h.

template<class TLabelObject>
typedef LabelObjectType::AttributesValueType otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::AttributesValueType

Definition at line 54 of file otbNormalizeAttributesLabelMapFilter.h.

template<class TLabelObject>
typedef TLabelObject otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::LabelObjectType

LabelObject typedef

Definition at line 52 of file otbNormalizeAttributesLabelMapFilter.h.

Self typedef

Definition at line 49 of file otbNormalizeAttributesLabelMapFilter.h.

Constructor & Destructor Documentation

Constructor

Definition at line 33 of file otbNormalizeAttributesLabelMapFilter.hxx.

template<class TLabelObject>
virtual otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::~NormalizeAttributesLabelObjectFunctor ( )
inlinevirtual

Destructor

Definition at line 60 of file otbNormalizeAttributesLabelMapFilter.h.

Member Function Documentation

template<class TLabelObject >
bool otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::operator!= ( const Self other)
template<class TLabelObject >
void otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::operator() ( LabelObjectType lo) const
inline

This is the functor implementation Calling the functor on a label object will update its shape attributes

Definition at line 59 of file otbNormalizeAttributesLabelMapFilter.hxx.

template<class TLabelObject >
bool otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::operator== ( const Self self)

The comparator (==)

Definition at line 51 of file otbNormalizeAttributesLabelMapFilter.hxx.

template<class TLabelObject>
void otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::SetMaxAttributesValues ( const AttributesMapType maxValues)
inline

Definition at line 77 of file otbNormalizeAttributesLabelMapFilter.h.

template<class TLabelObject>
void otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::SetMinAttributesValues ( const AttributesMapType minValues)
inline

Definition at line 72 of file otbNormalizeAttributesLabelMapFilter.h.

Member Data Documentation

template<class TLabelObject>
AttributesMapType otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::m_Max
private
template<class TLabelObject>
AttributesMapType otb::Functor::NormalizeAttributesLabelObjectFunctor< TLabelObject >::m_Min
private

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