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::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision > Class Template Reference

#include <otbImageFunctionAdaptor.h>

+ Inheritance diagram for otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >:
+ Collaboration diagram for otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
 
typedef
VariableLengthVectorConverter
< InternalImageFunctionOutputType,
TOutputPrecision > 
ConverterType
 
typedef
TInternalImageFunctionType::CoordRepType 
CoordRepType
 
typedef Superclass::IndexType IndexType
 
typedef
TInternalImageFunctionType::InputImageType 
InputImageType
 
typedef
InternalImageFunctionType::OutputType 
InternalImageFunctionOutputType
 
typedef TInternalImageFunctionType InternalImageFunctionType
 
typedef Superclass::OutputType OutputType
 
typedef OutputType::ValueType OutputValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef ImageFunctionAdaptor Self
 
typedef itk::ImageFunction
< typename
TInternalImageFunctionType::InputImageType,
itk::VariableLengthVector
< TOutputPrecision >, typename
TInternalImageFunctionType::CoordRepType > 
Superclass
 
- Public Types inherited from itk::ImageFunction< TInternalImageFunctionType::InputImageType, itk::VariableLengthVector< TOutputPrecision >, TInternalImageFunctionType::CoordRepType >
typedef SmartPointer< const SelfConstPointer
 
typedef ContinuousIndex
< TInternalImageFunctionType::CoordRepType,
itkGetStaticConstMacro(ImageDimension) > 
ContinuousIndexType
 
typedef
TInternalImageFunctionType::CoordRepType 
CoordRepType
 
typedef InputImageType::IndexType IndexType
 
typedef
InputImageType::IndexValueType 
IndexValueType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef
TInternalImageFunctionType::InputImageType 
InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef
itk::VariableLengthVector
< TOutputPrecision > 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Point
< TInternalImageFunctionType::CoordRepType,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef ImageFunction Self
 
typedef FunctionBase< Point
< TInternalImageFunctionType::CoordRepType,
itkGetStaticConstMacro(ImageDimension) >
, itk::VariableLengthVector
< TOutputPrecision > > 
Superclass
 
- Public Types inherited from itk::FunctionBase< Point< TInternalImageFunctionType::CoordRepType, TInternalImageFunctionType::InputImageType::ImageDimension >, itk::VariableLengthVector< TOutputPrecision > >
typedef SmartPointer< const SelfConstPointer
 
typedef Point
< TInternalImageFunctionType::CoordRepType,
TInternalImageFunctionType::InputImageType::ImageDimension > 
InputType
 
typedef
itk::VariableLengthVector
< TOutputPrecision > 
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
 
OutputType Evaluate (const PointType &point) const override
 
OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const override
 
OutputType EvaluateAtIndex (const IndexType &index) const override
 
virtual
InternalImageFunctionType::Pointer 
GetInternalImageFunction () const
 
virtual const char * GetNameOfClass () const
 
virtual void SetInternalImageFunction (typename InternalImageFunctionType::Pointer _arg)
 
- Public Member Functions inherited from itk::ImageFunction< TInternalImageFunctionType::InputImageType, itk::VariableLengthVector< TOutputPrecision >, TInternalImageFunctionType::CoordRepType >
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::VariableLengthVector
< TOutputPrecision > 
Evaluate (const PointType &point) const override=0
 
virtual
itk::VariableLengthVector
< TOutputPrecision > 
EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
 
virtual
itk::VariableLengthVector
< TOutputPrecision > 
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< TInternalImageFunctionType::CoordRepType, TInternalImageFunctionType::InputImageType::ImageDimension >, itk::VariableLengthVector< TOutputPrecision > >
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< TInternalImageFunctionType::InputImageType, itk::VariableLengthVector< TOutputPrecision >, TInternalImageFunctionType::CoordRepType >
static const unsigned int ImageDimension
 

Protected Member Functions

 ImageFunctionAdaptor ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~ImageFunctionAdaptor () override
 
- Protected Member Functions inherited from itk::ImageFunction< TInternalImageFunctionType::InputImageType, itk::VariableLengthVector< TOutputPrecision >, TInternalImageFunctionType::CoordRepType >
 ImageFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ImageFunction ()
 
- Protected Member Functions inherited from itk::FunctionBase< Point< TInternalImageFunctionType::CoordRepType, TInternalImageFunctionType::InputImageType::ImageDimension >, itk::VariableLengthVector< TOutputPrecision > >
 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

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

Private Attributes

