OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | List of all members
otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage > Class Template Reference

#include <otbStatisticsAttributesLabelMapFilter.h>

+ Inheritance diagram for otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >:
+ Collaboration diagram for otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >:

Public Types

typedef LabelObjectType::ConstLineIterator ConstLineIteratorType
 
typedef TFeatureImage::PixelType FeatureType
 
typedef TLabelObject LabelObjectType
 
typedef itk::Matrix< double, TFeatureImage::ImageDimension, TFeatureImage::ImageDimension > MatrixType
 
typedef StatisticsAttributesLabelObjectFunctor Self
 
typedef itk::Vector< double, TFeatureImage::ImageDimension > VectorType
 

Public Member Functions

 StatisticsAttributesLabelObjectFunctor ()
 
virtual ~StatisticsAttributesLabelObjectFunctor ()
 
std::string m_FeatureName
 
TFeatureImage::ConstPointer m_FeatureImage
 
bool m_ReducedAttributeSet
 
bool operator!= (const Self &self)
 
bool operator== (const Self &self)
 
void operator() (LabelObjectType *lo) const
 
void SetFeatureName (const std::string &name)
 
const std::string & GetFeatureName () const
 
void SetFeatureImage (const TFeatureImage *img)
 
const TFeatureImage * GetFeatureImage () const
 
void SetReducedAttributeSet (bool flag)
 
bool GetReducedAttributeSet () const
 

Detailed Description

template<class TLabelObject, class TFeatureImage>
class otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >

Functor to compute statistics attributes of one LabelObject.

See also
StatisticsAttributesLabelMapFilter

Definition at line 42 of file otbStatisticsAttributesLabelMapFilter.h.

Member Typedef Documentation

◆ ConstLineIteratorType

template<class TLabelObject , class TFeatureImage >
typedef LabelObjectType::ConstLineIterator otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::ConstLineIteratorType

Const iterator over LabelObject lines

Definition at line 60 of file otbStatisticsAttributesLabelMapFilter.h.

◆ FeatureType

template<class TLabelObject , class TFeatureImage >
typedef TFeatureImage::PixelType otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::FeatureType

Typedef of the feature image type.

Definition at line 54 of file otbStatisticsAttributesLabelMapFilter.h.

◆ LabelObjectType

template<class TLabelObject , class TFeatureImage >
typedef TLabelObject otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::LabelObjectType

Typedef of the label object.

Definition at line 57 of file otbStatisticsAttributesLabelMapFilter.h.

◆ MatrixType

template<class TLabelObject , class TFeatureImage >
typedef itk::Matrix<double, TFeatureImage::ImageDimension, TFeatureImage::ImageDimension> otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::MatrixType

Definition at line 49 of file otbStatisticsAttributesLabelMapFilter.h.

◆ Self

template<class TLabelObject , class TFeatureImage >
typedef StatisticsAttributesLabelObjectFunctor otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::Self

Definition at line 46 of file otbStatisticsAttributesLabelMapFilter.h.

◆ VectorType

template<class TLabelObject , class TFeatureImage >
typedef itk::Vector<double, TFeatureImage::ImageDimension> otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::VectorType

Definition at line 51 of file otbStatisticsAttributesLabelMapFilter.h.

Constructor & Destructor Documentation

◆ StatisticsAttributesLabelObjectFunctor()

template<class TLabelObject , class TFeatureImage >
otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::StatisticsAttributesLabelObjectFunctor

Constructor

Definition at line 36 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ ~StatisticsAttributesLabelObjectFunctor()

template<class TLabelObject , class TFeatureImage >
otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::~StatisticsAttributesLabelObjectFunctor
virtual

Destructor

Definition at line 43 of file otbStatisticsAttributesLabelMapFilter.hxx.

Member Function Documentation

◆ GetFeatureImage()

template<class TLabelObject , class TFeatureImage >
const TFeatureImage * otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::GetFeatureImage

Get the feature image

Definition at line 328 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ GetFeatureName()

template<class TLabelObject , class TFeatureImage >
const std::string & otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::GetFeatureName

Get the feature name

Definition at line 314 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ GetReducedAttributeSet()

template<class TLabelObject , class TFeatureImage >
bool otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::GetReducedAttributeSet

Get the reduced attribute set

Definition at line 342 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ operator!=()

template<class TLabelObject , class TFeatureImage >
bool otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::operator!= ( const Self self)

The comparators

Definition at line 49 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ operator()()

template<class TLabelObject , class TFeatureImage >
void otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::operator() ( LabelObjectType lo) const
inline

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

Definition at line 72 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ operator==()

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

The comparators

Definition at line 62 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ SetFeatureImage()

template<class TLabelObject , class TFeatureImage >
void otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::SetFeatureImage ( const TFeatureImage *  img)

◆ SetFeatureName()

template<class TLabelObject , class TFeatureImage >
void otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::SetFeatureName ( const std::string &  name)

◆ SetReducedAttributeSet()

template<class TLabelObject , class TFeatureImage >
void otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::SetReducedAttributeSet ( bool  flag)

Member Data Documentation

◆ m_FeatureImage

template<class TLabelObject , class TFeatureImage >
TFeatureImage::ConstPointer otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::m_FeatureImage
private

The comparators

Definition at line 101 of file otbStatisticsAttributesLabelMapFilter.h.

◆ m_FeatureName

template<class TLabelObject , class TFeatureImage >
std::string otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::m_FeatureName
private

The comparators

Definition at line 98 of file otbStatisticsAttributesLabelMapFilter.h.

◆ m_ReducedAttributeSet

template<class TLabelObject , class TFeatureImage >
bool otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::m_ReducedAttributeSet
private

The comparators

Definition at line 104 of file otbStatisticsAttributesLabelMapFilter.h.


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