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

#include <otbFlusserMomentsImageFunction.h>

+ Inheritance diagram for otb::FlusserMomentsImageFunction< TInputImage, TCoordRep >:
+ Collaboration diagram for otb::FlusserMomentsImageFunction< 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 FlusserMomentsImageFunction Self
 
typedef itk::ImageFunction< TInputImage, itk::FixedArray< typename itk::NumericTraits< typename TInputImage::PixelType >::RealType, 11 >, 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
 
 FlusserMomentsImageFunction ()
 
 ~FlusserMomentsImageFunction () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 FlusserMomentsImageFunction (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

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

Calculate the Flusser's invariant parameters.

Calculate the Flusser'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: $ \psi_{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 71 of file otbFlusserMomentsImageFunction.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 79 of file otbFlusserMomentsImageFunction.h.

◆ ContinuousIndexType

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

Definition at line 90 of file otbFlusserMomentsImageFunction.h.

◆ CoordRepType

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

Definition at line 96 of file otbFlusserMomentsImageFunction.h.

◆ IndexType

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

Definition at line 89 of file otbFlusserMomentsImageFunction.h.

◆ InputImageType

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

InputImageType typedef support.

Definition at line 85 of file otbFlusserMomentsImageFunction.h.

◆ OutputType

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

Definition at line 93 of file otbFlusserMomentsImageFunction.h.

◆ Pointer

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

Definition at line 78 of file otbFlusserMomentsImageFunction.h.

◆ PointType

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

Definition at line 91 of file otbFlusserMomentsImageFunction.h.

◆ ScalarRealType

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

Definition at line 94 of file otbFlusserMomentsImageFunction.h.

◆ Self

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

Standard class typedefs.

Definition at line 76 of file otbFlusserMomentsImageFunction.h.

◆ Superclass

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

Definition at line 77 of file otbFlusserMomentsImageFunction.h.

Constructor & Destructor Documentation

◆ FlusserMomentsImageFunction() [1/2]

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

Constructor

Definition at line 36 of file otbFlusserMomentsImageFunction.hxx.

◆ ~FlusserMomentsImageFunction()

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

Evaluate the function at non-integer positions

Definition at line 128 of file otbFlusserMomentsImageFunction.h.

◆ FlusserMomentsImageFunction() [2/2]

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

◆ Evaluate()

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

Evaluate the function at non-integer positions

Definition at line 105 of file otbFlusserMomentsImageFunction.h.

◆ EvaluateAtContinuousIndex()

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

Evaluate the function at non-integer positions

Definition at line 111 of file otbFlusserMomentsImageFunction.h.

◆ EvaluateAtIndex()

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

Evalulate the function at specified index

Definition at line 50 of file otbFlusserMomentsImageFunction.hxx.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

◆ GetNeighborhoodRadius()

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

Evaluate the function at non-integer positions

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

Evaluate the function at non-integer positions

◆ PrintSelf()

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

Evaluate the function at non-integer positions

Definition at line 42 of file otbFlusserMomentsImageFunction.hxx.

◆ SetNeighborhoodRadius()

template<class TInputImage , class TCoordRep = double>
virtual void otb::FlusserMomentsImageFunction< 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::FlusserMomentsImageFunction< TInputImage, TCoordRep >::ImageDimension = InputImageType::ImageDimension
static

Dimension of the underlying image.

Definition at line 99 of file otbFlusserMomentsImageFunction.h.

◆ m_NeighborhoodRadius

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

Evaluate the function at non-integer positions

Definition at line 137 of file otbFlusserMomentsImageFunction.h.


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