OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType > Class Template Reference

#include <otbShiftScaleImageAdaptor.h>

+ Inheritance diagram for otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >:
+ Collaboration diagram for otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >:

Public Types

typedef
Accessor::ShiftScalePixelAccessor
< typename TImage::PixelType,
TOutputPixelType > 
AccessorType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef Superclass::IndexType IndexType
 
typedef TImage::PixelType InternalType
 
typedef AccessorType::ExternalType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ShiftScaleImageAdaptor Self
 
typedef itk::ImageAdaptor
< TImage,
Accessor::ShiftScalePixelAccessor
< typename TImage::PixelType,
TOutputPixelType > > 
Superclass
 
- Public Types inherited from itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >
typedef
InternalImageType::AccessorFunctorType::template
Rebind< Self >::Type 
AccessorFunctorType
 
typedef
Accessor::ShiftScalePixelAccessor
< TImage::PixelType,
TOutputPixelType > 
AccessorType
 
typedef SmartPointer< const SelfConstPointer
 
typedef WeakPointer< const SelfConstWeakPointer
 
typedef Superclass::DirectionType DirectionType
 
typedef Superclass::IndexType IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef TImage InternalImageType
 
typedef InternalPixelTypeInternalPixelPointerType
 
typedef
Accessor::ShiftScalePixelAccessor
< TImage::PixelType,
TOutputPixelType >
::InternalType 
InternalPixelType
 
typedef PixelType IOPixelType
 
typedef Superclass::OffsetType OffsetType
 
typedef OffsetType::OffsetValueType OffsetValueType
 
typedef TImage::PixelContainer PixelContainer
 
typedef
TImage::PixelContainerConstPointer 
PixelContainerConstPointer
 
typedef
TImage::PixelContainerPointer 
PixelContainerPointer
 
typedef
Accessor::ShiftScalePixelAccessor
< TImage::PixelType,
TOutputPixelType >
::ExternalType 
PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef Superclass::RegionType RegionType
 
typedef ImageAdaptor Self
 
typedef Superclass::SizeType SizeType
 
typedef SizeType::SizeValueType SizeValueType
 
typedef Superclass::SpacingType SpacingType
 
typedef ImageBase
< itkGetStaticConstMacro(ImageDimension) > 
Superclass
 
- Public Types inherited from itk::ImageBase< TImage::ImageDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef Matrix
< SpacePrecisionType,
TImage::ImageDimension,
TImage::ImageDimension > 
DirectionType
 
typedef unsigned int ImageDimensionType
 
typedef Index
< TImage::ImageDimension > 
IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef Offset
< TImage::ImageDimension > 
OffsetType
 
typedef OffsetType::OffsetValueType OffsetValueType
 
typedef SmartPointer< SelfPointer
 
typedef Point< PointValueType,
TImage::ImageDimension > 
PointType
 
typedef SpacePrecisionType PointValueType
 
typedef ImageRegion
< TImage::ImageDimension > 
RegionType
 
typedef ImageBase Self
 
typedef Size
< TImage::ImageDimension > 
SizeType
 
typedef SizeType::SizeValueType SizeValueType
 
typedef Vector
< SpacingValueType,
TImage::ImageDimension > 
SpacingType
 
typedef SpacePrecisionType SpacingValueType
 
typedef DataObject Superclass
 
- Public Types inherited from itk::DataObject
typedef SmartPointer< const SelfConstPointer
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef SmartPointer< SelfPointer
 
typedef DataObject 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 const char * GetNameOfClass () const
 
TImage::PixelType GetScale () const
 
TImage::PixelType GetShift () const
 
virtual void SetScale (typename TImage::PixelType value)
 
virtual void SetShift (typename TImage::PixelType value)
 
- Public Member Functions inherited from itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >
virtual void Allocate (bool initialize=false) override
 
IndexType ComputeIndex (OffsetValueType offset) const
 
