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

#include <otbLabelMapFeaturesFunctorImageFilter.h>

+ Inheritance diagram for otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >:
+ Collaboration diagram for otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TFunctor FunctorType
 
typedef TImage ImageType
 
typedef ImageType::LabelObjectType LabelObjectType
 
typedef itk::SmartPointer< SelfPointer
 
typedef LabelMapFeaturesFunctorImageFilter Self
 
typedef itk::InPlaceLabelMapFilter< TImage > Superclass
 

Public Member Functions

virtual const char * GetNameOfClass () const
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 
FunctorType m_Functor
 
void SetFunctor (FunctorType &functor)
 
const FunctorTypeGetFunctor () const
 
FunctorTypeGetFunctor ()
 
 LabelMapFeaturesFunctorImageFilter ()
 
 ~LabelMapFeaturesFunctorImageFilter () override
 
void ThreadedProcessLabelObject (LabelObjectType *labelObject) override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 LabelMapFeaturesFunctorImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TImage, class TFunctor>
class otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >

This class applies a functor to compute new features.

The functor is applied on each LabelObject, enriching the available features.

The LabelObject type must be an AttributeMapLabelObject.

This filter can not be instantiated on its own, since its purpose is to provide a base class for all LabelMap attributes enriching filters

See also
otb::AttributeMapLabelObject
otb::StatisticsAttributesLabelMapFilter
otb::ShapeAttributesLabelMapFilter
otb::RadiometricAttributesLabelMapFilter
otb::BandsStatisticsAttributesLabelMapFilter
itk::InPlaceLabelMapFilter

Definition at line 53 of file otbLabelMapFeaturesFunctorImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TImage , class TFunctor >
typedef itk::SmartPointer<const Self> otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::ConstPointer

Definition at line 60 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ FunctorType

template<class TImage , class TFunctor >
typedef TFunctor otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::FunctorType

Definition at line 65 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ ImageType

template<class TImage , class TFunctor >
typedef TImage otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::ImageType

Some convenient typedefs.

Definition at line 63 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ LabelObjectType

template<class TImage , class TFunctor >
typedef ImageType::LabelObjectType otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::LabelObjectType

Definition at line 64 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ Pointer

template<class TImage , class TFunctor >
typedef itk::SmartPointer<Self> otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::Pointer

Definition at line 59 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ Self

template<class TImage , class TFunctor >
typedef LabelMapFeaturesFunctorImageFilter otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::Self

Standard class typedefs.

Definition at line 57 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ Superclass

template<class TImage , class TFunctor >
typedef itk::InPlaceLabelMapFilter<TImage> otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::Superclass

Definition at line 58 of file otbLabelMapFeaturesFunctorImageFilter.h.

Constructor & Destructor Documentation

◆ LabelMapFeaturesFunctorImageFilter() [1/2]

template<class TImage , class TFunctor >
otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::LabelMapFeaturesFunctorImageFilter ( )
inlineprotected

Constructor

Definition at line 98 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ ~LabelMapFeaturesFunctorImageFilter()

template<class TImage , class TFunctor >
otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::~LabelMapFeaturesFunctorImageFilter ( )
inlineoverrideprotected

Destructor

Definition at line 103 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ LabelMapFeaturesFunctorImageFilter() [2/2]

template<class TImage , class TFunctor >
otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::LabelMapFeaturesFunctorImageFilter ( const Self )
privatedelete

The functor

Member Function Documentation

◆ GetFunctor() [1/2]

template<class TImage , class TFunctor >
FunctorType& otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::GetFunctor ( )
inline

Get a reference to the functor (non const version)

Definition at line 91 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ GetFunctor() [2/2]

template<class TImage , class TFunctor >
const FunctorType& otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::GetFunctor ( ) const
inline

Get the functor (const version)

Definition at line 85 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ GetNameOfClass()

template<class TImage , class TFunctor >
virtual const char* otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::GetNameOfClass ( ) const
virtual

Runtime information support.

◆ operator=()

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

The functor

◆ PrintSelf()

template<class TImage , class TFunctor >
void otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
inlineoverrideprotected

PrintSelf method

Definition at line 115 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ SetFunctor()

template<class TImage , class TFunctor >
void otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::SetFunctor ( FunctorType functor)
inline

Set the functor

Definition at line 74 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ ThreadedProcessLabelObject()

template<class TImage , class TFunctor >
void otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::ThreadedProcessLabelObject ( LabelObjectType labelObject)
inlineoverrideprotected

Threaded generate data

Definition at line 108 of file otbLabelMapFeaturesFunctorImageFilter.h.

Member Data Documentation

◆ ImageDimension

template<class TImage , class TFunctor >
const unsigned int otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::ImageDimension = TImage::ImageDimension
static

ImageDimension constants

Definition at line 68 of file otbLabelMapFeaturesFunctorImageFilter.h.

◆ m_Functor

template<class TImage , class TFunctor >
FunctorType otb::LabelMapFeaturesFunctorImageFilter< TImage, TFunctor >::m_Functor
private

The functor

Definition at line 126 of file otbLabelMapFeaturesFunctorImageFilter.h.


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