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::HuPathFunction< TInputPath, TOutput, TPrecision > Class Template Reference

#include <otbHuPathFunction.h>

+ Inheritance diagram for otb::HuPathFunction< TInputPath, TOutput, TPrecision >:
+ Collaboration diagram for otb::HuPathFunction< TInputPath, TOutput, TPrecision >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Superclass::PathConstPointer 
PathConstPointer
 
typedef Superclass::PathType PathType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PrecisionType PrecisionType
 
typedef Superclass::RealType RealType
 
typedef HuPathFunction Self
 
typedef RealMomentPathFunction
< TInputPath, TOutput,
TPrecision > 
Superclass
 
typedef
VertexListType::ConstPointer 
VertexListPointer
 
typedef itk::VectorContainer
< unsigned, VertexType
VertexListType
 
typedef
PathType::ContinuousIndexType 
VertexType
 
- Public Types inherited from otb::RealMomentPathFunction< TInputPath, TOutput, TPrecision >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Superclass::PathConstPointer 
PathConstPointer
 
typedef Superclass::PathType PathType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PrecisionType PrecisionType
 
typedef Superclass::OutputType RealType
 
typedef RealMomentPathFunction Self
 
typedef
GeometricMomentPathFunction
< TInputPath, TOutput,
TPrecision > 
Superclass
 
typedef
VertexListType::ConstPointer 
VertexListPointer
 
typedef itk::VectorContainer
< unsigned, VertexType
VertexListType
 
typedef
PathType::ContinuousIndexType 
VertexType
 
- Public Types inherited from otb::GeometricMomentPathFunction< TInputPath, TOutput, TPrecision >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef Superclass::OutputType OutputType
 
typedef
Superclass::InputPathConstPointer 
PathConstPointer
 
typedef Superclass::InputPathType PathType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TPrecision PrecisionType
 
typedef GeometricMomentPathFunction Self
 
typedef PathFunction
< TInputPath, TOutput > 
Superclass
 
- Public Types inherited from otb::PathFunction< TInputPath, TOutput >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef InputPathType::ConstPointer InputPathConstPointer
 
typedef Superclass::InputType InputPathType
 
typedef Superclass::OutputType OutputType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PathFunction Self
 
typedef itk::FunctionBase
< TInputPath, TOutput > 
Superclass
 
- Public Types inherited from itk::FunctionBase< TInputPath, TOutput >
typedef SmartPointer< const SelfConstPointer
 
typedef TInputPath InputType
 
typedef TOutput OutputType
 
typedef SmartPointer< SelfPointer
 
typedef FunctionBase Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
RealType Evaluate (const PathType &path) const override
 
virtual RealType Evaluate () const
 
virtual const char * GetNameOfClass () const
 
virtual void SetMomentNumber (short _arg)
 
virtual const short & GetMomentNumber () const
 
- Public Member Functions inherited from otb::PathFunction< TInputPath, TOutput >
const InputPathTypeGetInputPath () const
 
virtual void SetInputPath (const InputPathType *ptr)
 
- Public Member Functions inherited from itk::FunctionBase< TInputPath, TOutput >
virtual OutputType Evaluate (const InputType &input) const =0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- 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
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 HuPathFunction ()
 
 ~HuPathFunction () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
- Protected Member Functions inherited from otb::RealMomentPathFunction< TInputPath, TOutput, TPrecision >
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 RealMomentPathFunction ()
 
 ~RealMomentPathFunction () override
 
- Protected Member Functions inherited from otb::GeometricMomentPathFunction< TInputPath, TOutput, TPrecision >
 GeometricMomentPathFunction ()
 
 ~GeometricMomentPathFunction () override
 
- Protected Member Functions inherited from otb::PathFunction< TInputPath, TOutput >
 PathFunction ()
 
 ~PathFunction () override
 
- Protected Member Functions inherited from itk::FunctionBase< TInputPath, TOutput >
 FunctionBase ()
 
 ~FunctionBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

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

Private Attributes

short m_MomentNumber
 

Additional Inherited Members

- Protected Attributes inherited from otb::PathFunction< TInputPath, TOutput >
InputPathConstPointer m_Path
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TInputPath, class TOutput = double, class TPrecision = double>
class otb::HuPathFunction< TInputPath, TOutput, TPrecision >

Calculate the Hu's invariant parameter.

Calculate the Hu's invariant defined as:

With :

\[ c_{p, q}=\int \int (x+iy)^{p} \cdot (x-iy)^{q} \cdot f(x, y) \cdot dx \cdot dy \]

And:

This class is templated over the input image type and the path type (e.g. PolyLineParametricPath<2> ).

Definition at line 64 of file otbHuPathFunction.h.

Member Typedef Documentation

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef itk::SmartPointer<const Self> otb::HuPathFunction< TInputPath, TOutput, TPrecision >::ConstPointer

Definition at line 72 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef Superclass::PathConstPointer otb::HuPathFunction< TInputPath, TOutput, TPrecision >::PathConstPointer

