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 <otbBandsStatisticsAttributesLabelMapFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TFeatureImage FeatureImageType
 
typedef FeatureImageType::InternalPixelType FeatureInternalPixelType
 
typedef Functor::BandStatsAttributesLabelObjectFunctor< LabelObjectType, InternalImageTypeFunctorType
 
typedef ImageType::Pointer ImagePointer
 
typedef TImage ImageType
 
typedef ImageType::RegionType InputImageRegionType
 
typedef Image< InternalPrecisionType, 2 > InternalImageType
 
typedef double InternalPrecisionType
 
typedef ImageType::LabelObjectType LabelObjectType
 
typedef itk::SmartPointer< SelfPointer
 
typedef BandsStatisticsAttributesLabelMapFilter Self
 
typedef LabelMapFeaturesFunctorImageFilter< ImageType, FunctorTypeSuperclass
 
- Public Types inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > > >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > > 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
 
virtual const char * GetNameOfClass () const
 
virtual void ReducedAttributeSetOff ()
 
virtual void ReducedAttributeSetOn ()
 
void SetFeatureImage (const TFeatureImage *input)
 
- Public Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > > >
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::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > > >
static const unsigned int ImageDimension
 

Protected Member Functions

 BandsStatisticsAttributesLabelMapFilter ()
 
void EnlargeOutputRequestedRegion (itk::DataObject *) override
 
 ~BandsStatisticsAttributesLabelMapFilter () override
 
- Protected Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::BandStatsAttributesLabelObjectFunctor< TImage::LabelObjectType, otb::Image< double, 2 > > >
 LabelMapFeaturesFunctorImageFilter ()
 
 ~LabelMapFeaturesFunctorImageFilter () override
 
void ThreadedProcessLabelObject (LabelObjectType *labelObject) override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 

Private Member Functions

 BandsStatisticsAttributesLabelMapFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 
void SetReducedAttributeSet (bool flag)
 
bool GetReducedAttributeSet () const
 
void AllocateOutputs () override
 
void GenerateInputRequestedRegion () override
 
void BeforeThreadedGenerateData () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 

Detailed Description

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

This filter computes band statistics attributes for each object.

Images are supposed to be compatible with otb::VectorImage

This filter internally applies the StatisticsAttributesLabelMapFilter on each channel independently

The feature name is constructed as: 'STATS' + '::' + 'Band' + band_index + '::' + statistic_name

The ReducedAttributesSet flag allows telling the internal statistics filter to compute only the main attributes (mean, variance, skewness and kurtosis).

See also
MultiStatsAttributesLabelObjectFunctor AttributesMapLabelObject

Definition at line 139 of file otbBandsStatisticsAttributesLabelMapFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

◆ FeatureImageType

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

◆ FeatureInternalPixelType

template<class TImage , class TFeatureImage >
typedef FeatureImageType::InternalPixelType otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::FeatureInternalPixelType

◆ FunctorType

Functor typedef

Definition at line 154 of file otbBandsStatisticsAttributesLabelMapFilter.h.

◆ ImagePointer

template<class TImage , class TFeatureImage >
typedef ImageType::Pointer otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::ImagePointer

◆ ImageType

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

Some convenient typedefs.

Definition at line 145 of file otbBandsStatisticsAttributesLabelMapFilter.h.

◆ InputImageRegionType

template<class TImage , class TFeatureImage >
typedef ImageType::RegionType otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::InputImageRegionType

◆ InternalImageType

template<class TImage , class TFeatureImage >
typedef Image<InternalPrecisionType, 2> otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::InternalImageType

◆ InternalPrecisionType

template<class TImage , class TFeatureImage >
typedef double otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::InternalPrecisionType

◆ LabelObjectType

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

◆ Pointer

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

◆ Self

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

Standard class typedefs.

Definition at line 157 of file otbBandsStatisticsAttributesLabelMapFilter.h.

◆ Superclass

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

Constructor & Destructor Documentation

◆ BandsStatisticsAttributesLabelMapFilter() [1/2]

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

Constructor

Definition at line 149 of file otbBandsStatisticsAttributesLabelMapFilter.hxx.

◆ ~BandsStatisticsAttributesLabelMapFilter()

template<class TImage , class TFeatureImage >
otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::~BandsStatisticsAttributesLabelMapFilter ( )
inlineoverrideprotected

Destructor

Definition at line 191 of file otbBandsStatisticsAttributesLabelMapFilter.h.

◆ BandsStatisticsAttributesLabelMapFilter() [2/2]

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

Member Function Documentation

◆ AllocateOutputs()

template<class TImage , class TFeatureImage >
void otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::AllocateOutputs
overrideprotected

Set the reduced attribute set

Definition at line 191 of file otbBandsStatisticsAttributesLabelMapFilter.hxx.

◆ BeforeThreadedGenerateData()

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

Before threaded data generation

Definition at line 240 of file otbBandsStatisticsAttributesLabelMapFilter.hxx.

◆ CreateAnother()

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

◆ EnlargeOutputRequestedRegion()

template<class TImage , class TFeatureImage >
void otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::EnlargeOutputRequestedRegion ( itk::DataObject *  )
inlineoverrideprotected

◆ GenerateInputRequestedRegion()

template<class TImage , class TFeatureImage >
void otb::BandsStatisticsAttributesLabelMapFilter< TImage, TFeatureImage >::GenerateInputRequestedRegion
overrideprotected

Set the reduced attribute set

Definition at line 233 of file otbBandsStatisticsAttributesLabelMapFilter.hxx.

◆ GetFeatureImage()

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

Get the feature image

Definition at line 165 of file otbBandsStatisticsAttributesLabelMapFilter.hxx.

◆ GetNameOfClass()

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

Runtime information support.

◆ GetReducedAttributeSet()

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

◆ New()

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

Standard New method.

◆ operator=()

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

◆ PrintSelf()

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

PrintSelf method

Definition at line 268 of file otbBandsStatisticsAttributesLabelMapFilter.hxx.

◆ ReducedAttributeSetOff()

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

◆ ReducedAttributeSetOn()

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

◆ SetFeatureImage()

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

Set the feature image

Definition at line 156 of file otbBandsStatisticsAttributesLabelMapFilter.hxx.

◆ SetReducedAttributeSet()

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

Member Data Documentation

◆ ImageDimension

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

ImageDimension constants

Definition at line 164 of file otbBandsStatisticsAttributesLabelMapFilter.h.


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