OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | List of all members

#include <otbStatisticsAttributesLabelMapFilter.h>

+ Inheritance diagram for otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >:
+ Collaboration diagram for otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TFeatureImage FeatureImageType
 
typedef Functor::StatisticsAttributesLabelObjectFunctor< LabelObjectType, FeatureImageTypeFunctorType
 
typedef TImage ImageType
 
typedef ImageType::LabelObjectType LabelObjectType
 
typedef itk::SmartPointer< SelfPointer
 
typedef StatisticsAttributesLabelMapFilter Self
 
typedef LabelMapFeaturesFunctorImageFilter< ImageType, FunctorTypeSuperclass
 
- Public Types inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::StatisticsAttributesLabelObjectFunctor< TImage::LabelObjectType, TFeatureImage > >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Functor::StatisticsAttributesLabelObjectFunctor< TImage::LabelObjectType, TFeatureImage > FunctorType
 
typedef TImage ImageType
 
typedef ImageType::LabelObjectType LabelObjectType
 
typedef itk::SmartPointer< SelfPointer
 
typedef LabelMapFeaturesFunctorImageFilter Self
 
typedef itk::InPlaceLabelMapFilter< TImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const FeatureImageTypeGetFeatureImage () const
 
const std::string & GetFeatureName () const
 
const TImage * GetInput1 () const
 
const TFeatureImage * GetInput2 () const
 
virtual const char * GetNameOfClass () const
 
bool GetReducedAttributeSet () const
 
virtual void ReducedAttributeSetOff ()
 
virtual void ReducedAttributeSetOn ()
 
void SetFeatureImage (const TFeatureImage *input)
 
void SetFeatureName (const std::string &name)
 
void SetInput1 (const TImage *input)
 
void SetInput2 (const TFeatureImage *input)
 
void SetReducedAttributeSet (bool flag)
 
- Public Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::StatisticsAttributesLabelObjectFunctor< TImage::LabelObjectType, TFeatureImage > >
virtual const char * GetNameOfClass () const
 
void SetFunctor (FunctorType &functor)
 
const FunctorTypeGetFunctor () const
 
FunctorTypeGetFunctor ()
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 
- Static Public Attributes inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::StatisticsAttributesLabelObjectFunctor< TImage::LabelObjectType, TFeatureImage > >
static const unsigned int ImageDimension
 

Protected Member Functions

void BeforeThreadedGenerateData () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 StatisticsAttributesLabelMapFilter ()
 
 ~StatisticsAttributesLabelMapFilter () override
 
- Protected Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::StatisticsAttributesLabelObjectFunctor< TImage::LabelObjectType, TFeatureImage > >
 LabelMapFeaturesFunctorImageFilter ()
 
 ~LabelMapFeaturesFunctorImageFilter () override
 
void ThreadedProcessLabelObject (LabelObjectType *labelObject) override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 

Private Member Functions

void operator= (const Self &)=delete
 
 StatisticsAttributesLabelMapFilter (const Self &)=delete
 

Detailed Description

template<class TImage, class TFeatureImage>
class otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >

This class is a fork of itk::StasticsLabelMapFilter to support AttributesMapLabelObject.

To be able to support statistics attributes for multiple features into the same AttributesMapLabelObject, a feature name can be set. The key of the statistics features in the attributes map will be "STATS::FeatureName::StatisticName".

The flag ReducedAttributesSet allows computing only non-redundant statistics and statistics useful for classification (not spatially dependent statitistics). Reduced set contains only mean, variance, skewness and kurtosis.

See also
itk::StatisticsLabelMapFilter

Definition at line 128 of file otbStatisticsAttributesLabelMapFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TImage , class TFeatureImage >
typedef itk::SmartPointer<const Self> otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::ConstPointer

Definition at line 145 of file otbStatisticsAttributesLabelMapFilter.h.

◆ FeatureImageType

template<class TImage , class TFeatureImage >
typedef TFeatureImage otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::FeatureImageType

Definition at line 136 of file otbStatisticsAttributesLabelMapFilter.h.

◆ FunctorType

template<class TImage , class TFeatureImage >
typedef Functor::StatisticsAttributesLabelObjectFunctor<LabelObjectType, FeatureImageType> otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::FunctorType

Functor typedef

Definition at line 139 of file otbStatisticsAttributesLabelMapFilter.h.

◆ ImageType

