OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | 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 ()
 
virtual ~NormalizeAttributesLabelObjectFunctor ()
 
AttributesMapType m_Min
 
AttributesMapType m_Max
 
bool operator!= (const Self &self)
 
bool operator== (const Self &self)
 
void operator() (LabelObjectType *lo) const
 
void SetMinAttributesValues (const AttributesMapType &minValues)
 
void SetMaxAttributesValues (const AttributesMapType &maxValues)
 

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

◆ AttributesMapType

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

Definition at line 53 of file otbNormalizeAttributesLabelMapFilter.h.

◆ AttributesValueType

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

Definition at line 54 of file otbNormalizeAttributesLabelMapFilter.h.

◆ LabelObjectType

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

LabelObject typedef

Definition at line 52 of file otbNormalizeAttributesLabelMapFilter.h.

◆ Self

Self typedef

Definition at line 49 of file otbNormalizeAttributesLabelMapFilter.h.

Constructor & Destructor Documentation

◆ NormalizeAttributesLabelObjectFunctor()

Constructor

Definition at line 34 of file otbNormalizeAttributesLabelMapFilter.hxx.

◆ ~NormalizeAttributesLabelObjectFunctor()

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

Destructor

Definition at line 60 of file otbNormalizeAttributesLabelMapFilter.h.

Member Function Documentation

◆ operator!=()

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

The comparators

The comparator (!=)

Definition at line 40 of file otbNormalizeAttributesLabelMapFilter.hxx.

◆ operator()()

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 55 of file otbNormalizeAttributesLabelMapFilter.hxx.

◆ operator==()

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

The comparator (==)

Definition at line 49 of file otbNormalizeAttributesLabelMapFilter.hxx.

◆ SetMaxAttributesValues()

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

The comparators

The comparator (!=)

Definition at line 79 of file otbNormalizeAttributesLabelMapFilter.h.

◆ SetMinAttributesValues()

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

The comparators

The comparator (!=)

Definition at line 74 of file otbNormalizeAttributesLabelMapFilter.h.

Member Data Documentation

◆ m_Max

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

◆ m_Min

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

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