Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::HuMomentsImageFunction< TInputImage, TCoordRep > Class Template Reference

Calculate the Hu's invariant parameters. More...

#include <otbHuMomentsImageFunction.h>

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

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
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 Types inherited from itk::ImageFunction< TInputImage, itk::FixedArray< itk::NumericTraits< TInputImage::PixelType >::RealType, 7 >, TCoordRep >
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef ContinuousIndex
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
ContinuousIndexType
 
typedef TCoordRep CoordRepType
 
typedef InputImageType::IndexType IndexType
 
typedef
InputImageType::IndexValueType 
IndexValueType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef Point< TCoordRep,
TInputImage::ImageDimension > 
InputType
 
typedef itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > 
OutputType
 
typedef itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< SelfPointer
 
typedef Point< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef FunctionBase Self
 
typedef ImageFunction Self
 
typedef Object Superclass
 
typedef FunctionBase< Point
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) >
, itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > > 
Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputType Evaluate (const PointType &point) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
 
virtual OutputType EvaluateAtIndex (const IndexType &index) const
 
virtual const char * GetNameOfClass () const
 
virtual const unsigned int & GetNeighborhoodRadius ()
 
virtual void SetNeighborhoodRadius (unsigned int _arg)
 
- Public Member Functions inherited from itk::ImageFunction< TInputImage, itk::FixedArray< itk::NumericTraits< TInputImage::PixelType >::RealType, 7 >, TCoordRep >
void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
 
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
 
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
 
virtual OutputType Evaluate (const InputType &input) const =0
 
virtual const ContinuousIndexTypeGetEndContinuousIndex () const
 
virtual const IndexTypeGetEndIndex () const
 
const InputImageTypeGetInputImage () const
 
virtual const ContinuousIndexTypeGetStartContinuousIndex () const
 
virtual const IndexTypeGetStartIndex () const
 
virtual bool IsInsideBuffer (const IndexType &index) const
 
virtual bool IsInsideBuffer (const PointType &point) const
 
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
 
virtual void SetInputImage (const InputImageType *ptr)
 
- Public Member Functions inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, itk::FixedArray< itk::NumericTraits< TInputImage::PixelType >::RealType, 7 > >
virtual OutputType Evaluate (const InputType &input) const =0
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = InputImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageFunction< TInputImage, itk::FixedArray< itk::NumericTraits< TInputImage::PixelType >::RealType, 7 >, TCoordRep >
static const unsigned int ImageDimension
 

Protected Member Functions

 HuMomentsImageFunction ()
 
virtual ~HuMomentsImageFunction ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
- Protected Member Functions inherited from itk::ImageFunction< TInputImage, itk::FixedArray< itk::NumericTraits< TInputImage::PixelType >::RealType, 7 >, TCoordRep >
 ImageFunction ()
 
 ~FunctionBase ()
 
 ~ImageFunction ()
 
 FunctionBase ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 

Private Member Functions

 HuMomentsImageFunction (const Self &)
 
void operator= (const Self &)
 

Private Attributes

unsigned int m_NeighborhoodRadius
 

Additional Inherited Members

- Protected Attributes inherited from itk::ImageFunction< TInputImage, itk::FixedArray< itk::NumericTraits< TInputImage::PixelType >::RealType, 7 >, TCoordRep >
ContinuousIndexType m_EndContinuousIndex
 
IndexType m_EndIndex
 
InputImageConstPointer m_Image
 
ContinuousIndexType m_StartContinuousIndex
 
IndexType m_StartIndex
 

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 neighbohood 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 61 of file otbHuMomentsImageFunction.h.

Member Typedef Documentation

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

Definition at line 78 of file otbHuMomentsImageFunction.h.

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

Definition at line 89 of file otbHuMomentsImageFunction.h.

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

Definition at line 95 of file otbHuMomentsImageFunction.h.

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

Definition at line 88 of file otbHuMomentsImageFunction.h.

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

InputImageType typedef support.

Definition at line 84 of file otbHuMomentsImageFunction.h.

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

Definition at line 92 of file otbHuMomentsImageFunction.h.

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

Definition at line 77 of file otbHuMomentsImageFunction.h.

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

Definition at line 90 of file otbHuMomentsImageFunction.h.

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

Definition at line 93 of file otbHuMomentsImageFunction.h.

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

Standard class typedefs.

Definition at line 70 of file otbHuMomentsImageFunction.h.

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 76 of file otbHuMomentsImageFunction.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 35 of file otbHuMomentsImageFunction.txx.

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

Definition at line 127 of file otbHuMomentsImageFunction.h.

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

Member Function Documentation

template<class TInputImage, class TCoordRep = double>
virtual::itk::LightObject::Pointer otb::HuMomentsImageFunction< TInputImage, TCoordRep >::CreateAnother ( void  ) const
template<class TInputImage, class TCoordRep = double>
virtual OutputType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::Evaluate ( const PointType point) const
inlinevirtual
template<class TInputImage, class TCoordRep = double>
virtual OutputType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType cindex) const
inlinevirtual
template<class TInputImage , class TCoordRep >
HuMomentsImageFunction< TInputImage, TCoordRep >::OutputType otb::HuMomentsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex ( const IndexType index) const
virtual
template<class TInputImage, class TCoordRep = double>
virtual const char* otb::HuMomentsImageFunction< TInputImage, TCoordRep >::GetNameOfClass ( ) const
virtual
template<class TInputImage, class TCoordRep = double>
virtual const unsigned int& otb::HuMomentsImageFunction< TInputImage, TCoordRep >::GetNeighborhoodRadius ( )
virtual
template<class TInputImage, class TCoordRep = double>
static Pointer otb::HuMomentsImageFunction< TInputImage, TCoordRep >::New ( )
static

Method for creation through the object factory.

template<class TInputImage, class TCoordRep = double>
void otb::HuMomentsImageFunction< TInputImage, TCoordRep >::operator= ( const Self )
private
template<class TInputImage , class TCoordRep >
void otb::HuMomentsImageFunction< TInputImage, TCoordRep >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protected

Definition at line 43 of file otbHuMomentsImageFunction.txx.

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

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 99 of file otbHuMomentsImageFunction.h.

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

Definition at line 134 of file otbHuMomentsImageFunction.h.


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