OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::LabelObjectOpeningMuParserFilter< TImage, TFunction > Class Template Reference

#include <otbLabelObjectOpeningMuParserFilter.h>

+ Inheritance diagram for otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >:
+ Collaboration diagram for otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >:

Public Types

typedef LabelObjectType::AttributeType AttributeType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef TFunction FunctorType
 
typedef ImageType::ConstPointer ImageConstPointer
 
typedef ImageType::Pointer ImagePointer
 
typedef TImage ImageType
 
typedef ImageType::IndexType IndexType
 
typedef ImageType::RegionType InputImageRegionType
 
typedef LabelObjectType::ConstPointer LabelObjectConstPointer
 
typedef ImageType::LabelObjectType LabelObjectType
 
typedef ImageType::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef LabelObjectOpeningMuParserFilter Self
 
typedef itk::InPlaceLabelMapFilter< TImage > Superclass
 

Public Member Functions

void AllocateOutputs () override
 
bool CheckExpression ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void DisplayVar () const
 
void EnlargeOutputRequestedRegion (itk::DataObject *) override
 
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
std::string GetExpression () const
 
Parser::FunctionMapType GetFunList () const
 
virtual const char * GetNameOfClass () const
 
const std::map< std::string, double * > & GetVar () const
 
void SetAttributes (std::vector< std::string > shapeAttributes, std::vector< std::string > statAttributes, int nbOfBands)
 
void SetExpression (const std::string expression)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 

Protected Member Functions

 LabelObjectOpeningMuParserFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~LabelObjectOpeningMuParserFilter () override
 

Private Member Functions

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

Private Attributes

std::string m_Expression
 
FunctorType m_Functor
 

Detailed Description

template<class TImage, class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
class otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >

Definition at line 62 of file otbLabelObjectOpeningMuParserFilter.h.

Member Typedef Documentation

◆ AttributeType

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef LabelObjectType::AttributeType otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::AttributeType

Definition at line 81 of file otbLabelObjectOpeningMuParserFilter.h.

◆ ConstPointer

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef itk::SmartPointer<const Self> otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::ConstPointer

Definition at line 69 of file otbLabelObjectOpeningMuParserFilter.h.

◆ FunctorType

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef TFunction otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::FunctorType

Definition at line 80 of file otbLabelObjectOpeningMuParserFilter.h.

◆ ImageConstPointer

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef ImageType::ConstPointer otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::ImageConstPointer

Definition at line 74 of file otbLabelObjectOpeningMuParserFilter.h.

◆ ImagePointer

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef ImageType::Pointer otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::ImagePointer

Definition at line 73 of file otbLabelObjectOpeningMuParserFilter.h.

◆ ImageType

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef TImage otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::ImageType

Some convenient typedefs.

Definition at line 72 of file otbLabelObjectOpeningMuParserFilter.h.

◆ IndexType

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef ImageType::IndexType otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::IndexType

Definition at line 76 of file otbLabelObjectOpeningMuParserFilter.h.

◆ InputImageRegionType

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef ImageType::RegionType otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::InputImageRegionType

Definition at line 77 of file otbLabelObjectOpeningMuParserFilter.h.

◆ LabelObjectConstPointer

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef LabelObjectType::ConstPointer otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::LabelObjectConstPointer

Definition at line 79 of file otbLabelObjectOpeningMuParserFilter.h.

◆ LabelObjectType

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef ImageType::LabelObjectType otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::LabelObjectType

Definition at line 78 of file otbLabelObjectOpeningMuParserFilter.h.

◆ PixelType

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef ImageType::PixelType otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::PixelType

Definition at line 75 of file otbLabelObjectOpeningMuParserFilter.h.

◆ Pointer

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef itk::SmartPointer<Self> otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::Pointer

Definition at line 68 of file otbLabelObjectOpeningMuParserFilter.h.

◆ Self

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef LabelObjectOpeningMuParserFilter otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::Self