Definition at line 82 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef Superclass::PathType otb::HuPathFunction< TInputPath, TOutput, TPrecision >::PathType

InputPathType typedef support.

Definition at line 78 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef itk::SmartPointer<Self> otb::HuPathFunction< TInputPath, TOutput, TPrecision >::Pointer

Definition at line 71 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef Superclass::PrecisionType otb::HuPathFunction< TInputPath, TOutput, TPrecision >::PrecisionType

Type for calculation precision

Definition at line 91 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef Superclass::RealType otb::HuPathFunction< TInputPath, TOutput, TPrecision >::RealType

OutputType typedef support.

Definition at line 88 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef HuPathFunction otb::HuPathFunction< TInputPath, TOutput, TPrecision >::Self

Standard class typedefs.

Definition at line 69 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef RealMomentPathFunction<TInputPath, TOutput, TPrecision> otb::HuPathFunction< TInputPath, TOutput, TPrecision >::Superclass

Definition at line 70 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef VertexListType::ConstPointer otb::HuPathFunction< TInputPath, TOutput, TPrecision >::VertexListPointer

Definition at line 85 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef itk::VectorContainer<unsigned, VertexType> otb::HuPathFunction< TInputPath, TOutput, TPrecision >::VertexListType

Definition at line 84 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
typedef PathType::ContinuousIndexType otb::HuPathFunction< TInputPath, TOutput, TPrecision >::VertexType

Definition at line 83 of file otbHuPathFunction.h.

Constructor & Destructor Documentation

template<class TInputPath , class TOutput , class TPrecision >
otb::HuPathFunction< TInputPath, TOutput, TPrecision >::HuPathFunction ( )
protected

Constructor

Definition at line 38 of file otbHuPathFunction.hxx.

template<class TInputPath, class TOutput = double, class TPrecision = double>
otb::HuPathFunction< TInputPath, TOutput, TPrecision >::~HuPathFunction ( )
inlineoverrideprotected

Definition at line 105 of file otbHuPathFunction.h.

template<class TInputPath, class TOutput = double, class TPrecision = double>
otb::HuPathFunction< TInputPath, TOutput, TPrecision >::HuPathFunction ( const Self )
privatedelete

Member Function Documentation

template<class TInputPath, class TOutput = double, class TPrecision = double>
virtual::itk::LightObject::Pointer otb::HuPathFunction< TInputPath, TOutput, TPrecision >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputPath , class TOutput , class TPrecision >
HuPathFunction< TInputPath, TOutput, TPrecision >::RealType otb::HuPathFunction< TInputPath, TOutput, TPrecision >::Evaluate ( const PathType path) const
override

Evaluate the function at non-integer positions

Definition at line 59 of file otbHuPathFunction.hxx.

template<class TInputPath , class TOutput , class TPrecision >
HuPathFunction< TInputPath, TOutput, TPrecision >::RealType otb::HuPathFunction< TInputPath, TOutput, TPrecision >::Evaluate ( ) const
virtual

Definition at line 179 of file otbHuPathFunction.hxx.

References itk::NumericTraits< T >::max(), and otbMsgDevMacro.

template<class TInputPath, class TOutput = double, class TPrecision = double>
virtual const short& otb::HuPathFunction< TInputPath, TOutput, TPrecision >::GetMomentNumber ( ) const
virtual

Get/Set the radius of the neighborhood over which the statistics are evaluated

template<class TInputPath, class TOutput = double, class TPrecision = double>
virtual const char* otb::HuPathFunction< TInputPath, TOutput, TPrecision >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::RealMomentPathFunction< TInputPath, TOutput, TPrecision >.

template<class TInputPath, class TOutput = double, class TPrecision = double>
static Pointer otb::HuPathFunction< TInputPath, TOutput, TPrecision >::New ( )
static

Method for creation through the object factory.

template<class TInputPath, class TOutput = double, class TPrecision = double>
void otb::HuPathFunction< TInputPath, TOutput, TPrecision >::operator= ( const Self )
privatedelete
template<class TInputPath , class TOutput , class TPrecision >
void otb::HuPathFunction< TInputPath, TOutput, TPrecision >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

Standard "PrintSelf" method

Reimplemented from otb::GeometricMomentPathFunction< TInputPath, TOutput, TPrecision >.

Definition at line 49 of file otbHuPathFunction.hxx.

template<class TInputPath, class TOutput = double, class TPrecision = double>
virtual void otb::HuPathFunction< TInputPath, TOutput, TPrecision >::SetMomentNumber ( short  _arg)
virtual

Get/Set the radius of the neighborhood over which the statistics are evaluated

Member Data Documentation

template<class TInputPath, class TOutput = double, class TPrecision = double>
short otb::HuPathFunction< TInputPath, TOutput, TPrecision >::m_MomentNumber
private

Definition at line 112 of file otbHuPathFunction.h.


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