ConverterType::Pointer m_Converter
 
InternalImageFunctionType::Pointer m_InternalImageFunction
 

Additional Inherited Members

- Protected Attributes inherited from itk::ImageFunction< TInternalImageFunctionType::InputImageType, itk::VariableLengthVector< TOutputPrecision >, TInternalImageFunctionType::CoordRepType >
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 TInternalImageFunctionType, class TOutputPrecision = double>
class otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >

Adapt the output of the internal image function to be a itk::VariableLengthVector.

This class is templated over the ImageFunction type and the coordinate representation type.

Definition at line 49 of file otbImageFunctionAdaptor.h.

Member Typedef Documentation

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef itk::SmartPointer<const Self> otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::ConstPointer

Definition at line 62 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef Superclass::ContinuousIndexType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::ContinuousIndexType

Definition at line 74 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef VariableLengthVectorConverter<InternalImageFunctionOutputType, TOutputPrecision> otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::ConverterType

Definition at line 84 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef TInternalImageFunctionType::CoordRepType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::CoordRepType

Definition at line 72 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef Superclass::IndexType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::IndexType

Definition at line 73 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef TInternalImageFunctionType::InputImageType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::InputImageType

Definition at line 68 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef InternalImageFunctionType::OutputType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::InternalImageFunctionOutputType

Definition at line 81 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef TInternalImageFunctionType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::InternalImageFunctionType

Definition at line 80 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef Superclass::OutputType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::OutputType

Definition at line 76 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef OutputType::ValueType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::OutputValueType

Definition at line 77 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef itk::SmartPointer<Self> otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::Pointer

Definition at line 61 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef Superclass::PointType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::PointType

Definition at line 75 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef ImageFunctionAdaptor otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::Self

Definition at line 56 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
typedef itk::ImageFunction< typename TInternalImageFunctionType::InputImageType, itk::VariableLengthVector<TOutputPrecision>, typename TInternalImageFunctionType::CoordRepType > otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::Superclass

Definition at line 60 of file otbImageFunctionAdaptor.h.

Constructor & Destructor Documentation

template<class TInternalImageFunctionType , class TOutputPrecision >
otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::ImageFunctionAdaptor ( )
protected

Definition at line 30 of file otbImageFunctionAdaptor.hxx.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::~ImageFunctionAdaptor ( )
inlineoverrideprotected

Definition at line 114 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::ImageFunctionAdaptor ( const Self )
privatedelete

Member Function Documentation

template<class TInternalImageFunctionType, class TOutputPrecision = double>
virtual::itk::LightObject::Pointer otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
OutputType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::Evaluate ( const PointType point) const
inlineoverride

Definition at line 94 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
OutputType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::EvaluateAtContinuousIndex ( const ContinuousIndexType cindex) const
inlineoverride

Definition at line 100 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType , class TOutputPrecision >
ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::OutputType otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::EvaluateAtIndex ( const IndexType index) const
override

Definition at line 48 of file otbImageFunctionAdaptor.hxx.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
virtual InternalImageFunctionType::Pointer otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::GetInternalImageFunction ( ) const
virtual
template<class TInternalImageFunctionType, class TOutputPrecision = double>
virtual const char* otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::GetNameOfClass ( ) const
virtual
template<class TInternalImageFunctionType, class TOutputPrecision = double>
static Pointer otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::New ( )
static
template<class TInternalImageFunctionType, class TOutputPrecision = double>
void otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::operator= ( const Self )
privatedelete
template<class TInternalImageFunctionType , class TOutputPrecision >
void otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

Reimplemented from itk::Object.

Definition at line 39 of file otbImageFunctionAdaptor.hxx.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
virtual void otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::SetInternalImageFunction ( typename InternalImageFunctionType::Pointer  _arg)
virtual

Member Data Documentation

template<class TInternalImageFunctionType, class TOutputPrecision = double>
const unsigned int otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::ImageDimension = InputImageType::ImageDimension
static

Definition at line 88 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
ConverterType::Pointer otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::m_Converter
private

Definition at line 124 of file otbImageFunctionAdaptor.h.

template<class TInternalImageFunctionType, class TOutputPrecision = double>
InternalImageFunctionType::Pointer otb::ImageFunctionAdaptor< TInternalImageFunctionType, TOutputPrecision >::m_InternalImageFunction
private

Definition at line 122 of file otbImageFunctionAdaptor.h.


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