virtual void CopyInformation (const DataObject *data) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const RegionTypeGetBufferedRegion () const override
 
InternalPixelTypeGetBufferPointer ()
 
const InternalPixelTypeGetBufferPointer () const
 
virtual const DirectionTypeGetDirection () const override
 
virtual const RegionTypeGetLargestPossibleRegion () const override
 
virtual ModifiedTimeType GetMTime () const override
 
const OffsetValueTypeGetOffsetTable () const
 
virtual const PointTypeGetOrigin () const override
 
PixelType GetPixel (const IndexType &index) const
 
const AccessorTypeGetPixelAccessor (void) const
 
AccessorTypeGetPixelAccessor (void)
 
PixelContainerPointer GetPixelContainer ()
 
const PixelContainerGetPixelContainer () const
 
virtual const RegionTypeGetRequestedRegion () const override
 
virtual const SpacingTypeGetSpacing () const override
 
virtual void Graft (const DataObject *data) override
 
virtual void Initialize () override
 
virtual void Modified () const override
 
PixelType operator[] (const IndexType &index) const
 
virtual void PropagateRequestedRegion () override
 
virtual void SetBufferedRegion (const RegionType &region) override
 
virtual void SetDirection (const DirectionType &direction) override
 
virtual void SetImage (TImage *)
 
virtual void SetLargestPossibleRegion (const RegionType &region) override
 
virtual void SetOrigin (const float *values) override
 
virtual void SetOrigin (const double *values) override
 
virtual void SetOrigin (const PointType values) override
 
void SetPixel (const IndexType &index, const PixelType &value)
 
void SetPixelAccessor (const AccessorType &accessor)
 
void SetPixelContainer (PixelContainer *container)
 
virtual void SetRequestedRegion (const RegionType &region) override
 
virtual void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegionToLargestPossibleRegion () override
 
virtual void SetSpacing (const double *values) override
 
virtual void SetSpacing (const float *values) override
 
virtual void SetSpacing (const SpacingType &values) override
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, IndexType &index) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const
 
virtual void Update () override
 
virtual void UpdateOutputData () override
 
virtual void UpdateOutputInformation () override
 
virtual bool VerifyRequestedRegion () override
 
- Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
IndexType ComputeIndex (OffsetValueType offset) const
 
OffsetValueType ComputeOffset (const IndexType &ind) const
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const DirectionTypeGetInverseDirection () const
 
virtual unsigned int GetNumberOfComponentsPerPixel () const
 
const OffsetValueTypeGetOffsetTable () const
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual void SetDirection (const DirectionType &direction)
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
virtual void SetNumberOfComponentsPerPixel (unsigned int)
 
virtual void SetOrigin (const float origin[TImage::ImageDimension])
 
virtual void SetOrigin (PointType _arg)
 
virtual void SetOrigin (const double origin[TImage::ImageDimension])
 
virtual void SetRegions (const SizeType &size)
 
virtual void SetRegions (const RegionType &region)
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual void SetSpacing (const double spacing[TImage::ImageDimension])
 
virtual void SetSpacing (const float spacing[TImage::ImageDimension])
 
virtual void SetSpacing (const SpacingType &spacing)
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, TImage::ImageDimension > &index, Point< TCoordRep, TImage::ImageDimension > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, TImage::ImageDimension > &point) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, TImage::ImageDimension > &inputGradient, FixedArray< TCoordRep, TImage::ImageDimension > &outputGradient) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, TImage::ImageDimension > &point, ContinuousIndex< TIndexRep, TImage::ImageDimension > &index) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordRep, TImage::ImageDimension > &point, IndexType &index) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, TImage::ImageDimension > &inputGradient, FixedArray< TCoordRep, TImage::ImageDimension > &outputGradient) const
 
- Public Member Functions inherited from itk::DataObject
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const ModifiedTimeTypeGetPipelineMTime () const
 
virtual const RealTimeStampGetRealTimeStamp () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointerForwardReference
< ProcessObject
GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void PrepareForNewData ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
- 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 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 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::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
static unsigned int GetImageDimension ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- 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 ()
 

