Orfeo Toolbox  4.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::ImageAdaptor< TImage, TAccessor > Class Template Reference

Give access to partial aspects of voxels from an Image. More...

#include <itkImageAdaptor.h>

+ Inheritance diagram for itk::ImageAdaptor< TImage, TAccessor >:
+ Collaboration diagram for itk::ImageAdaptor< TImage, TAccessor >:

Classes

struct  Rebind
 

Public Types

typedef
InternalImageType::AccessorFunctorType::template
Rebind< Self >::Type 
AccessorFunctorType
 
typedef TAccessor AccessorType
 
typedef SmartPointer< const SelfConstPointer
 
typedef WeakPointer< const SelfConstWeakPointer
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef Superclass::DirectionType DirectionType
 
typedef Superclass::IndexType IndexType
 
typedef IndexType::IndexValueType IndexValueType
 
typedef TImage InternalImageType
 
typedef InternalPixelTypeInternalPixelPointerType
 
typedef TAccessor::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 TAccessor::ExternalType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef SpacePrecisionType PointValueType
 
typedef Superclass::RegionType RegionType
 
typedef ImageAdaptor Self
 
typedef Superclass::SizeType SizeType
 
typedef SizeType::SizeValueType SizeValueType
 
typedef Superclass::SpacingType SpacingType
 
typedef SpacePrecisionType SpacingValueType
 
typedef ImageBase
< itkGetStaticConstMacro(ImageDimension) > 
Superclass
 

Public Member Functions

unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
void Allocate ()
 
IndexType ComputeIndex (OffsetValueType offset) const
 
OffsetValueType ComputeOffset (const IndexType &ind) const
 
virtual void CopyInformation (const DataObject *data)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void DataHasBeenGenerated ()
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
virtual void Delete ()
 
void DisconnectPipeline ()
 
virtual const RegionTypeGetBufferedRegion () const
 
InternalPixelTypeGetBufferPointer ()
 
const InternalPixelTypeGetBufferPointer () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDataReleased () const
 
bool GetDebug () const
 
virtual const DirectionTypeGetDirection ()
 
virtual const DirectionTypeGetDirection () const
 
virtual const DirectionTypeGetInverseDirection ()
 
virtual const RegionTypeGetLargestPossibleRegion () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfComponentsPerPixel () const
 
virtual const std::string & GetObjectName ()
 
const OffsetValueTypeGetOffsetTable () const
 
virtual const PointTypeGetOrigin ()
 
virtual const PointTypeGetOrigin () const
 
virtual const ModifiedTimeTypeGetPipelineMTime ()
 
PixelType GetPixel (const IndexType &index) const
 
AccessorTypeGetPixelAccessor (void)
 
const AccessorTypeGetPixelAccessor (void) const
 
PixelContainerPointer GetPixelContainer ()
 
const PixelContainerGetPixelContainer () const
 
virtual const RealTimeStampGetRealTimeStamp ()
 
virtual int GetReferenceCount () const
 
virtual const bool & GetReleaseDataFlag ()
 
virtual const RegionTypeGetRequestedRegion () const
 
SmartPointerForwardReference
< ProcessObject
GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual const SpacingTypeGetSpacing ()
 
virtual const SpacingTypeGetSpacing () const
 
virtual const TimeStampGetTimeStamp () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void Graft (const DataObject *data)
 
bool HasObserver (const EventObject &event) const
 
virtual void Initialize ()
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
 itkCloneMacro (Self)
 
virtual void Modified () const
 
PixelType operator[] (const IndexType &index) const
 
virtual void PrepareForNewData ()
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void PropagateRequestedRegion () throw ( InvalidRequestedRegionError )
 
virtual void Register () const
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 
virtual void ResetPipeline ()
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual void SetBufferedRegion (const RegionType &region)
 
void SetDebug (bool debugFlag) const
 
virtual void SetDirection (const DirectionType &direction)
 
virtual void SetDirection (const DirectionType &direction)
 
virtual void SetImage (TImage *)
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetNumberOfComponentsPerPixel (unsigned int)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetOrigin (PointType _arg)
 
virtual void SetOrigin (const double origin[VImageDimension])
 
virtual void SetOrigin (const float origin[VImageDimension])
 
virtual void SetOrigin (const PointType values)
 
virtual void SetOrigin (const double *values)
 
virtual void SetOrigin (const float *values)
 
void SetPipelineMTime (ModifiedTimeType time)
 
void SetPixel (const IndexType &index, const PixelType &value)
 
void SetPixelAccessor (const AccessorType &accessor)
 
void SetPixelContainer (PixelContainer *container)
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual void SetReferenceCount (int)
 
virtual void SetRegions (const RegionType &region)
 
virtual void SetRegions (const SizeType &size)
 
void SetReleaseDataFlag (bool flag)
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual void SetRequestedRegion (const DataObject *data)
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual void SetRequestedRegionToLargestPossibleRegion ()
 
virtual void SetSpacing (const SpacingType &values)
 
virtual void SetSpacing (const double *values)
 
virtual void SetSpacing (const float *values)
 
virtual void SetSpacing (const SpacingType &spacing)
 
virtual void SetSpacing (const double spacing[VImageDimension])
 
virtual void SetSpacing (const float spacing[VImageDimension])
 
bool ShouldIReleaseData () const
 
template<typename TCoordRep >
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const
 
template<typename TCoordRep >
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const
 
template<typename TCoordRep >
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const
 
template<typename TCoordRep >
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &index) const
 Get the continuous index from a physical point. More...
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const
 Get the continuous index from a physical point. More...
 
template<typename TCoordRep >
bool TransformPhysicalPointToIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &point, IndexType &index) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const
 
template<typename TCoordRep >
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const
 
virtual void UnRegister () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
virtual void UpdateOutputInformation ()
 
virtual bool VerifyRequestedRegion ()
 

Static Public Member Functions

static void BreakOnError ()
 
static bool GetGlobalReleaseDataFlag ()
 
static bool GetGlobalWarningDisplay ()
 
static unsigned int GetImageDimension ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
static void SetGlobalWarningDisplay (bool flag)
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 

Protected Types

typedef int InternalReferenceCountType
 

Protected Member Functions

 ImageAdaptor ()
 
virtual ~ImageAdaptor ()
 
virtual void ComputeIndexToPhysicalPointMatrices ()
 
void ComputeOffsetTable ()
 
virtual void InitializeBufferedRegion (void)
 
virtual LightObject::Pointer InternalClone () const
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual void PropagateResetPipeline ()
 
