OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
otb::HuMomentsImageFunction< TInputImage, TCoordRep > Class Template Reference

#include <otbHuMomentsImageFunction.h>

+ Inheritance diagram for otb::HuMomentsImageFunction< TInputImage, TCoordRep >:
+ Collaboration diagram for otb::HuMomentsImageFunction< TInputImage, TCoordRep >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::ContinuousIndexType ContinuousIndexType
 
typedef TCoordRep CoordRepType
 
typedef Superclass::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef Superclass::OutputType OutputType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef OutputType::ValueType ScalarRealType
 
typedef HuMomentsImageFunction Self
 
typedef itk::ImageFunction< TInputImage, itk::FixedArray< typename itk::NumericTraits< typename TInputImage::PixelType >::RealType, 7 >, TCoordRep > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
OutputType EvaluateAtIndex (const IndexType &index) const override
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = InputImageType::ImageDimension
 
unsigned int m_NeighborhoodRadius
 
OutputType Evaluate (const PointType &point) const override
 
OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const override
 
virtual void SetNeighborhoodRadius (unsigned int _arg)
 
virtual const unsigned int & GetNeighborhoodRadius () const
 
 HuMomentsImageFunction ()
 
 ~HuMomentsImageFunction () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 HuMomentsImageFunction (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputImage, class TCoordRep = double>
class otb::HuMomentsImageFunction< TInputImage, TCoordRep >

Calculate the Hu's invariant parameters.

Calculate the Hu's invariants over a specified neighborhood defined as :

With :

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

And:

Note that the output is defined as: $ \phi_{i} = output[i-1] $

This class is templated over the input image type and the coordinate representation type (e.g. float or double).

Definition at line 67 of file otbHuMomentsImageFunction.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TCoordRep = double>
typedef itk::SmartPointer<const Self> otb::HuMomentsImageFunction< TInputImage, TCoordRep >::ConstPointer

Definition at line 75 of file otbHuMomentsImageFunction.h.

◆ ContinuousIndexType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::ContinuousIndexType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::ContinuousIndexType

Definition at line 86 of file otbHuMomentsImageFunction.h.

◆ CoordRepType

template<class TInputImage , class TCoordRep = double>
typedef TCoordRep otb::HuMomentsImageFunction< TInputImage, TCoordRep >::CoordRepType

Definition at line 92 of file otbHuMomentsImageFunction.h.

◆ IndexType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::IndexType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::IndexType

Definition at line 85 of file otbHuMomentsImageFunction.h.

◆ InputImageType

template<class TInputImage , class TCoordRep = double>
typedef TInputImage otb::HuMomentsImageFunction< TInputImage, TCoordRep >::InputImageType

InputImageType typedef support.

Definition at line 81 of file otbHuMomentsImageFunction.h.

◆ OutputType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::OutputType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::OutputType

Definition at line 89 of file otbHuMomentsImageFunction.h.

◆ Pointer

template<class TInputImage , class TCoordRep = double>
typedef itk::SmartPointer<Self> otb::HuMomentsImageFunction< TInputImage, TCoordRep >::Pointer

Definition at line 74 of file otbHuMomentsImageFunction.h.

◆ PointType

template<class TInputImage , class TCoordRep = double>
typedef Superclass::PointType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::PointType

Definition at line 87 of file otbHuMomentsImageFunction.h.

◆ ScalarRealType

template<class TInputImage , class TCoordRep = double>
typedef OutputType::ValueType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::ScalarRealType

Definition at line 90 of file otbHuMomentsImageFunction.h.

◆ Self

template<class TInputImage , class TCoordRep = double>
typedef HuMomentsImageFunction otb::HuMomentsImageFunction< TInputImage, TCoordRep >::Self

Standard class typedefs.

Definition at line 72 of file otbHuMomentsImageFunction.h.

◆ Superclass

template<class TInputImage , class TCoordRep = double>
typedef itk::ImageFunction<TInputImage, itk::FixedArray<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, 7>, TCoordRep> otb::HuMomentsImageFunction< TInputImage, TCoordRep >::Superclass

Definition at line 73 of file otbHuMomentsImageFunction.h.

Constructor & Destructor Documentation

◆ HuMomentsImageFunction() [1/2]

template<class TInputImage , class TCoordRep >
otb::HuMomentsImageFunction< TInputImage, TCoordRep >::HuMomentsImageFunction
protected

Constructor

Definition at line 36 of file otbHuMomentsImageFunction.hxx.

◆ ~HuMomentsImageFunction()

template<class TInputImage , class TCoordRep = double>
otb::HuMomentsImageFunction< TInputImage, TCoordRep >::~HuMomentsImageFunction ( )
inlineoverrideprotected

Evaluate the function at non-integer positions

Definition at line 124 of file otbHuMomentsImageFunction.h.

◆ HuMomentsImageFunction() [2/2]

template<class TInputImage , class TCoordRep = double>
otb::HuMomentsImageFunction< TInputImage, TCoordRep >::HuMomentsImageFunction ( const Self )
privatedelete

Evaluate the function at non-integer positions

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TCoordRep = double>
virtual::itk::LightObject::Pointer otb::HuMomentsImageFunction< TInputImage, TCoordRep >::CreateAnother ( void  ) const

◆ Evaluate()

template<class TInputImage , class TCoordRep = double>
OutputType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point) const
inlineoverride

