OTB  6.7.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 Self
ConstPointer
 
typedef Parser ParserType
 
typedef TInputPixel PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MaskMuParserFunctor Self
 
typedef
BinarySpectralAngleFunctor
< PixelType, PixelType, double > 
SpectralAngleFunctorType
 
typedef itk::LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

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)
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 MaskMuParserFunctor ()
 
 ~MaskMuParserFunctor () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

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
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

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

Definition at line 61 of file otbMaskMuParserFunctor.h.

Member Typedef Documentation

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

Definition at line 67 of file otbMaskMuParserFunctor.h.

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

Definition at line 76 of file otbMaskMuParserFunctor.h.

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

Definition at line 73 of file otbMaskMuParserFunctor.h.

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

Definition at line 66 of file otbMaskMuParserFunctor.h.

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

Definition at line 64 of file otbMaskMuParserFunctor.h.

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

Definition at line 78 of file otbMaskMuParserFunctor.h.

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

Definition at line 65 of file otbMaskMuParserFunctor.h.

Constructor & Destructor Documentation

template<class TInputPixel >
MaskMuParserFunctor::MaskMuParserFunctor ( )
protected

Definition at line 32 of file otbMaskMuParserFunctor.hxx.

template<class TInputPixel >
MaskMuParserFunctor::~MaskMuParserFunctor ( )
overrideprotected

Definition at line 43 of file otbMaskMuParserFunctor.hxx.

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

Member Function Documentation

template<class TInputPixel >
bool MaskMuParserFunctor::CheckExpression ( )

Check the expression

Definition at line 142 of file otbMaskMuParserFunctor.hxx.

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

Reimplemented from itk::LightObject.

template<class TInputPixel >
std::string MaskMuParserFunctor::GetExpression ( ) const

Return the expression to be parsed

Definition at line 105 of file otbMaskMuParserFunctor.hxx.

template<class TInputPixel >
Parser::FunctionMapType MaskMuParserFunctor::GetFunList ( ) const

Definition at line 88 of file otbMaskMuParserFunctor.hxx.

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

Run-time type information (and related methods).

Reimplemented from itk::LightObject.

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

Definition at line 81 of file otbMaskMuParserFunctor.hxx.

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

Method for creation through the object factory.

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

Definition at line 48 of file otbMaskMuParserFunctor.hxx.

template<class TInputPixel >
void otb::Functor::MaskMuParserFunctor< TInputPixel >::operator= ( const Self )
privatedelete
template<class TInputPixel >
void MaskMuParserFunctor::SetExpression ( const std::string &  expression)

Definition at line 96 of file otbMaskMuParserFunctor.hxx.

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

Definition at line 112 of file otbMaskMuParserFunctor.hxx.

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

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

Definition at line 134 of file otbMaskMuParserFunctor.hxx.

Member Data Documentation

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

Definition at line 111 of file otbMaskMuParserFunctor.h.

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

Definition at line 109 of file otbMaskMuParserFunctor.h.

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

Definition at line 118 of file otbMaskMuParserFunctor.h.

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

Definition at line 113 of file otbMaskMuParserFunctor.h.

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

Definition at line 110 of file otbMaskMuParserFunctor.h.

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

Definition at line 115 of file otbMaskMuParserFunctor.h.

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

Definition at line 119 of file otbMaskMuParserFunctor.h.

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

Definition at line 122 of file otbMaskMuParserFunctor.h.

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

Definition at line 121 of file otbMaskMuParserFunctor.h.


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