Protected Member Functions

 ShiftScaleImageAdaptor ()
 
 ~ShiftScaleImageAdaptor () override
 
- Protected Member Functions inherited from itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >
 ImageAdaptor ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual ~ImageAdaptor ()
 
- Protected Member Functions inherited from itk::ImageBase< TImage::ImageDimension >
virtual void ComputeIndexToPhysicalPointMatrices ()
 
void ComputeOffsetTable ()
 
IndexType FastComputeIndex (OffsetValueType offset) const
 
OffsetValueType FastComputeOffset (const IndexType &ind) const
 
 ImageBase ()
 
virtual void InitializeBufferedRegion ()
 
 ~ImageBase ()
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
virtual void PropagateResetPipeline ()
 
 ~DataObject ()
 
- 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
 
 ShiftScaleImageAdaptor (const Self &)=delete
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::ImageBase< TImage::ImageDimension >
static const ImageDimensionType ImageDimension
 
- Protected Attributes inherited from itk::ImageBase< TImage::ImageDimension >
DirectionType m_Direction
 
DirectionType m_IndexToPhysicalPoint
 
DirectionType m_InverseDirection
 
PointType m_Origin
 
DirectionType m_PhysicalPointToIndex
 
SpacingType m_Spacing
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TImage, class TOutputPixelType>
class otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >

Presents an image as being composed of the shift scale operation of its pixels.

Additional casting is performed according to the input and output image types following C++ default casting rules.

Definition at line 108 of file otbShiftScaleImageAdaptor.h.

Member Typedef Documentation

template<class TImage , class TOutputPixelType >
typedef Accessor::ShiftScalePixelAccessor< typename TImage::PixelType, TOutputPixelType> otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::AccessorType

Definition at line 126 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef itk::SmartPointer<const Self> otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::ConstPointer

Definition at line 121 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef Superclass::IndexType otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::IndexType

Definition at line 123 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef TImage::PixelType otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::InternalType

Definition at line 122 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef AccessorType::ExternalType otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::PixelType

Definition at line 127 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef itk::SmartPointer<Self> otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::Pointer

Definition at line 120 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef ShiftScaleImageAdaptor otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::Self

Standard class typedefs.

Definition at line 115 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
typedef itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor<typename TImage::PixelType, TOutputPixelType> > otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::Superclass

Definition at line 119 of file otbShiftScaleImageAdaptor.h.

Constructor & Destructor Documentation

template<class TImage , class TOutputPixelType >
otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::ShiftScaleImageAdaptor ( )
inlineprotected

Definition at line 168 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::~ShiftScaleImageAdaptor ( )
inlineoverrideprotected

Definition at line 169 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::ShiftScaleImageAdaptor ( const Self )
privatedelete

Member Function Documentation

template<class TImage , class TOutputPixelType >
virtual::itk::LightObject::Pointer otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TImage , class TOutputPixelType >
virtual const char* otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >.

template<class TImage , class TOutputPixelType >
TImage::PixelType otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::GetScale ( ) const
inline

Definition at line 151 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
TImage::PixelType otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::GetShift ( ) const
inline

Definition at line 135 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
static Pointer otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::New ( )
static

Method for creation through the object factory.

template<class TImage , class TOutputPixelType >
void otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::operator= ( const Self )
privatedelete
template<class TImage , class TOutputPixelType >
virtual void otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::SetScale ( typename TImage::PixelType  value)
inlinevirtual

Definition at line 157 of file otbShiftScaleImageAdaptor.h.

template<class TImage , class TOutputPixelType >
virtual void otb::ShiftScaleImageAdaptor< TImage, TOutputPixelType >::SetShift ( typename TImage::PixelType  value)
inlinevirtual

Definition at line 141 of file otbShiftScaleImageAdaptor.h.


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