OTB  5.0.0
Orfeo Toolbox
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

#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 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 itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Point< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef ImageFunction Self
 
typedef FunctionBase< Point
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) >
, itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > > 
Superclass
 
- Public Types inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, itk::FixedArray< itk::NumericTraits< TInputImage::PixelType >::RealType, 7 > >
typedef SmartPointer< const SelfConstPointer
 
typedef Point< TCoordRep,
TInputImage::ImageDimension > 
InputType
 
typedef itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > 
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
 
virtual OutputType EvaluateAtIndex (const IndexType &index) const
 
virtual const char * GetNameOfClass () const
 
virtual OutputType Evaluate (const PointType &point) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const
 
virtual void SetNeighborhoodRadius (unsigned int _arg)
 
virtual const unsigned int & GetNeighborhoodRadius () const
 
- 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 itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > 
Evaluate (const PointType &point) const =0
 
virtual itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > 
EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
 
virtual itk::FixedArray
< itk::NumericTraits
< TInputImage::PixelType >
::RealType, 7 > 
EvaluateAtIndex (const IndexType &index) 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 PointType &point) const
 
virtual bool IsInsideBuffer (const IndexType &index) 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
 
- 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 (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
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 ITK_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) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- 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 ()
 

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

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

Private Attributes

unsigned int m_NeighborhoodRadius
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- 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
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

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

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

Definition at line 92 of file otbHuMomentsImageFunction.h.

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

Definition at line 98 of file otbHuMomentsImageFunction.h.

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

Definition at line 91 of file otbHuMomentsImageFunction.h.

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

InputImageType typedef support.

Definition at line 87 of file otbHuMomentsImageFunction.h.

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

Definition at line 95 of file otbHuMomentsImageFunction.h.

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

Definition at line 80 of file otbHuMomentsImageFunction.h.

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

Definition at line 93 of file otbHuMomentsImageFunction.h.

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

Definition at line 96 of file otbHuMomentsImageFunction.h.

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

Standard class typedefs.

Definition at line 73 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 79 of file otbHuMomentsImageFunction.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 34 of file otbHuMomentsImageFunction.txx.

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

Definition at line 132 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
virtual

Reimplemented from itk::Object.

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

Evaluate the function at non-integer positions

Definition at line 108 of file otbHuMomentsImageFunction.h.

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

Evaluate the function at non-integer positions

Definition at line 114 of file otbHuMomentsImageFunction.h.

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 ( ) const
virtual

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

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
protectedvirtual

Reimplemented from itk::Object.

Definition at line 42 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 102 of file otbHuMomentsImageFunction.h.

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

Definition at line 139 of file otbHuMomentsImageFunction.h.


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