virtual void SetTimeStamp (const TimeStamp &time)
 

Protected Attributes

DirectionType m_Direction
 
DirectionType m_IndexToPhysicalPoint
 
DirectionType m_InverseDirection
 
PointType m_Origin
 
DirectionType m_PhysicalPointToIndex
 
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 
SpacingType m_Spacing
 

Private Member Functions

 ImageAdaptor (const Self &)
 
void operator= (const Self &)
 
template<typename TPixelType >
void UpdateAccessor (typename::itk::VectorImage< TPixelType, ImageDimension > *)
 
template<typename T >
void UpdateAccessor (T *)
 

Private Attributes

TImage::Pointer m_Image
 
AccessorType m_PixelAccessor
 

Detailed Description

template<typename TImage, typename TAccessor>
class itk::ImageAdaptor< TImage, TAccessor >

Give access to partial aspects of voxels from an Image.

ImageAdaptors are templated over the ImageType and over a functor that will specify what part of the pixel can be accessed

The basic aspects of this class are the types it defines.

Image adaptors can be used as intermediate classes that allow the sending of an image to a filter, specifying what part of the image pixels the filter will act on.

The TAccessor class should implement the Get and Set methods These two will specify how data can be put and get from parts of each pixel. It should define the types ExternalType and InternalType too.

{ImageProcessing/ImageAdaptorExtractVectorComponent,Present an image by first performing an operation}

Definition at line 55 of file itkImageAdaptor.h.

Member Typedef Documentation

template<typename TImage, typename TAccessor>
typedef InternalImageType::AccessorFunctorType::template Rebind< Self >::Type itk::ImageAdaptor< TImage, TAccessor >::AccessorFunctorType

typedef of the functor that chooses the appropriate accessor Image or VectorImage.

Definition at line 96 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef TAccessor itk::ImageAdaptor< TImage, TAccessor >::AccessorType

Accessor type that convert data between internal and external representations.

Definition at line 92 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef SmartPointer< const Self > itk::ImageAdaptor< TImage, TAccessor >::ConstPointer

Definition at line 68 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef WeakPointer< const Self > itk::ImageAdaptor< TImage, TAccessor >::ConstWeakPointer

Definition at line 69 of file itkImageAdaptor.h.

typedef std::string itk::DataObject::DataObjectIdentifierType
inherited

Definition at line 284 of file itkDataObject.h.

typedef std::vector< Pointer >::size_type itk::DataObject::DataObjectPointerArraySizeType
inherited

Which of the source's outputs corresponds to this data object?

Definition at line 314 of file itkDataObject.h.

template<typename TImage, typename TAccessor>
typedef Superclass::DirectionType itk::ImageAdaptor< TImage, TAccessor >::DirectionType

Direction typedef support. The Direction is a matix of direction cosines that specify the direction between samples.

Definition at line 125 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef Superclass::IndexType itk::ImageAdaptor< TImage, TAccessor >::IndexType

Index typedef support. An index is used to access pixel values.

Definition at line 99 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef IndexType::IndexValueType itk::ImageAdaptor< TImage, TAccessor >::IndexValueType

Definition at line 100 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef TImage itk::ImageAdaptor< TImage, TAccessor >::InternalImageType

Typedef of unadapted image

Definition at line 72 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef InternalPixelType* itk::ImageAdaptor< TImage, TAccessor >::InternalPixelPointerType

Convenient typedef.

Definition at line 247 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef TAccessor::InternalType itk::ImageAdaptor< TImage, TAccessor >::InternalPixelType

Pixel typedef support. Used to declare pixel type in filters or other operations.

Definition at line 86 of file itkImageAdaptor.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 152 of file itkLightObject.h.

template<typename TImage, typename TAccessor>
typedef PixelType itk::ImageAdaptor< TImage, TAccessor >::IOPixelType

Definition at line 88 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef Superclass::OffsetType itk::ImageAdaptor< TImage, TAccessor >::OffsetType

Offset typedef support.

Definition at line 107 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef OffsetType::OffsetValueType itk::ImageAdaptor< TImage, TAccessor >::OffsetValueType

Definition at line 108 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef TImage::PixelContainer itk::ImageAdaptor< TImage, TAccessor >::PixelContainer

PixelContainer typedef support. Used to construct a container for the pixel data.

Definition at line 219 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef TImage::PixelContainerConstPointer itk::ImageAdaptor< TImage, TAccessor >::PixelContainerConstPointer

Definition at line 221 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef TImage::PixelContainerPointer itk::ImageAdaptor< TImage, TAccessor >::PixelContainerPointer

Definition at line 220 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef TAccessor::ExternalType itk::ImageAdaptor< TImage, TAccessor >::PixelType

Pixel typedef support. Used to declare pixel type in filters or other operations.

Definition at line 78 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef SmartPointer< Self > itk::ImageAdaptor< TImage, TAccessor >::Pointer

Definition at line 67 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef Superclass::PointType itk::ImageAdaptor< TImage, TAccessor >::PointType

Origin typedef support. The origin is the geometric coordinates of the index (0,0).

Definition at line 120 of file itkImageAdaptor.h.

typedef SpacePrecisionType itk::ImageBase< VImageDimension >::PointValueType
inherited

Origin typedef support. The origin is the geometric coordinates of the index (0,0).

Definition at line 158 of file itkImageBase.h.

template<typename TImage, typename TAccessor>
typedef Superclass::RegionType itk::ImageAdaptor< TImage, TAccessor >::RegionType

Region typedef support. A region is used to specify a subset of an image.

Definition at line 112 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef ImageAdaptor itk::ImageAdaptor< TImage, TAccessor >::Self

Standard class typedefs.

Definition at line 65 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef Superclass::SizeType itk::ImageAdaptor< TImage, TAccessor >::SizeType

Size typedef support. A size is used to define region bounds.

Definition at line 103 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef SizeType::SizeValueType itk::ImageAdaptor< TImage, TAccessor >::SizeValueType

Definition at line 104 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
typedef Superclass::SpacingType itk::ImageAdaptor< TImage, TAccessor >::SpacingType

Spacing typedef support. Spacing holds the size of a pixel. The spacing is the geometric distance between image samples.

Definition at line 116 of file itkImageAdaptor.h.

typedef SpacePrecisionType itk::ImageBase< VImageDimension >::SpacingValueType
inherited

Spacing typedef support. Spacing holds the size of a pixel. The spacing is the geometric distance between image samples along each dimension. ITK only supports positive spacing value: negative values may cause undesirable results.