Evaluate the function at non-integer positions

Definition at line 101 of file otbHuMomentsImageFunction.h.

◆ EvaluateAtContinuousIndex()

template<class TInputImage , class TCoordRep = double>
OutputType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType cindex) const
inlineoverride

Evaluate the function at non-integer positions

Definition at line 107 of file otbHuMomentsImageFunction.h.

◆ EvaluateAtIndex()

template<class TInputImage , class TCoordRep >
HuMomentsImageFunction< TInputImage, TCoordRep >::OutputType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType index) const
override

Evalulate the function at specified index

Definition at line 50 of file otbHuMomentsImageFunction.hxx.

◆ GetNameOfClass()

template<class TInputImage , class TCoordRep = double>
virtual const char* otb::HuMomentsImageFunction< TInputImage, TCoordRep >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetNeighborhoodRadius()

template<class TInputImage , class TCoordRep = double>
virtual const unsigned int& otb::HuMomentsImageFunction< TInputImage, TCoordRep >::GetNeighborhoodRadius ( ) const
virtual

Evaluate the function at non-integer positions

◆ New()

template<class TInputImage , class TCoordRep = double>
static Pointer otb::HuMomentsImageFunction< TInputImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage , class TCoordRep = double>
void otb::HuMomentsImageFunction< TInputImage, TCoordRep >::operator= ( const Self )
privatedelete

Evaluate the function at non-integer positions

◆ PrintSelf()

template<class TInputImage , class TCoordRep >
void otb::HuMomentsImageFunction< TInputImage, TCoordRep >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

Evaluate the function at non-integer positions

Definition at line 42 of file otbHuMomentsImageFunction.hxx.

◆ SetNeighborhoodRadius()

template<class TInputImage , class TCoordRep = double>
virtual void otb::HuMomentsImageFunction< TInputImage, TCoordRep >::SetNeighborhoodRadius ( unsigned int  _arg)
virtual

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

Member Data Documentation

◆ ImageDimension

template<class TInputImage , class TCoordRep = double>
const unsigned int otb::HuMomentsImageFunction< TInputImage, TCoordRep >::ImageDimension = InputImageType::ImageDimension
static

Dimension of the underlying image.

Definition at line 95 of file otbHuMomentsImageFunction.h.

◆ m_NeighborhoodRadius

template<class TInputImage , class TCoordRep = double>
unsigned int otb::HuMomentsImageFunction< TInputImage, TCoordRep >::m_NeighborhoodRadius
private

Evaluate the function at non-integer positions

Definition at line 133 of file otbHuMomentsImageFunction.h.


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