OTB
9.0.0
Orfeo Toolbox
|
#include <otbStatisticsAttributesLabelMapFilter.h>
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 |
Functor to compute statistics attributes of one LabelObject.
Definition at line 42 of file otbStatisticsAttributesLabelMapFilter.h.
typedef LabelObjectType::ConstLineIterator otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::ConstLineIteratorType |
Const iterator over LabelObject lines
Definition at line 60 of file otbStatisticsAttributesLabelMapFilter.h.
typedef TFeatureImage::PixelType otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::FeatureType |
Typedef of the feature image type.
Definition at line 54 of file otbStatisticsAttributesLabelMapFilter.h.
typedef TLabelObject otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::LabelObjectType |
Typedef of the label object.
Definition at line 57 of file otbStatisticsAttributesLabelMapFilter.h.
typedef itk::Matrix<double, TFeatureImage::ImageDimension, TFeatureImage::ImageDimension> otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::MatrixType |
Definition at line 49 of file otbStatisticsAttributesLabelMapFilter.h.
typedef StatisticsAttributesLabelObjectFunctor otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::Self |
Definition at line 46 of file otbStatisticsAttributesLabelMapFilter.h.
typedef itk::Vector<double, TFeatureImage::ImageDimension> otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::VectorType |
Definition at line 51 of file otbStatisticsAttributesLabelMapFilter.h.
otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::StatisticsAttributesLabelObjectFunctor |
Constructor
Definition at line 36 of file otbStatisticsAttributesLabelMapFilter.hxx.
|
virtual |
Destructor
Definition at line 43 of file otbStatisticsAttributesLabelMapFilter.hxx.
const TFeatureImage * otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::GetFeatureImage |
Get the feature image
Definition at line 328 of file otbStatisticsAttributesLabelMapFilter.hxx.
const std::string & otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::GetFeatureName |
Get the feature name
Definition at line 314 of file otbStatisticsAttributesLabelMapFilter.hxx.
bool otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::GetReducedAttributeSet |
Get the reduced attribute set
Definition at line 342 of file otbStatisticsAttributesLabelMapFilter.hxx.
bool otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::operator!= | ( | const Self & | self | ) |
The comparators
Definition at line 49 of file otbStatisticsAttributesLabelMapFilter.hxx.
|
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.
bool otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::operator== | ( | const Self & | self | ) |
The comparators
Definition at line 62 of file otbStatisticsAttributesLabelMapFilter.hxx.
void otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::SetFeatureImage | ( | const TFeatureImage * | img | ) |
Set the feature image
Definition at line 321 of file otbStatisticsAttributesLabelMapFilter.hxx.
Referenced by otb::Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > >::AddFeature().
void otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::SetFeatureName | ( | const std::string & | name | ) |
Set the name of the feature
Definition at line 307 of file otbStatisticsAttributesLabelMapFilter.hxx.
Referenced by otb::Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > >::AddFeature().
void otb::Functor::StatisticsAttributesLabelObjectFunctor< TLabelObject, TFeatureImage >::SetReducedAttributeSet | ( | bool | flag | ) |
Set the reduced attribute set
Definition at line 335 of file otbStatisticsAttributesLabelMapFilter.hxx.
Referenced by otb::Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > >::AddFeature().
|
private |
The comparators
Definition at line 101 of file otbStatisticsAttributesLabelMapFilter.h.
|
private |
The comparators
Definition at line 98 of file otbStatisticsAttributesLabelMapFilter.h.
|
private |
The comparators
Definition at line 104 of file otbStatisticsAttributesLabelMapFilter.h.