Definition at line 153 of file itkImageBase.h.

template<typename TImage, typename TAccessor>
typedef ImageBase< itkGetStaticConstMacro(ImageDimension) > itk::ImageAdaptor< TImage, TAccessor >::Superclass

Definition at line 66 of file itkImageAdaptor.h.

Constructor & Destructor Documentation

template<typename TImage , typename TAccessor >
itk::ImageAdaptor< TImage, TAccessor >::ImageAdaptor ( )
protected

Constructor

Definition at line 30 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
itk::ImageAdaptor< TImage, TAccessor >::~ImageAdaptor ( )
protectedvirtual

Destructor

Definition at line 45 of file itkImageAdaptor.hxx.

template<typename TImage, typename TAccessor>
itk::ImageAdaptor< TImage, TAccessor >::ImageAdaptor ( const Self )
private

Member Function Documentation

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
)
inherited

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

Definition at line 398 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), itk::ProgressAccumulator::RegisterInternalFilter(), otb::ImageFileWriter< TInputImage >::Update(), and otb::WriterWatcherBase::WriterWatcherBase().

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
) const
inherited

Definition at line 409 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

template<typename TImage, typename TAccessor>
void itk::ImageAdaptor< TImage, TAccessor >::Allocate ( )
inlinevirtual

Allocate the image memory. Dimension and Size must be set a priori.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 190 of file itkImageAdaptor.h.

void itk::LightObject::BreakOnError ( )
staticinherited

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

Definition at line 150 of file itkLightObject.cxx.

template<typename TImage , typename TAccessor >
ImageAdaptor< TImage, TAccessor >::IndexType itk::ImageAdaptor< TImage, TAccessor >::ComputeIndex ( OffsetValueType  offset) const

Compute Index given an Offset

Definition at line 136 of file itkImageAdaptor.hxx.

virtual void itk::ImageBase< VImageDimension >::ComputeIndexToPhysicalPointMatrices ( )
protectedvirtualinherited

Compute helper matrices used to transform Index coordinates to PhysicalPoint coordinates and back. This method is virtual and will be overloaded in derived classes in order to provide backward compatibility behavior in classes that did not used to take image orientation into account.

OffsetValueType itk::ImageBase< VImageDimension >::ComputeOffset ( const IndexType ind) const
inlineinherited

Compute an offset from the beginning of the buffer for a pixel at the specified index. The index is not checked as to whether it is inside the current buffer, so the computed offset could conceivably be outside the buffer. If bounds checking is needed, one can call ImageRegion::IsInside(ind) on the BufferedRegion prior to calling ComputeOffset.

Definition at line 328 of file itkImageBase.h.

References itk::ImageHelper< NImageDimension, NLoop >::ComputeOffset(), itk::ImageBase< VImageDimension >::GetBufferedRegion(), and itk::ImageBase< VImageDimension >::m_OffsetTable.

void itk::ImageBase< VImageDimension >::ComputeOffsetTable ( )
protectedinherited

Calculate the offsets needed to move from one pixel to the next along a row, column, slice, volume, etc. These offsets are based on the size of the BufferedRegion. This should be called after the BufferedRegion is set.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::CopyInformation ( const DataObject data)
virtual

Copy information from the specified data set. This method is part of the pipeline execution model. By default, a ProcessObject will copy meta-data from the first input to all of its outputs. See ProcessObject::GenerateOutputInformation(). Each subclass of DataObject is responsible for being able to copy whatever meta-data it needs from from another DataObject. ImageBase has more meta-data than its DataObject. Thus, it must provide its own version of CopyInformation() in order to copy the LargestPossibleRegion from the input parameter.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 214 of file itkImageAdaptor.hxx.

template<typename TImage, typename TAccessor>
virtual::itk::LightObject::Pointer itk::ImageAdaptor< TImage, TAccessor >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

Reimplemented in itk::NthElementImageAdaptor< TImage, TOutputPixelType >.

void itk::DataObject::DataHasBeenGenerated ( )
virtualinherited

Inform the pipeline mechanism that data has been generated. This method is called by ProcessObject::UpdateOutputData() once the process object has finished generating its data. This essentially marks the DataObject as being updated and ready for use.

Reimplemented in itk::GPUImage< TPixel, VImageDimension >.

Definition at line 442 of file itkDataObject.cxx.

Referenced by itk::GPUImage< TPixel, VImageDimension >::DataHasBeenGenerated(), and itk::TemporalProcessObject::UpdateOutputData().

void itk::Object::DebugOff ( ) const
virtualinherited

Turn debugging output off.

Definition at line 253 of file itkObject.cxx.

void itk::Object::DebugOn ( ) const
virtualinherited

Turn debugging output on.

Definition at line 243 of file itkObject.cxx.

void itk::LightObject::Delete ( )
virtualinherited

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

Delete a itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C++ delete method will not work with reference counting.

Definition at line 91 of file itkLightObject.cxx.

void itk::DataObject::DisconnectPipeline ( )
inherited

Separate this data object from the pipeline. This routine disconnects a data object from the upstream pipeline. Hence an Update() from downstream will not propagate back past this data object. To completely isolate this data object from the pipeline, the application must remove this data object from any filters which it is connected as the input.

Definition at line 222 of file itkDataObject.cxx.

References NULL.

template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::RegionType & itk::ImageAdaptor< TImage, TAccessor >::GetBufferedRegion ( void  ) const
virtual

Get the region object that defines the size and starting index of the region of the image currently loaded in memory. This method overloads the one in ImageBase in order to delegate to the adapted image.

See Also
ImageRegion, SetLargestPossibleRegion(), SetRequestedRegion()

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 398 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
ImageAdaptor< TImage, TAccessor >::InternalPixelType * itk::ImageAdaptor< TImage, TAccessor >::GetBufferPointer ( )

Return a pointer to the beginning of the buffer. This is used by the image iterator class.

Definition at line 351 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::InternalPixelType * itk::ImageAdaptor< TImage, TAccessor >::GetBufferPointer ( ) const

Definition at line 342 of file itkImageAdaptor.hxx.

Command * itk::Object::GetCommand ( unsigned long  tag)
inherited

Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to assign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.

Definition at line 421 of file itkObject.cxx.

References itk::Object::GetCommand(), and NULL.

Referenced by itk::Object::GetCommand().

bool itk::DataObject::GetDataReleased ( ) const
inlineinherited

Get the flag indicating the data has been released.

Definition at line 354 of file itkDataObject.h.

bool itk::Object::GetDebug ( ) const
inherited

Get the value of the debug flag.

