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

#include <otbFourierMellinDescriptorsImageFunction.h>

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

Public Types

typedef std::vector< std::vector< ScalarComplexType > > ComplexType
 
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 std::complex< ScalarRealTypeScalarComplexType
 
typedef double ScalarRealType
 
typedef FourierMellinDescriptorsImageFunction Self
 
typedef itk::ImageFunction< TInputImage, std::vector< std::vector< typename itk::NumericTraits< typename TInputImage::PixelType >::RealType > >, 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_Pmax
 
unsigned int m_Qmax
 
unsigned int m_NeighborhoodRadius
 
double m_Sigma
 
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
 
virtual void SetPmax (unsigned int _arg)
 
virtual const unsigned int & GetPmax () const
 
virtual void SetQmax (unsigned int _arg)
 
virtual const unsigned int & GetQmax () const
 
 FourierMellinDescriptorsImageFunction ()
 
 ~FourierMellinDescriptorsImageFunction () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 FourierMellinDescriptorsImageFunction (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

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

Calculate the Fourier-Mellin descriptors in the specified neighborhood.

Calculate the Fourier-Mellin descriptors over a specified neighborhood. The implemented equation is:

D_{p, q}=|M_{p, q}|

With:

\[ M_{p, q}=\frac{1}{2\pi} \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} (x+iy)^{p} \cdot (x^{2}+y^{2})^{\frac{p-2+\sigma-iq}{2}} \cdot f(x, y) \cdot dx \cdot dy \]

And:

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

Definition at line 63 of file otbFourierMellinDescriptorsImageFunction.h.

Member Typedef Documentation

◆ ComplexType

template<class TInputImage , class TCoordRep = double>
typedef std::vector<std::vector<ScalarComplexType> > otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::ComplexType

Definition at line 89 of file otbFourierMellinDescriptorsImageFunction.h.

◆ ConstPointer

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

Definition at line 72 of file otbFourierMellinDescriptorsImageFunction.h.

◆ ContinuousIndexType

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

Definition at line 83 of file otbFourierMellinDescriptorsImageFunction.h.

◆ CoordRepType

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

Definition at line 91 of file otbFourierMellinDescriptorsImageFunction.h.

◆ IndexType

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

Definition at line 82 of file otbFourierMellinDescriptorsImageFunction.h.

◆ InputImageType

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

InputImageType typedef support.

Definition at line 78 of file otbFourierMellinDescriptorsImageFunction.h.

◆ OutputType

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

Definition at line 85 of file otbFourierMellinDescriptorsImageFunction.h.

◆ Pointer

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

Definition at line 71 of file otbFourierMellinDescriptorsImageFunction.h.

◆ PointType

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

Definition at line 84 of file otbFourierMellinDescriptorsImageFunction.h.

◆ ScalarComplexType

template<class TInputImage , class TCoordRep = double>
typedef std::complex<ScalarRealType> otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::ScalarComplexType

Definition at line 88 of file otbFourierMellinDescriptorsImageFunction.h.

◆ ScalarRealType

template<class TInputImage , class TCoordRep = double>
typedef double otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::ScalarRealType

Definition at line 87 of file otbFourierMellinDescriptorsImageFunction.h.

◆ Self

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

Standard class typedefs.

Definition at line 68 of file otbFourierMellinDescriptorsImageFunction.h.

◆ Superclass

template<class TInputImage , class TCoordRep = double>
typedef itk::ImageFunction<TInputImage, std::vector<std::vector<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType> >, TCoordRep> otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::Superclass

Definition at line 70 of file otbFourierMellinDescriptorsImageFunction.h.

Constructor & Destructor Documentation

◆ FourierMellinDescriptorsImageFunction() [1/2]

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

Constructor

Definition at line 35 of file otbFourierMellinDescriptorsImageFunction.hxx.

◆ ~FourierMellinDescriptorsImageFunction()

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

Evaluate the function at non-integer positions

Definition at line 128 of file otbFourierMellinDescriptorsImageFunction.h.

◆ FourierMellinDescriptorsImageFunction() [2/2]

template<class TInputImage , class TCoordRep = double>
otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::FourierMellinDescriptorsImageFunction ( 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::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::CreateAnother ( void  ) const

◆ Evaluate()

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

Evaluate the function at non-integer positions

Definition at line 100 of file otbFourierMellinDescriptorsImageFunction.h.

◆ EvaluateAtContinuousIndex()

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

Evaluate the function at non-integer positions

Definition at line 106 of file otbFourierMellinDescriptorsImageFunction.h.

◆ EvaluateAtIndex()

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

Evalulate the function at specified index

Definition at line 54 of file otbFourierMellinDescriptorsImageFunction.hxx.

References otb::CONST_PI.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

◆ GetNeighborhoodRadius()

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

Evaluate the function at non-integer positions

◆ GetPmax()

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

Evaluate the function at non-integer positions

◆ GetQmax()

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

Evaluate the function at non-integer positions

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

Evaluate the function at non-integer positions

◆ PrintSelf()

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

Evaluate the function at non-integer positions

Definition at line 44 of file otbFourierMellinDescriptorsImageFunction.hxx.

◆ SetNeighborhoodRadius()

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

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

◆ SetPmax()

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

Evaluate the function at non-integer positions

◆ SetQmax()

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

Evaluate the function at non-integer positions

Member Data Documentation

◆ ImageDimension

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

Dimension of the underlying image.

Definition at line 94 of file otbFourierMellinDescriptorsImageFunction.h.

◆ m_NeighborhoodRadius

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

Evaluate the function at non-integer positions

Definition at line 139 of file otbFourierMellinDescriptorsImageFunction.h.

◆ m_Pmax

template<class TInputImage , class TCoordRep = double>
unsigned int otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::m_Pmax
private

Evaluate the function at non-integer positions

Definition at line 137 of file otbFourierMellinDescriptorsImageFunction.h.

◆ m_Qmax

template<class TInputImage , class TCoordRep = double>
unsigned int otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::m_Qmax
private

Evaluate the function at non-integer positions

Definition at line 138 of file otbFourierMellinDescriptorsImageFunction.h.

◆ m_Sigma

template<class TInputImage , class TCoordRep = double>
double otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::m_Sigma
private

Evaluate the function at non-integer positions

Definition at line 140 of file otbFourierMellinDescriptorsImageFunction.h.


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