OTB  6.7.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::TextureImageFunction< TInputImage, TFunctor, TCoordRep > Class Template Reference

#include <otbTextureImageFunction.h>

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

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
 
typedef TFunctor FunctorType
 
typedef Superclass::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef
itk::ConstNeighborhoodIterator
< InputImageType
IteratorType
 
typedef
IteratorType::NeighborhoodType 
NeighborhoodType
 
typedef InputImageType::OffsetType OffsetType
 
typedef Superclass::OutputType OutputType
 
typedef InputImageType::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef itk::NumericTraits
< typename
InputImageType::PixelType >
::RealType 
RealType
 
typedef TextureImageFunction Self
 
typedef InputImageType::SizeType SizeType
 
typedef itk::ImageFunction
< TInputImage, typename
itk::NumericTraits< typename
TInputImage::PixelType >
::RealType, TCoordRep > 
Superclass
 
- Public Types inherited from itk::ImageFunction< TInputImage, itk::NumericTraits< TInputImage::PixelType >::RealType, 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::NumericTraits
< TInputImage::PixelType >
::RealType 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Point< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef ImageFunction Self
 
typedef FunctionBase< Point
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) >
, itk::NumericTraits
< TInputImage::PixelType >
::RealType > 
Superclass
 
- Public Types inherited from itk::FunctionBase< Point< TCoordRep, TInputImage::ImageDimension >, itk::NumericTraits< TInputImage::PixelType >::RealType >
typedef SmartPointer< const SelfConstPointer
 
typedef Point< TCoordRep,
TInputImage::ImageDimension > 
InputType
 
typedef itk::NumericTraits
< TInputImage::PixelType >
::RealType 
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
 
RealType EvaluateAtIndex (const IndexType &index) const override
 
virtual const char * GetNameOfClass () const
 
virtual OffsetType GetOffset ()
 
virtual SizeType GetRadius ()
 
void SetOffset (OffsetType &off)
 
RealType Evaluate (const PointType &point) const override
 
RealType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const override
 
void SetRadius (SizeType &rad)
 
virtual std::string GetName () const
 
- Public Member Functions inherited from itk::ImageFunction< TInputImage, itk::NumericTraits< TInputImage::PixelType >::RealType, 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::NumericTraits
< TInputImage::PixelType >
::RealType 
Evaluate (const PointType &point) const override=0
 
virtual itk::NumericTraits
< TInputImage::PixelType >
::RealType 
EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
 
virtual itk::NumericTraits
< TInputImage::PixelType >
::RealType 
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::NumericTraits< TInputImage::PixelType >::RealType >
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 () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
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 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) override
 
virtual void UnRegister () const noexceptoverride
 
- 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::NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >
static const unsigned int ImageDimension
 

Protected Member Functions

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

void operator= (const Self &)=delete
 
 TextureImageFunction (const Self &)=delete
 

Private Attributes

OffsetType m_Offset
 
SizeType m_Radius
 

Additional Inherited Members

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

Detailed Description

template<class TInputImage, class TFunctor, class TCoordRep = float>
class otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >

Calculate a texture over an image.

This class is templated with the input image and the Functor that will compute the texture.

Definition at line 44 of file otbTextureImageFunction.h.

Member Typedef Documentation

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef itk::SmartPointer<const Self> otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::ConstPointer

Definition at line 55 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef Superclass::ContinuousIndexType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::ContinuousIndexType

Definition at line 71 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef TFunctor otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::FunctorType

Definition at line 65 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef Superclass::IndexType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::IndexType

Definition at line 70 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef TInputImage otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::InputImageType

typedef support.

Definition at line 61 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef itk::ConstNeighborhoodIterator<InputImageType> otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::IteratorType

Definition at line 73 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef IteratorType::NeighborhoodType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::NeighborhoodType

Definition at line 74 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef InputImageType::OffsetType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::OffsetType

Definition at line 66 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef Superclass::OutputType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::OutputType

Definition at line 69 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef InputImageType::PixelType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::PixelType

Definition at line 68 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef itk::SmartPointer<Self> otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::Pointer

Definition at line 54 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef Superclass::PointType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::PointType

Definition at line 72 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef itk::NumericTraits<typename InputImageType::PixelType>::RealType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::RealType

Definition at line 75 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef TextureImageFunction otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::Self

Standard class typedefs.

Definition at line 51 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef InputImageType::SizeType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::SizeType

Definition at line 67 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
typedef itk::ImageFunction<TInputImage, typename itk::NumericTraits<typename TInputImage::PixelType>::RealType, TCoordRep> otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::Superclass

Definition at line 53 of file otbTextureImageFunction.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 34 of file otbTextureImageFunction.hxx.

template<class TInputImage, class TFunctor, class TCoordRep = float>
otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::~TextureImageFunction ( )
inlineoverrideprotected

Definition at line 127 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::TextureImageFunction ( const Self )
privatedelete

Member Function Documentation

template<class TInputImage, class TFunctor, class TCoordRep = float>
virtual::itk::LightObject::Pointer otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputImage, class TFunctor, class TCoordRep = float>
RealType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::Evaluate ( const PointType point) const
inlineoverride

Evaluate the function at non-integer positions

Definition at line 84 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
RealType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::EvaluateAtContinuousIndex ( const ContinuousIndexType cindex) const
inlineoverride

Evaluate the function at non-integer positions

Definition at line 90 of file otbTextureImageFunction.h.

template<class TInputImage , class TFunctor , class TCoordRep >
TextureImageFunction< TInputImage, TFunctor, TCoordRep >::RealType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::EvaluateAtIndex ( const IndexType index) const
override
template<class TInputImage, class TFunctor, class TCoordRep = float>
virtual std::string otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::GetName ( void  ) const
inlinevirtual

Return the texture name

Definition at line 118 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
virtual const char* otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, itk::NumericTraits< TInputImage::PixelType >::RealType, TCoordRep >.

template<class TInputImage, class TFunctor, class TCoordRep = float>
virtual OffsetType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::GetOffset ( )
virtual
template<class TInputImage, class TFunctor, class TCoordRep = float>
virtual SizeType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::GetRadius ( )
virtual
template<class TInputImage, class TFunctor, class TCoordRep = float>
static Pointer otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::New ( )
static

Method for creation through the object factory.

template<class TInputImage, class TFunctor, class TCoordRep = float>
void otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::operator= ( const Self )
privatedelete
template<class TInputImage , class TFunctor , class TCoordRep >
void otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

Reimplemented from itk::Object.

Definition at line 47 of file otbTextureImageFunction.hxx.

template<class TInputImage, class TFunctor, class TCoordRep = float>
void otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::SetOffset ( OffsetType off)
inline

Definition at line 108 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
void otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::SetRadius ( SizeType rad)
inline

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

Definition at line 101 of file otbTextureImageFunction.h.

Member Data Documentation

template<class TInputImage, class TFunctor, class TCoordRep = float>
const unsigned int otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::ImageDimension = InputImageType::ImageDimension
static

Dimension of the underlying image.

Definition at line 78 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
OffsetType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::m_Offset
private

Definition at line 135 of file otbTextureImageFunction.h.

template<class TInputImage, class TFunctor, class TCoordRep = float>
SizeType otb::TextureImageFunction< TInputImage, TFunctor, TCoordRep >::m_Radius
private

Definition at line 134 of file otbTextureImageFunction.h.


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