Definition at line 263 of file itkObject.cxx.

Referenced by otb::ogr::ImageReference< double >::GetDebug().

virtual const DirectionType& itk::ImageBase< VImageDimension >::GetDirection ( void  )
virtualinherited

Get the direction cosines of the image. The direction cosines are vectors that point from one pixel to the next. For ImageBase and Image, the default direction is identity.

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::DirectionType & itk::ImageAdaptor< TImage, TAccessor >::GetDirection ( void  ) const
virtual

Get the direction cosines of the image. The direction cosines are vectors that point from one pixel to the next. For ImageBase and Image, the default direction is identity.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 319 of file itkImageAdaptor.hxx.

bool itk::DataObject::GetGlobalReleaseDataFlag ( )
staticinherited

Definition at line 195 of file itkDataObject.cxx.

bool itk::Object::GetGlobalWarningDisplay ( )
staticinherited

Get the value of the global debug output control flag.

Definition at line 391 of file itkObject.cxx.

static unsigned int itk::ImageBase< VImageDimension >::GetImageDimension ( )
inlinestaticinherited

Image dimension. The dimension of an image is fixed at construction.

Definition at line 170 of file itkImageBase.h.

virtual const DirectionType& itk::ImageBase< VImageDimension >::GetInverseDirection ( )
virtualinherited

Get the inverse direction cosines of the image. These are calculated automatically in SetDirection, thus there is no Set accessor.

template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::RegionType & itk::ImageAdaptor< TImage, TAccessor >::GetLargestPossibleRegion ( void  ) const
virtual

Get the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary conditions. This method overloads the one in ImageBase in order to delegate to the adapted image.

See Also
ImageRegion, GetBufferedRegion(), GetRequestedRegion()

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 421 of file itkImageAdaptor.hxx.

MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  )
inherited
const MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  ) const
inherited
Returns
A constant reference to this objects MetaDataDictionary.

Definition at line 548 of file itkObject.cxx.

References NULL.

template<typename TImage , typename TAccessor >
ModifiedTimeType itk::ImageAdaptor< TImage, TAccessor >::GetMTime ( void  ) const
virtual

Delegate GetMTime to the Internal Image

Reimplemented from itk::Object.

Definition at line 371 of file itkImageAdaptor.hxx.

template<typename TImage, typename TAccessor>
virtual const char* itk::ImageAdaptor< TImage, TAccessor >::GetNameOfClass ( ) const
virtual
virtual unsigned int itk::ImageBase< VImageDimension >::GetNumberOfComponentsPerPixel ( ) const
virtualinherited

INTERNAL This method is used internally by filters to copy meta-data from the output to the input. Users should not have a need to use this method.

Filters that override the ProcessObject's GenerateOutputInformation() should generally have the following line if they want to propagate meta- data for both Image and VectorImage

outputImage->SetNumberOfComponentsPerPixel(
inputImage->GetNumberOfComponentsPerPixel() )
See Also
ImageBase, VectorImage

Returns/Sets the number of components in the image. Note that in the ImageBase implementation, this always returns 1. Image returns the

returned from NumericTraits for the pixel type, and VectorImage

returns the vector length set by the user.

virtual const std::string& itk::Object::GetObjectName ( )
virtualinherited
template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::OffsetValueType * itk::ImageAdaptor< TImage, TAccessor >::GetOffsetTable ( void  ) const

Get the OffsetTable from the adapted image

Definition at line 127 of file itkImageAdaptor.hxx.

virtual const PointType& itk::ImageBase< VImageDimension >::GetOrigin ( void  )
virtualinherited

Get the origin of the image. The origin is the geometric coordinates of the index (0,0). The value returned is a Point<double, VImageDimension>. For ImageBase and Image, the default origin is 0.

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::PointType & itk::ImageAdaptor< TImage, TAccessor >::GetOrigin ( void  ) const
virtual

Get the origin of the image. The origin is the geometric coordinates of the image origin.

See Also
SetOrigin()

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 300 of file itkImageAdaptor.hxx.

virtual const ModifiedTimeType& itk::DataObject::GetPipelineMTime ( )
virtualinherited
template<typename TImage, typename TAccessor>
PixelType itk::ImageAdaptor< TImage, TAccessor >::GetPixel ( const IndexType index) const
inline

Get a pixel (read only version)

Definition at line 204 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
AccessorType& itk::ImageAdaptor< TImage, TAccessor >::GetPixelAccessor ( void  )
inline

Return the Data Accesor object

Definition at line 297 of file itkImageAdaptor.h.

Referenced by itk::NthElementImageAdaptor< TImage, TOutputPixelType >::SelectNthElement().

template<typename TImage, typename TAccessor>
const AccessorType& itk::ImageAdaptor< TImage, TAccessor >::GetPixelAccessor ( void  ) const
inline

Return the Data Accesor object

Definition at line 301 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
PixelContainerPointer itk::ImageAdaptor< TImage, TAccessor >::GetPixelContainer ( )
inline

Return a pointer to the container.

Definition at line 224 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
const PixelContainer* itk::ImageAdaptor< TImage, TAccessor >::GetPixelContainer ( ) const
inline

Definition at line 227 of file itkImageAdaptor.h.

virtual const RealTimeStamp& itk::DataObject::GetRealTimeStamp ( )
virtualinherited
virtual int itk::LightObject::GetReferenceCount ( ) const
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 112 of file itkLightObject.h.

virtual const bool& itk::DataObject::GetReleaseDataFlag ( )
virtualinherited
template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::RegionType & itk::ImageAdaptor< TImage, TAccessor >::GetRequestedRegion ( void  ) const
virtual

Get the region object that defines the size and starting index for the region of the image requested (i.e., the region of the image to be operated on by a filter). This method overloads the one in ImageBase in order to delegate to the adapted image.

See Also
ImageRegion, SetLargestPossibleRegion(), SetBufferedRegion()

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 470 of file itkImageAdaptor.hxx.

SmartPointerForwardReference< ProcessObject > itk::DataObject::GetSource ( void  ) const
inherited

Get the process object that generated this data object. If there is no process object, then the data object has been disconnected from the pipeline, or the data object was created manually. (Note: we cannot use the GetObjectMacro() defined in itkMacro because the mutual dependency of DataObject and ProcessObject causes compile problems. Also, a forward reference smart pointer is returned, not a smart pointer, because of the circular dependency between the process and data object.)

GetSource() returns a SmartPointerForwardReference and not a WeakPointer because it is assumed the code calling GetSource() wants to hold a long term reference to the source.

Definition at line 292 of file itkDataObject.cxx.