Standard class typedefs.

Definition at line 66 of file otbLabelObjectOpeningMuParserFilter.h.

◆ Superclass

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
typedef itk::InPlaceLabelMapFilter<TImage> otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::Superclass

Definition at line 67 of file otbLabelObjectOpeningMuParserFilter.h.

Constructor & Destructor Documentation

◆ LabelObjectOpeningMuParserFilter() [1/2]

template<class TImage , class TFunction >
otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::LabelObjectOpeningMuParserFilter
protected

Definition at line 36 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ ~LabelObjectOpeningMuParserFilter()

template<class TImage , class TFunction >
otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::~LabelObjectOpeningMuParserFilter
overrideprotected

Definition at line 45 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ LabelObjectOpeningMuParserFilter() [2/2]

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::LabelObjectOpeningMuParserFilter ( const Self )
privatedelete

Member Function Documentation

◆ AllocateOutputs()

template<class TImage , class TFunction >
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::AllocateOutputs
override

Get the reduced attribute set

Definition at line 113 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ CheckExpression()

template<class TImage , class TFunction >
bool otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::CheckExpression

Check expression to be parsed

Definition at line 99 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ CreateAnother()

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
virtual::itk::LightObject::Pointer otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::CreateAnother ( void  ) const

◆ DisplayVar()

template<class TImage , class TFunction >
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::DisplayVar

Display varname and address

Definition at line 84 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ EnlargeOutputRequestedRegion()

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::EnlargeOutputRequestedRegion ( itk::DataObject *  )
inlineoverride

Definition at line 117 of file otbLabelObjectOpeningMuParserFilter.h.

◆ GenerateData()

template<class TImage , class TFunction >
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::GenerateData
override

Definition at line 158 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ GenerateInputRequestedRegion()

template<class TImage , class TFunction >
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::GenerateInputRequestedRegion
override

Definition at line 152 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ GetExpression()

template<class TImage , class TFunction >
std::string otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::GetExpression

Return the expression to be parsed

Definition at line 66 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ GetFunList()

template<class TImage , class TFunction >
Parser::FunctionMapType otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::GetFunList

return list of Mu Parser functions

Definition at line 78 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ GetNameOfClass()

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
virtual const char* otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::GetNameOfClass ( ) const
virtual

Runtime information support.

◆ GetVar()

template<class TImage , class TFunction >
const std::map< std::string, double * > & otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::GetVar

return list of Mu Parser variables and address

Definition at line 72 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ New()

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
static Pointer otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::New ( )
static

Standard New method.

◆ operator=()

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::operator= ( const Self )
privatedelete

◆ PrintSelf()

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

Definition at line 50 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ SetAttributes()

template<class TImage , class TFunction >
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::SetAttributes ( std::vector< std::string >  shapeAttributes,
std::vector< std::string >  statAttributes,
int  nbOfBands 
)

Manual variables setting

Definition at line 105 of file otbLabelObjectOpeningMuParserFilter.hxx.

◆ SetExpression()

template<class TImage , class TFunction >
void otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::SetExpression ( const std::string  expression)

Set the expression to be parsed

Definition at line 57 of file otbLabelObjectOpeningMuParserFilter.hxx.

Member Data Documentation

◆ ImageDimension

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
const unsigned int otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::ImageDimension = TImage::ImageDimension
static

ImageDimension constants

Definition at line 84 of file otbLabelObjectOpeningMuParserFilter.h.

◆ m_Expression

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
std::string otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::m_Expression
private

Definition at line 133 of file otbLabelObjectOpeningMuParserFilter.h.

◆ m_Functor

template<class TImage , class TFunction = Functor::OBIAMuParserFunctor<typename TImage::LabelObjectType>>
FunctorType otb::LabelObjectOpeningMuParserFilter< TImage, TFunction >::m_Functor
private

Definition at line 132 of file otbLabelObjectOpeningMuParserFilter.h.


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