OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::Functor::MaskMuParserFunctor< TInputPixel > Class Template Reference

#include <otbMaskMuParserFunctor.h>

+ Inheritance diagram for otb::Functor::MaskMuParserFunctor< TInputPixel >:
+ Collaboration diagram for otb::Functor::MaskMuParserFunctor< TInputPixel >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Parser ParserType
 
typedef TInputPixel PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MaskMuParserFunctor Self
 
typedef BinarySpectralAngleFunctor< PixelType, PixelType, double > SpectralAngleFunctorType
 
typedef itk::LightObject Superclass
 

Public Member Functions

bool CheckExpression ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
std::string GetExpression () const
 
Parser::FunctionMapType GetFunList () const
 
virtual const char * GetNameOfClass () const
 
const std::map< std::string, Parser::ValueType * > & GetVar () const
 
bool operator() (const PixelType &p)
 
void SetExpression (const std::string &expression)
 
void SetNumberOfBands (unsigned int NbOfBands)
 
void SetSpectralAngleReferencePixel (const PixelType &refPixel)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MaskMuParserFunctor ()
 
 ~MaskMuParserFunctor () override
 

Private Member Functions

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

Private Attributes

std::vector< double > m_AImage
 
std::string m_Expression
 
double m_Intensity
 
unsigned int m_NbOfBands
 
ParserType::Pointer m_Parser
 
double m_ParserResult
 
double m_SpectralAngle
 
SpectralAngleFunctorType m_SpectralAngleFunctor
 
PixelType m_SpectralAngleReferencePixel
 

Detailed Description

template<class TInputPixel>
class otb::Functor::MaskMuParserFunctor< TInputPixel >

Definition at line 61 of file otbMaskMuParserFunctor.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputPixel >
typedef itk::SmartPointer<const Self> otb::Functor::MaskMuParserFunctor< TInputPixel >::ConstPointer

Definition at line 67 of file otbMaskMuParserFunctor.h.

◆ ParserType

template<class TInputPixel >
typedef Parser otb::Functor::MaskMuParserFunctor< TInputPixel >::ParserType

Definition at line 76 of file otbMaskMuParserFunctor.h.

◆ PixelType

template<class TInputPixel >
typedef TInputPixel otb::Functor::MaskMuParserFunctor< TInputPixel >::PixelType

Definition at line 73 of file otbMaskMuParserFunctor.h.

◆ Pointer

template<class TInputPixel >
typedef itk::SmartPointer<Self> otb::Functor::MaskMuParserFunctor< TInputPixel >::Pointer

Definition at line 66 of file otbMaskMuParserFunctor.h.

◆ Self

template<class TInputPixel >
typedef MaskMuParserFunctor otb::Functor::MaskMuParserFunctor< TInputPixel >::Self

Definition at line 64 of file otbMaskMuParserFunctor.h.

◆ SpectralAngleFunctorType

template<class TInputPixel >
typedef BinarySpectralAngleFunctor<PixelType, PixelType, double> otb::Functor::MaskMuParserFunctor< TInputPixel >::SpectralAngleFunctorType

Definition at line 78 of file otbMaskMuParserFunctor.h.

◆ Superclass

template<class TInputPixel >
typedef itk::LightObject otb::Functor::MaskMuParserFunctor< TInputPixel >::Superclass

Definition at line 65 of file otbMaskMuParserFunctor.h.

Constructor & Destructor Documentation

◆ MaskMuParserFunctor() [1/2]

template<class TInputPixel >
MaskMuParserFunctor::MaskMuParserFunctor
protected

Definition at line 32 of file otbMaskMuParserFunctor.hxx.

◆ ~MaskMuParserFunctor()

template<class TInputPixel >
MaskMuParserFunctor::~MaskMuParserFunctor
overrideprotected

Definition at line 38 of file otbMaskMuParserFunctor.hxx.

◆ MaskMuParserFunctor() [2/2]

template<class TInputPixel >
otb::Functor::MaskMuParserFunctor< TInputPixel >::MaskMuParserFunctor ( const Self )
privatedelete

Member Function Documentation

◆ CheckExpression()

template<class TInputPixel >
bool MaskMuParserFunctor::CheckExpression

Check the expression

Definition at line 129 of file otbMaskMuParserFunctor.hxx.

◆ CreateAnother()