Referenced by otb::PipelineMemoryPrintCalculator::EvaluateProcessObjectPrintRecursive().

DataObject::DataObjectPointerArraySizeType itk::DataObject::GetSourceOutputIndex ( ) const
inherited
const DataObject::DataObjectIdentifierType & itk::DataObject::GetSourceOutputName ( ) const
inherited

Which of the source's outputs corresponds to this data object?

Definition at line 300 of file itkDataObject.cxx.

virtual const SpacingType& itk::ImageBase< VImageDimension >::GetSpacing ( void  )
virtualinherited

Get the spacing (size of a pixel) `of the image. The spacing is the geometric distance between image samples along each dimension. The value returned is a Vector<double, VImageDimension>. For ImageBase and Image, the default data spacing is unity.

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<typename TImage , typename TAccessor >
const ImageAdaptor< TImage, TAccessor >::SpacingType & itk::ImageAdaptor< TImage, TAccessor >::GetSpacing ( void  ) const
virtual

Get the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples.

See Also
SetSpacing()

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 231 of file itkImageAdaptor.hxx.

const TimeStamp & itk::Object::GetTimeStamp ( ) const
virtualinherited

Return this object's time stamp.

Return the modification for this object.

Reimplemented in itk::RealTimeClock.

Definition at line 293 of file itkObject.cxx.

Referenced by itk::RealTimeClock::GetTimeStamp().

ModifiedTimeType itk::DataObject::GetUpdateMTime ( ) const
virtualinherited

MTime for the last time this DataObject was generated.

Definition at line 452 of file itkDataObject.cxx.

static void itk::DataObject::GlobalReleaseDataFlagOff ( )
inlinestaticinherited

Definition at line 340 of file itkDataObject.h.

static void itk::DataObject::GlobalReleaseDataFlagOn ( )
inlinestaticinherited

Definition at line 338 of file itkDataObject.h.

static void itk::Object::GlobalWarningDisplayOff ( )
inlinestaticinherited

Definition at line 118 of file itkObject.h.

Referenced by itk::OutputWindow::DisplayText().

static void itk::Object::GlobalWarningDisplayOn ( )
inlinestaticinherited

Definition at line 116 of file itkObject.h.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::Graft ( const DataObject data)
virtual

Graft the data and information from one image to another. This is a convenience method to setup a second image with all the meta information of another image and use the same pixel container. Note that this method is different than just using two SmartPointers to the same image since separate DataObjects are still maintained. This method is similar to ImageSource::GraftOutput(). The implementation in ImageBase simply calls CopyInformation() and copies the region ivars. The implementation here refers to the superclass' implementation and then copies over the pixel container.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 77 of file itkImageAdaptor.hxx.

bool itk::Object::HasObserver ( const EventObject event) const
inherited

Return true if an observer is registered for this event.

Definition at line 472 of file itkObject.cxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::Initialize ( void  )
virtual

Restore the data object to its initial state. This means releasing memory.

Reimplemented from itk::DataObject.

Definition at line 52 of file itkImageAdaptor.hxx.

virtual void itk::ImageBase< VImageDimension >::InitializeBufferedRegion ( void  )
protectedvirtualinherited

Restores the buffered region to it's default state This method does not call Modify because Initialization is called by ReleaseData and can not modify the MTime

See Also
ReleaseData, Initialize, SetBufferedRegion
LightObject::Pointer itk::LightObject::InternalClone ( ) const
protectedvirtualinherited
void itk::Object::InvokeEvent ( const EventObject event)
inherited
void itk::Object::InvokeEvent ( const EventObject event) const
inherited

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

Definition at line 462 of file itkObject.cxx.

itk::LightObject::itkCloneMacro ( Self  )
inherited
template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::Modified ( void  ) const
virtual

Delegate Modified to the Internal Image

Reimplemented from itk::Object.

Definition at line 360 of file itkImageAdaptor.hxx.

Referenced by itk::NthElementImageAdaptor< TImage, TOutputPixelType >::SelectNthElement().

template<typename TImage, typename TAccessor>
static Pointer itk::ImageAdaptor< TImage, TAccessor >::New ( )
static

Method for creation through the object factory.

template<typename TImage, typename TAccessor>
void itk::ImageAdaptor< TImage, TAccessor >::operator= ( const Self )
private
template<typename TImage, typename TAccessor>
PixelType itk::ImageAdaptor< TImage, TAccessor >::operator[] ( const IndexType index) const
inline

Access a pixel. This version can only be an rvalue.

Definition at line 208 of file itkImageAdaptor.h.

virtual void itk::DataObject::PrepareForNewData ( )
inlinevirtualinherited

Setup a DataObject to receive new data. This method is called by the pipeline mechanism on each output of filter that needs to execute. The default implementation is to return a DataObject to its initial state. This may involve releasing previously allocated bulk data. Subclasses of DataObject may want to override this method and/or the Initialize() method if they want a different default behavior (for instance a DataObject might want finer control over its bulk data memory management).

Definition at line 416 of file itkDataObject.h.

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 137 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<(), and itk::VideoStream< TFrameType >::PrintSelf().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 315 of file itkLightObject.cxx.

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const
protectedinherited

Definition at line 483 of file itkObject.cxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Chaining method to print an object's instance variables, as well as its superclasses.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 118 of file itkImageAdaptor.hxx.

void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 325 of file itkLightObject.cxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::PropagateRequestedRegion ( void  ) throw ( InvalidRequestedRegionError )
virtual

Methods to update the pipeline. Called internally by the pipeline mechanism.

Reimplemented from itk::DataObject.

Definition at line 187 of file itkImageAdaptor.hxx.

void itk::DataObject::PropagateResetPipeline ( )
protectedvirtualinherited

Propagate a call to ResetPipeline(). Called only from ProcessObject.

Definition at line 382 of file itkDataObject.cxx.

void itk::Object::Register ( ) const
virtualinherited

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

Definition at line 323 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::RegisterFactory(), and itk::ObjectFactoryBase::RegisterFactoryInternal().

void itk::DataObject::ReleaseData ( )
inherited

Release data back to system to conserve memory resource. Used during pipeline execution. Releasing this data does not make down-stream data invalid, so it does not modify the MTime of this data object.

Definition at line 203 of file itkDataObject.cxx.

virtual void itk::DataObject::ReleaseDataFlagOff ( )
virtualinherited
virtual void itk::DataObject::ReleaseDataFlagOn ( )
virtualinherited
void itk::Object::RemoveAllObservers ( )
inherited

Remove all observers .

Definition at line 442 of file itkObject.cxx.

void itk::Object::RemoveObserver ( unsigned long  tag)
inherited

Remove the observer with this tag value.

Definition at line 432 of file itkObject.cxx.

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), and otb::ImageFileWriter< TInputImage >::Update().

virtual bool itk::ImageBase< VImageDimension >::RequestedRegionIsOutsideOfTheBufferedRegion ( )
virtualinherited

Determine whether the RequestedRegion is outside of the BufferedRegion. This method returns true if the RequestedRegion is outside the BufferedRegion (true if at least one pixel is outside). This is used by the pipeline mechanism to determine whether a filter needs to re-execute in order to satisfy the current request. If the current RequestedRegion is already inside the BufferedRegion from the previous execution (and the current filter is up to date), then a given filter does not need to re-execute

Reimplemented from itk::DataObject.

void itk::DataObject::ResetPipeline ( )
virtualinherited

Reset the pipeline. If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called.

Definition at line 375 of file itkDataObject.cxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetBufferedRegion ( const RegionType region)
virtual

Set the region object that defines the size and starting index of the region of the image currently load in memory.

See Also
ImageRegion, SetLargestPossibleRegion(), SetRequestedRegion()

Definition at line 385 of file itkImageAdaptor.hxx.

virtual void itk::ImageBase< VImageDimension >::SetBufferedRegion ( const RegionType region)
virtualinherited

Set the region object that defines the size and starting index of the region of the image currently loaded in memory.

See Also
ImageRegion, SetLargestPossibleRegion(), SetRequestedRegion()

Reimplemented in itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

void itk::Object::SetDebug ( bool  debugFlag) const
inherited

Set the value of the debug flag. A non-zero value turns debugging on.

Definition at line 273 of file itkObject.cxx.

virtual void itk::ImageBase< VImageDimension >::SetDirection ( const DirectionType direction)
virtualinherited

Set the direction cosines of the image. The direction cosines are vectors that point from one pixel to the next.

Each column of the matrix indicates the direction cosines of the unit vector that is parallel to the lines of the image grid corresponding to that dimension. For example, an image with Direction matrix

0.866 0.500 -0.500 0.866

has an image grid were the fastest changing index (dimension[0]) walks over a line that in physical space is oriented parallel to the vector (0.866, -0.5). The second fastest changing index (dimension[1]) walks along a line that in Physical space is oriented parallel to the vector (0.5, 0.866)

The columns of the Direction matrix are expected to form an orthogonal right handed coordinate syste. But this is not checked nor enforced in itk::ImageBase.

For details, please see:

http://www.itk.org/Wiki/Proposals:Orientation#Some_notes_on_the_DICOM_convention_and_current_ITK_usage

See Also
GetDirection()

Reimplemented in itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetDirection ( const DirectionType direction)
virtual

Set the direction of the image.

Definition at line 309 of file itkImageAdaptor.hxx.

void itk::DataObject::SetGlobalReleaseDataFlag ( bool  val)
staticinherited

Turn on/off a flag to control whether every object releases its data after being used by a filter. Being a global flag, it controls the behavior of all DataObjects and ProcessObjects.

Definition at line 183 of file itkDataObject.cxx.

void itk::Object::SetGlobalWarningDisplay ( bool  val)
staticinherited

This is a global flag that controls whether any debug, warning or error messages are displayed.

Set the value of the global debug output control flag.

Definition at line 381 of file itkObject.cxx.

template<typename TImage, typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetImage ( TImage *  image)
virtual

Set Internal Image

Definition at line 328 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetLargestPossibleRegion ( const RegionType region)
virtual

Set the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary conditions.

See Also
ImageRegion, SetBufferedRegion(), SetRequestedRegion()

Definition at line 408 of file itkImageAdaptor.hxx.

virtual void itk::ImageBase< VImageDimension >::SetLargestPossibleRegion ( const RegionType region)
virtualinherited

Set the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary true conditions.

See Also
ImageRegion, SetBufferedRegion(), SetRequestedRegion()

Reimplemented in itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs)
inherited
virtual void itk::ImageBase< VImageDimension >::SetNumberOfComponentsPerPixel ( unsigned  int)
virtualinherited
virtual void itk::Object::SetObjectName ( std::string  _arg)
virtualinherited

A facility to help application programmers set a human identifiable name for a given object. This has no inherent use in ITK, but is a convenience to allow developers to provide a name for this object.

virtual void itk::ImageBase< VImageDimension >::SetOrigin ( PointType  _arg)
virtualinherited

Set the origin of the image. The origin is the geometric coordinates of the image origin (pixel [0,0]). It is stored internally as SpacePrecisionType but may be set from float or double.

See Also
GetOrigin()

Reimplemented in itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

virtual void itk::ImageBase< VImageDimension >::SetOrigin ( const double  origin[VImageDimension])
virtualinherited
virtual void itk::ImageBase< VImageDimension >::SetOrigin ( const float  origin[VImageDimension])
virtualinherited
template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetOrigin ( const PointType  values)
virtual

Set the origin of the image.

Definition at line 270 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetOrigin ( const double *  values)
virtual

Definition at line 280 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetOrigin ( const float *  values)
virtual

Definition at line 290 of file itkImageAdaptor.hxx.

void itk::DataObject::SetPipelineMTime ( ModifiedTimeType  time)
inlineinherited

The maximum MTime of all upstream filters and data objects. This does not include the MTime of this data object.

Definition at line 393 of file itkDataObject.h.

Referenced by itk::ProcessObject::UpdateOutputInformation().

template<typename TImage, typename TAccessor>
void itk::ImageAdaptor< TImage, TAccessor >::SetPixel ( const IndexType index,
const PixelType value 
)
inline

Set a pixel.

Definition at line 200 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
void itk::ImageAdaptor< TImage, TAccessor >::SetPixelAccessor ( const AccessorType accessor)
inline

Sets the Data Accesor object

Definition at line 305 of file itkImageAdaptor.h.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetPixelContainer ( PixelContainer container)

Set the container to use. Note that this does not cause the DataObject to be modified.

Definition at line 64 of file itkImageAdaptor.hxx.

virtual void itk::DataObject::SetRealTimeStamp ( RealTimeStamp  _arg)
virtualinherited

RealTime stamp for the last time this DataObject was generated. By default, the real time stamp is initialized to the origin of the Unix epoch. That is the time 00:00:00 UTC on 1 January 1970 (or 1970-01-01T00:00:00Z ISO 8601)

void itk::Object::SetReferenceCount ( int  ref)
virtualinherited

Sets the reference count (use with care)

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 359 of file itkObject.cxx.

virtual void itk::ImageBase< VImageDimension >::SetRegions ( const RegionType region)
inlinevirtualinherited

Convenience methods to set the LargestPossibleRegion, BufferedRegion and RequestedRegion. Allocate must still be called.

Definition at line 294 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::SetBufferedRegion(), itk::ImageBase< VImageDimension >::SetLargestPossibleRegion(), and itk::ImageBase< VImageDimension >::SetRequestedRegion().

virtual void itk::ImageBase< VImageDimension >::SetRegions ( const SizeType size)
inlinevirtualinherited
void itk::DataObject::SetReleaseDataFlag ( bool  flag)
inlineinherited

Turn on/off a flag to control whether this object's data is released after being used by a filter.

Definition at line 323 of file itkDataObject.h.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetRequestedRegion ( const RegionType region)
virtual

Set the region object that defines the size and starting index for the region of the image requested.

See Also
ImageRegion, SetLargestPossibleRegion(), SetBufferedRegion()

Definition at line 431 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetRequestedRegion ( const DataObject data)
virtual

Set the requested region from this data object to match the requested region of the data object passed in as a parameter. This method implements the API from DataObject. The data object parameter must be castable to an ImageBase.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 444 of file itkImageAdaptor.hxx.

virtual void itk::ImageBase< VImageDimension >::SetRequestedRegion ( const RegionType region)
virtualinherited

Set the region object that defines the size and starting index for the region of the image requested (i.e., the region of the image to be operated on by a filter). Setting the RequestedRegion does not cause the object to be modified. This method is called internally by the pipeline and therefore bypasses the modified time calculation.

See Also
ImageRegion, SetLargestPossibleRegion(), SetBufferedRegion()

Reimplemented in itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetRequestedRegionToLargestPossibleRegion ( )
virtual

Set the RequestedRegion to the LargestPossibleRegion. This forces a filter to produce all of the output in one execution (i.e. not streaming) on the next call to Update().

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 201 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetSpacing ( const SpacingType values)
virtual

Set the spacing (size of a pixel) of the image.

Definition at line 240 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetSpacing ( const double *  values)
virtual

Definition at line 250 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::SetSpacing ( const float *  values)
virtual

Definition at line 260 of file itkImageAdaptor.hxx.

virtual void itk::ImageBase< VImageDimension >::SetSpacing ( const SpacingType spacing)
virtualinherited

Set the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples along each dimension. It is stored internally as double, but may be set from float. These methods also pre-compute the Index to Physical point transforms of the image.

See Also
GetSpacing()

Reimplemented in itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexConjugatePixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >.

virtual void itk::ImageBase< VImageDimension >::SetSpacing ( const double  spacing[VImageDimension])
virtualinherited
virtual void itk::ImageBase< VImageDimension >::SetSpacing ( const float  spacing[VImageDimension])
virtualinherited
void itk::Object::SetTimeStamp ( const TimeStamp timeStamp)
protectedvirtualinherited

Set the time stamp of this object. This method must be used very carefully !!!. Most mortals will never need to call this method.

Set the time stamp of this object. To be used very carefully !!!. Most mortals will never need to call this method.

Definition at line 302 of file itkObject.cxx.

bool itk::DataObject::ShouldIReleaseData ( ) const
inherited

Return flag indicating whether data should be released after use by a filter.

Definition at line 212 of file itkDataObject.cxx.

template<typename TImage, typename TAccessor>
template<typename TCoordRep >
void itk::ImageAdaptor< TImage, TAccessor >::TransformContinuousIndexToPhysicalPoint ( const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  index,
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  point 
) const
inline

Get a physical point (in the space which the origin and spacing information comes from) from a continuous index (in the index space)

See Also
Transform

Definition at line 358 of file itkImageAdaptor.h.

void itk::ImageBase< VImageDimension >::TransformContinuousIndexToPhysicalPoint ( const ContinuousIndex< TIndexRep, VImageDimension > &  index,
Point< TCoordRep, VImageDimension > &  point 
) const
inlineinherited

Get a physical point (in the space which the origin and spacing information comes from) from a continuous index (in the index space)

See Also
Transform

Definition at line 472 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::m_IndexToPhysicalPoint, and itk::ImageBase< VImageDimension >::m_Origin.

template<typename TImage, typename TAccessor>
template<typename TCoordRep >
void itk::ImageAdaptor< TImage, TAccessor >::TransformIndexToPhysicalPoint ( const IndexType index,
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  point 
) const
inline

Get a physical point (in the space which the origin and spacing information comes from) from a discrete index (in the index space)

See Also
Transform

Definition at line 373 of file itkImageAdaptor.h.

void itk::ImageBase< VImageDimension >::TransformIndexToPhysicalPoint ( const IndexType index,
Point< TCoordRep, VImageDimension > &  point 
) const
inlineinherited

Get a physical point (in the space which the origin and spacing information comes from) from a discrete index (in the index space)

See Also
Transform

Definition at line 493 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::m_IndexToPhysicalPoint, itk::ImageBase< VImageDimension >::m_Origin, and itk::ImageTransformHelper< NImageDimension, R, C, TPointValue, TMatrixValue >::TransformIndexToPhysicalPoint().

template<typename TImage, typename TAccessor>
template<typename TCoordRep >
void itk::ImageAdaptor< TImage, TAccessor >::TransformLocalVectorToPhysicalVector ( const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  inputGradient,
FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  outputGradient 
) const
inline

Definition at line 382 of file itkImageAdaptor.h.

void itk::ImageBase< VImageDimension >::TransformLocalVectorToPhysicalVector ( const FixedArray< TCoordRep, VImageDimension > &  inputGradient,
FixedArray< TCoordRep, VImageDimension > &  outputGradient 
) const
inlineinherited

Take a vector or covariant vector that has been computed in the coordinate system parallel to the image grid and rotate it by the direction cosines in order to get it in terms of the coordinate system of the image acquisition device. This implementation in the Image multiply the array (vector or covariant vector) by the matrix of Direction Cosines. The arguments of the method are of type FixedArray to make possible to use this method with both Vector and CovariantVector. The Method is implemented differently in the itk::Image.

See Also
Image

Definition at line 530 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::GetDirection().

template<typename TImage, typename TAccessor>
template<typename TCoordRep >
bool itk::ImageAdaptor< TImage, TAccessor >::TransformPhysicalPointToContinuousIndex ( const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  point,
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  index 
) const
inline

Get the continuous index from a physical point.

Returns true if the resulting index is within the image, false otherwise.

See Also
Transform

Definition at line 331 of file itkImageAdaptor.h.

bool itk::ImageBase< VImageDimension >::TransformPhysicalPointToContinuousIndex ( const Point< TCoordRep, VImageDimension > &  point,
ContinuousIndex< TIndexRep, VImageDimension > &  index 
) const
inlineinherited

Get the continuous index from a physical point.

Returns true if the resulting index is within the image, false otherwise.

See Also
Transform

Definition at line 445 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), itk::ImageRegion< VImageDimension >::IsInside(), itk::ImageBase< VImageDimension >::m_Origin, and itk::ImageBase< VImageDimension >::m_PhysicalPointToIndex.

template<typename TImage, typename TAccessor>
template<typename TCoordRep >
bool itk::ImageAdaptor< TImage, TAccessor >::TransformPhysicalPointToIndex ( const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  point,
IndexType index 
) const
inline

Get the index (discrete) from a physical point. Floating point index results are truncated to integers. Returns true if the resulting index is within the image, false otherwise

See Also
Transform

Definition at line 345 of file itkImageAdaptor.h.

bool itk::ImageBase< VImageDimension >::TransformPhysicalPointToIndex ( const Point< TCoordRep, VImageDimension > &  point,
IndexType index 
) const
inlineinherited

Get the index (discrete) of a voxel from a physical point. Floating point index results are rounded to integers Returns true if the resulting index is within the image, false otherwise

See Also
Transform

Definition at line 407 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), itk::ImageRegion< VImageDimension >::IsInside(), itk::ImageBase< VImageDimension >::m_Origin, itk::ImageBase< VImageDimension >::m_PhysicalPointToIndex, and itk::ImageTransformHelper< NImageDimension, R, C, TPointValue, TMatrixValue >::TransformPhysicalPointToIndex().

template<typename TImage, typename TAccessor>
template<typename TCoordRep >
void itk::ImageAdaptor< TImage, TAccessor >::TransformPhysicalVectorToLocalVector ( const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  inputGradient,
FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &  outputGradient 
) const
inline

Definition at line 390 of file itkImageAdaptor.h.

void itk::ImageBase< VImageDimension >::TransformPhysicalVectorToLocalVector ( const FixedArray< TCoordRep, VImageDimension > &  inputGradient,
FixedArray< TCoordRep, VImageDimension > &  outputGradient 
) const
inlineinherited

Take a vector or covariant vector that has been computed in terms of the coordinate system of the image acquisition device, and rotate it by the inverse direction cosines in order to get it in the coordinate system parallel to the image grid. This implementation in the Image multiply the array (vector or covariant vector) by the inverse of Direction Cosines. The arguments of the method are of type FixedArray to make possible to use this method with both Vector and CovariantVector.

Definition at line 561 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::GetInverseDirection().

void itk::Object::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 337 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::DeleteNonInternalFactory(), and itk::Object::New().

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::Update ( void  )
virtual

Return the Data Accesor object

Reimplemented from itk::DataObject.

Definition at line 145 of file itkImageAdaptor.hxx.

template<typename TImage, typename TAccessor>
template<typename TPixelType >
void itk::ImageAdaptor< TImage, TAccessor >::UpdateAccessor ( typename::itk::VectorImage< TPixelType, ImageDimension > *  )
inlineprivate

Definition at line 411 of file itkImageAdaptor.h.

template<typename TImage, typename TAccessor>
template<typename T >
void itk::ImageAdaptor< TImage, TAccessor >::UpdateAccessor ( T *  )
inlineprivate

Definition at line 417 of file itkImageAdaptor.h.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::UpdateOutputData ( void  )
virtual

UpdateOutputData() is part of the pipeline infrastructure to communicate between ProcessObjects and DataObjects. The method of the superclass is overriden to check if the requested image region has zero pixels. This is needed so that filters can set an input's requested region to zero, to indicate that it does not need to be updated or executed.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 173 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
void itk::ImageAdaptor< TImage, TAccessor >::UpdateOutputInformation ( void  )
virtual

Methods to update the pipeline. Called internally by the pipeline mechanism.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 156 of file itkImageAdaptor.hxx.

template<typename TImage , typename TAccessor >
bool itk::ImageAdaptor< TImage, TAccessor >::VerifyRequestedRegion ( )
virtual

Verify that the RequestedRegion is within the LargestPossibleRegion. If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possible satisfy the request. This method returns true if the request can be satisfied and returns fails if the request cannot. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception is the requested region is not within the LargestPossibleRegion.

Reimplemented from itk::ImageBase< TImage::ImageDimension >.

Definition at line 457 of file itkImageAdaptor.hxx.

Member Data Documentation

template<typename TImage, typename TAccessor>
const unsigned int itk::ImageAdaptor< TImage, TAccessor >::ImageDimension = TImage::ImageDimension
static

Dimension of the image. This constant is used by functions that are templated over image type (as opposed to being templated over pixel type and dimension) when they need compile time access to the dimension of the image.

Definition at line 62 of file itkImageAdaptor.h.

DirectionType itk::ImageBase< VImageDimension >::m_Direction
protectedinherited

Definition at line 695 of file itkImageBase.h.

template<typename TImage, typename TAccessor>
TImage::Pointer itk::ImageAdaptor< TImage, TAccessor >::m_Image
private
DirectionType itk::ImageBase< VImageDimension >::m_IndexToPhysicalPoint
protectedinherited

Matrices intended to help with the conversion of Index coordinates to PhysicalPoint coordinates

Definition at line 700 of file itkImageBase.h.

DirectionType itk::ImageBase< VImageDimension >::m_InverseDirection
protectedinherited

Definition at line 696 of file itkImageBase.h.

PointType itk::ImageBase< VImageDimension >::m_Origin
protectedinherited

Definition at line 694 of file itkImageBase.h.

DirectionType itk::ImageBase< VImageDimension >::m_PhysicalPointToIndex
protectedinherited

Definition at line 701 of file itkImageBase.h.

template<typename TImage, typename TAccessor>
AccessorType itk::ImageAdaptor< TImage, TAccessor >::m_PixelAccessor
private
InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 156 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 159 of file itkLightObject.h.

SpacingType itk::ImageBase< VImageDimension >::m_Spacing
protectedinherited

Origin, spacing, and direction in physical coordinates. This variables are protected for efficiency. They are referenced frequently by inner loop calculations.

Definition at line 693 of file itkImageBase.h.


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

Generated at Sat Mar 8 2014 17:11:16 for Orfeo Toolbox with doxygen 1.8.3.1