template<class TImage , class TFeatureImage >
typedef TImage otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::ImageType

Some convenient typedefs.

Definition at line 134 of file otbStatisticsAttributesLabelMapFilter.h.

◆ LabelObjectType

template<class TImage , class TFeatureImage >
typedef ImageType::LabelObjectType otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::LabelObjectType

Definition at line 135 of file otbStatisticsAttributesLabelMapFilter.h.

◆ Pointer

template<class TImage , class TFeatureImage >
typedef itk::SmartPointer<Self> otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::Pointer

Definition at line 144 of file otbStatisticsAttributesLabelMapFilter.h.

◆ Self

template<class TImage , class TFeatureImage >
typedef StatisticsAttributesLabelMapFilter otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::Self

Standard class typedefs.

Definition at line 142 of file otbStatisticsAttributesLabelMapFilter.h.

◆ Superclass

template<class TImage , class TFeatureImage >
typedef LabelMapFeaturesFunctorImageFilter<ImageType, FunctorType> otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::Superclass

Definition at line 143 of file otbStatisticsAttributesLabelMapFilter.h.

Constructor & Destructor Documentation

◆ StatisticsAttributesLabelMapFilter() [1/2]

template<class TImage , class TFeatureImage >
otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::StatisticsAttributesLabelMapFilter
protected

Constructor

Definition at line 350 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ ~StatisticsAttributesLabelMapFilter()

template<class TImage , class TFeatureImage >
otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::~StatisticsAttributesLabelMapFilter
overrideprotected

Destructor

Definition at line 355 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ StatisticsAttributesLabelMapFilter() [2/2]

template<class TImage , class TFeatureImage >
otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::StatisticsAttributesLabelMapFilter ( const Self )
privatedelete

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::BeforeThreadedGenerateData
overrideprotected

Before threaded data generation

Definition at line 444 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ CreateAnother()

template<class TImage , class TFeatureImage >
virtual::itk::LightObject::Pointer otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::CreateAnother ( void  ) const

◆ GetFeatureImage()

template<class TImage , class TFeatureImage >
const StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::FeatureImageType * otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetFeatureImage

Get the feature image

Definition at line 370 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ GetFeatureName()

template<class TImage , class TFeatureImage >
const std::string & otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetFeatureName

◆ GetInput1()

template<class TImage , class TFeatureImage >
const TImage * otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetInput1

Get Input1 (for backward compatibility)

Definition at line 384 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ GetInput2()

template<class TImage , class TFeatureImage >
const TFeatureImage * otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetInput2

Get Input2 (for backward compatibility)

Definition at line 398 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ GetNameOfClass()

template<class TImage , class TFeatureImage >
virtual const char* otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

◆ GetReducedAttributeSet()

template<class TImage , class TFeatureImage >
bool otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GetReducedAttributeSet

◆ New()

template<class TImage , class TFeatureImage >
static Pointer otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::New ( )
static

Standard New method.

◆ operator=()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::operator= ( const Self )
privatedelete

◆ PrintSelf()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

PrintSelf method

Definition at line 454 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ ReducedAttributeSetOff()

template<class TImage , class TFeatureImage >
virtual void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::ReducedAttributeSetOff ( )
virtual

◆ ReducedAttributeSetOn()

template<class TImage , class TFeatureImage >
virtual void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::ReducedAttributeSetOn ( )
virtual

◆ SetFeatureImage()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::SetFeatureImage ( const TFeatureImage *  input)

Set the feature image

Definition at line 361 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ SetFeatureName()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::SetFeatureName ( const std::string &  name)

◆ SetInput1()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::SetInput1 ( const TImage *  input)

Set Input1 (for backward compatibility)

Definition at line 377 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ SetInput2()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::SetInput2 ( const TFeatureImage *  input)

Set Input2 (for backward compatibility)

Definition at line 391 of file otbStatisticsAttributesLabelMapFilter.hxx.

◆ SetReducedAttributeSet()

template<class TImage , class TFeatureImage >
void otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::SetReducedAttributeSet ( bool  flag)

Member Data Documentation

◆ ImageDimension

template<class TImage , class TFeatureImage >
const unsigned int otb::StatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::ImageDimension = TImage::ImageDimension
static

ImageDimension constants

Definition at line 148 of file otbStatisticsAttributesLabelMapFilter.h.


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