template<class TInputPixel >
virtual::itk::LightObject::Pointer otb::Functor::MaskMuParserFunctor< TInputPixel >::CreateAnother ( void  ) const

◆ GetExpression()

template<class TInputPixel >
std::string MaskMuParserFunctor::GetExpression

Return the expression to be parsed

Definition at line 95 of file otbMaskMuParserFunctor.hxx.

◆ GetFunList()

template<class TInputPixel >
Parser::FunctionMapType MaskMuParserFunctor::GetFunList

Definition at line 80 of file otbMaskMuParserFunctor.hxx.

◆ GetNameOfClass()

template<class TInputPixel >
virtual const char* otb::Functor::MaskMuParserFunctor< TInputPixel >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetVar()

template<class TInputPixel >
const std::map< std::string, Parser::ValueType * > & MaskMuParserFunctor::GetVar

Definition at line 74 of file otbMaskMuParserFunctor.hxx.

◆ New()

template<class TInputPixel >
static Pointer otb::Functor::MaskMuParserFunctor< TInputPixel >::New ( )
static

Method for creation through the object factory.

◆ operator()()

template<class TInputPixel >
bool MaskMuParserFunctor::operator() ( const PixelType p)

Definition at line 43 of file otbMaskMuParserFunctor.hxx.

◆ operator=()

template<class TInputPixel >
void otb::Functor::MaskMuParserFunctor< TInputPixel >::operator= ( const Self )
privatedelete

◆ SetExpression()

template<class TInputPixel >
void MaskMuParserFunctor::SetExpression ( const std::string &  expression)

Definition at line 87 of file otbMaskMuParserFunctor.hxx.

◆ SetNumberOfBands()

template<class TInputPixel >
void MaskMuParserFunctor::SetNumberOfBands ( unsigned int  NbOfBands)

Definition at line 101 of file otbMaskMuParserFunctor.hxx.

◆ SetSpectralAngleReferencePixel()

template<class TInputPixel >
void MaskMuParserFunctor::SetSpectralAngleReferencePixel ( const PixelType refPixel)

Set the reference pixel used to compute the "spectralangle" parser variable

Definition at line 122 of file otbMaskMuParserFunctor.hxx.

Member Data Documentation

◆ m_AImage

template<class TInputPixel >
std::vector<double> otb::Functor::MaskMuParserFunctor< TInputPixel >::m_AImage
private

Definition at line 110 of file otbMaskMuParserFunctor.h.

◆ m_Expression

template<class TInputPixel >
std::string otb::Functor::MaskMuParserFunctor< TInputPixel >::m_Expression
private

Definition at line 108 of file otbMaskMuParserFunctor.h.

◆ m_Intensity

template<class TInputPixel >
double otb::Functor::MaskMuParserFunctor< TInputPixel >::m_Intensity
private

Definition at line 117 of file otbMaskMuParserFunctor.h.

◆ m_NbOfBands

template<class TInputPixel >
unsigned int otb::Functor::MaskMuParserFunctor< TInputPixel >::m_NbOfBands
private

Definition at line 112 of file otbMaskMuParserFunctor.h.

◆ m_Parser

template<class TInputPixel >
ParserType::Pointer otb::Functor::MaskMuParserFunctor< TInputPixel >::m_Parser
private

Definition at line 109 of file otbMaskMuParserFunctor.h.

◆ m_ParserResult

template<class TInputPixel >
double otb::Functor::MaskMuParserFunctor< TInputPixel >::m_ParserResult
private

Definition at line 114 of file otbMaskMuParserFunctor.h.

◆ m_SpectralAngle

template<class TInputPixel >
double otb::Functor::MaskMuParserFunctor< TInputPixel >::m_SpectralAngle
private

Definition at line 118 of file otbMaskMuParserFunctor.h.

◆ m_SpectralAngleFunctor

template<class TInputPixel >
SpectralAngleFunctorType otb::Functor::MaskMuParserFunctor< TInputPixel >::m_SpectralAngleFunctor
private

Definition at line 121 of file otbMaskMuParserFunctor.h.

◆ m_SpectralAngleReferencePixel

template<class TInputPixel >
PixelType otb::Functor::MaskMuParserFunctor< TInputPixel >::m_SpectralAngleReferencePixel
private

Definition at line 120 of file otbMaskMuParserFunctor.h.


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