Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VectorImageToImageAdaptor< TPixelType, Dimension > Class Template Reference
[Image Adaptors]

#include <itkVectorImageToImageAdaptor.h>

Inheritance diagram for itk::VectorImageToImageAdaptor< TPixelType, Dimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::VectorImageToImageAdaptor< TPixelType, Dimension >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class TPixelType, unsigned int Dimension>
class itk::VectorImageToImageAdaptor< TPixelType, Dimension >

Presents a VectorImage and extracts a component from it into an image.

The class is expected to be templated over a pixel type and dimension. These are the pixel types and dimension of the VectorImage.

The component to extract is set with SetExtractComponentIdx() method RGBPixel type.

This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.

Examples:

Testing/Code/Common/itkVectorImageTest.cxx.

Definition at line 110 of file itkVectorImageToImageAdaptor.h.
static bool GetGlobalReleaseDataFlag ()
static void SetGlobalReleaseDataFlag (const bool val)
void GlobalReleaseDataFlagOff ()
void GlobalReleaseDataFlagOn ()

Public Types

typedef DefaultPixelAccessorFunctor<
Self
AccessorFunctorType
typedef TAccessor AccessorType
typedef SmartPointer< const
Self
ConstPointer
typedef WeakPointer< const
Self
ConstWeakPointer
typedef Superclass::DirectionType DirectionType
typedef Superclass::IndexType IndexType
typedef IndexType::IndexValueType IndexValueType
typedef TImage InternalImageType
typedef InternalPixelTypeInternalPixelPointerType
typedef TAccessor::InternalType InternalPixelType
typedef Superclass::IOPixelType IOPixelType
typedef Superclass::OffsetType OffsetType
typedef OffsetType::OffsetValueType OffsetValueType
typedef Superclass::PixelContainer PixelContainer
typedef Superclass::PixelContainerConstPointer PixelContainerConstPointer
typedef Superclass::PixelContainerPointer PixelContainerPointer
typedef TAccessor::ExternalType PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef Superclass::RegionType RegionType
typedef VectorImageToImageAdaptor Self
typedef Superclass::SizeType SizeType
typedef SizeType::SizeValueType SizeValueType
typedef Superclass::SpacingType SpacingType
typedef ImageAdaptor< VectorImageType,
Accessor::VectorImageToImagePixelAccessor<
TPixelType > > 
Superclass
typedef VectorImage< TPixelType,
Dimension > 
VectorImageType
typedef VectorImageType::VectorLengthType VectorLengthType

Public Member Functions

void Allocate ()
IndexType ComputeIndex (OffsetValueType offset) const
OffsetValueType ComputeOffset (const IndexType &ind) const
virtual LightObject::Pointer CreateAnother () const
void DataHasBeenGenerated ()
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
void DisconnectPipeline ()
virtual const RegionTypeGetBufferedRegion () const
CommandGetCommand (unsigned long tag)
bool GetDataReleased () const
bool GetDebug () const
virtual const DirectionTypeGetDirection ()
virtual const DirectionTypeGetDirection () const
VectorLengthType GetExtractComponentIndex () const
virtual const RegionTypeGetLargestPossibleRegion () const
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual unsigned int GetNumberOfComponentsPerPixel () const
const OffsetValueTypeGetOffsetTable () const
virtual const PointTypeGetOrigin ()
virtual const PointTypeGetOrigin () const
PixelType GetPixel (const IndexType &index) const
const AccessorTypeGetPixelAccessor (void) const
AccessorTypeGetPixelAccessor (void)
const PixelContainerGetPixelContainer () const
PixelContainerPointer GetPixelContainer ()
virtual int GetReferenceCount () const
virtual const RegionTypeGetRequestedRegion () const
SmartPointerForwardReference<
ProcessObject
GetSource () const
unsigned int GetSourceOutputIndex () const
virtual const SpacingTypeGetSpacing ()
virtual const SpacingTypeGetSpacing () const
virtual unsigned long GetUpdateMTime () const
virtual void Graft (const DataObject *data)
bool HasObserver (const EventObject &event) const
virtual void Initialize ()
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
 itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension)
virtual void Modified () const
PixelType operator[] (const IndexType &index) const
virtual void PrepareForNewData ()
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void ReleaseData ()
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)
void SetExtractComponentIndex (VectorLengthType componentIdx)
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 SetOrigin (const float origin[VImageDimension])
virtual void SetOrigin (const double origin[VImageDimension])
virtual void SetOrigin (PointType _arg)
void SetPixel (const IndexType &index, const PixelType &value)
void SetPixelAccessor (const AccessorType &accessor)
void SetPixelContainer (PixelContainer *container)
virtual void SetReferenceCount (int)
virtual void SetRequestedRegion (const RegionType &region)
virtual void SetRequestedRegion (DataObject *data)
virtual void SetRequestedRegion (const RegionType &region)
virtual void SetSpacing (const float spacing[VImageDimension])
virtual void SetSpacing (const double spacing[VImageDimension])
virtual void SetSpacing (const SpacingType &spacing)
bool ShouldIReleaseData () const
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const
template<class TCoordRep>
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension)> &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension)> &point) const
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const
template<class TCoordRep>
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, itkGetStaticConstMacro(ImageDimension)> &point) const
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const
template<class TCoordRep>
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &inputGradient, FixedArray< TCoordRep, itkGetStaticConstMacro(ImageDimension) > &outputGradient) const
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TCoordRep, VImageDimension > &index) const
template<class TCoordRep>
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension)> &point, ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension)> &index) const
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const
template<class TCoordRep>
bool TransformPhysicalPointToIndex (const Point< TCoordRep, itkGetStaticConstMacro(ImageDimension)> &point, IndexType &index) const
virtual void UnRegister () const
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
virtual void CopyInformation (const DataObject *data)
virtual void Update ()
const InternalPixelTypeGetBufferPointer () const
InternalPixelTypeGetBufferPointer ()
virtual const unsigned long & GetPipelineMTime ()
void SetPipelineMTime (unsigned long time)
virtual const bool & GetReleaseDataFlag ()
virtual void ReleaseDataFlagOff ()
virtual void ReleaseDataFlagOn ()
void SetReleaseDataFlag (bool flag)
virtual void PropagateRequestedRegion () throw (InvalidRequestedRegionError)
virtual void SetRequestedRegionToLargestPossibleRegion ()
virtual void UpdateOutputData ()
virtual void UpdateOutputInformation ()
virtual bool VerifyRequestedRegion ()
virtual void SetOrigin (const float *values)
virtual void SetOrigin (const double *values)
virtual void SetOrigin (const PointType values)
virtual void SetSpacing (const float *values)
virtual void SetSpacing (const double *values)
virtual void SetSpacing (const SpacingType &values)

Static Public Member Functions

static void BreakOnError ()
static unsigned int GetImageDimension ()
static Pointer New ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

virtual void ComputeIndexToPhysicalPointMatrices ()
void ComputeOffsetTable ()
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
virtual void PropagateResetPipeline ()
 VectorImageToImageAdaptor ()
virtual ~VectorImageToImageAdaptor ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

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


Member Typedef Documentation

template<class TImage, class TAccessor>
typedef DefaultPixelAccessorFunctor< Self > itk::ImageAdaptor< TImage, TAccessor >::AccessorFunctorType [inherited]

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

Definition at line 90 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef TAccessor itk::ImageAdaptor< TImage, TAccessor >::AccessorType [inherited]

Accessor type that convert data between internal and external representations.

Definition at line 86 of file itkImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef SmartPointer<const Self> itk::VectorImageToImageAdaptor< TPixelType, Dimension >::ConstPointer

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 121 of file itkVectorImageToImageAdaptor.h.

template<class TImage, class TAccessor>
typedef WeakPointer<const Self> itk::ImageAdaptor< TImage, TAccessor >::ConstWeakPointer [inherited]

Definition at line 63 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef Superclass::DirectionType itk::ImageAdaptor< TImage, TAccessor >::DirectionType [inherited]

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

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

Definition at line 119 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef Superclass::IndexType itk::ImageAdaptor< TImage, TAccessor >::IndexType [inherited]

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

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

Definition at line 93 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef IndexType::IndexValueType itk::ImageAdaptor< TImage, TAccessor >::IndexValueType [inherited]

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

Definition at line 94 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef TImage itk::ImageAdaptor< TImage, TAccessor >::InternalImageType [inherited]

Typedef of unadapted image

Definition at line 66 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef InternalPixelType* itk::ImageAdaptor< TImage, TAccessor >::InternalPixelPointerType [inherited]

Convenient typedef.

Definition at line 229 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef TAccessor::InternalType itk::ImageAdaptor< TImage, TAccessor >::InternalPixelType [inherited]

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

Definition at line 80 of file itkImageAdaptor.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

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

Definition at line 139 of file itkLightObject.h.

template<class TPixelType, unsigned int Dimension>
typedef Superclass::IOPixelType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::IOPixelType

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 134 of file itkVectorImageToImageAdaptor.h.

template<class TImage, class TAccessor>
typedef Superclass::OffsetType itk::ImageAdaptor< TImage, TAccessor >::OffsetType [inherited]

Offset typedef support.

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

Definition at line 101 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef OffsetType::OffsetValueType itk::ImageAdaptor< TImage, TAccessor >::OffsetValueType [inherited]

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

Definition at line 102 of file itkImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef Superclass::PixelContainer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainer

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

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 127 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef Superclass::PixelContainerConstPointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainerConstPointer

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 133 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef Superclass::PixelContainerPointer itk::VectorImageToImageAdaptor< TPixelType, Dimension >::PixelContainerPointer

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 132 of file itkVectorImageToImageAdaptor.h.

template<class TImage, class TAccessor>
typedef TAccessor::ExternalType itk::ImageAdaptor< TImage, TAccessor >::PixelType [inherited]

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

Reimplemented in itk::AddImageAdaptor< TImage >.

Definition at line 72 of file itkImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef SmartPointer<Self> itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Pointer

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 120 of file itkVectorImageToImageAdaptor.h.

template<class TImage, class TAccessor>
typedef Superclass::PointType itk::ImageAdaptor< TImage, TAccessor >::PointType [inherited]

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

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

Definition at line 114 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef Superclass::RegionType itk::ImageAdaptor< TImage, TAccessor >::RegionType [inherited]

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

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

Definition at line 106 of file itkImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef VectorImageToImageAdaptor itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Self

Standard class typedefs.

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 116 of file itkVectorImageToImageAdaptor.h.

template<class TImage, class TAccessor>
typedef Superclass::SizeType itk::ImageAdaptor< TImage, TAccessor >::SizeType [inherited]

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

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

Definition at line 97 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef SizeType::SizeValueType itk::ImageAdaptor< TImage, TAccessor >::SizeValueType [inherited]

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

Definition at line 98 of file itkImageAdaptor.h.

template<class TImage, class TAccessor>
typedef Superclass::SpacingType itk::ImageAdaptor< TImage, TAccessor >::SpacingType [inherited]

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

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

Definition at line 110 of file itkImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef ImageAdaptor< VectorImageType, Accessor::VectorImageToImagePixelAccessor< TPixelType > > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::Superclass

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

Definition at line 119 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef VectorImage< TPixelType, Dimension > itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorImageType

Definition at line 117 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
typedef VectorImageType::VectorLengthType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorLengthType

Typedef for the length of vectors in the VectorImage.

Definition at line 137 of file itkVectorImageToImageAdaptor.h.


Constructor & Destructor Documentation

template<class TPixelType, unsigned int Dimension>
itk::VectorImageToImageAdaptor< TPixelType, Dimension >::VectorImageToImageAdaptor (  )  [inline, protected]

Definition at line 152 of file itkVectorImageToImageAdaptor.h.

template<class TPixelType, unsigned int Dimension>
virtual itk::VectorImageToImageAdaptor< TPixelType, Dimension >::~VectorImageToImageAdaptor (  )  [inline, protected, virtual]

Definition at line 153 of file itkVectorImageToImageAdaptor.h.


Member Function Documentation

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

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [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

template<class TImage, class TAccessor>
void itk::ImageAdaptor< TImage, TAccessor >::Allocate (  )  [inline, inherited]

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

Definition at line 171 of file itkImageAdaptor.h.

static void itk::LightObject::BreakOnError (  )  [static, inherited]

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

template<class TImage, class TAccessor>
IndexType itk::ImageAdaptor< TImage, TAccessor >::ComputeIndex ( OffsetValueType  offset  )  const [inherited]

Compute Index given an Offset

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

virtual void itk::ImageBase< VImageDimension >::ComputeIndexToPhysicalPointMatrices (  )  [protected, virtual, inherited]

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 [inline, inherited]

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 285 of file itkImageBase.h.

void itk::ImageBase< VImageDimension >::ComputeOffsetTable (  )  [protected, inherited]

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<class TImage, class TAccessor>
virtual void itk::ImageAdaptor< TImage, TAccessor >::CopyInformation ( const DataObject data  )  [virtual, inherited]

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< ::itk::GetImageDimension< TImage >::ImageDimension >.

virtual LightObject::Pointer itk::Object::CreateAnother (  )  const [virtual, inherited]

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::LightObject.

void itk::DataObject::DataHasBeenGenerated (  )  [inherited]

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.

virtual void itk::Object::DebugOff (  )  const [virtual, inherited]

Turn debugging output off.

virtual void itk::Object::DebugOn (  )  const [virtual, inherited]

Turn debugging output on.

virtual void itk::LightObject::Delete (  )  [virtual, inherited]

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.

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.

template<class TImage, class TAccessor>
virtual const RegionType& itk::ImageAdaptor< TImage, TAccessor >::GetBufferedRegion (  )  const [virtual, inherited]

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< ::itk::GetImageDimension< TImage >::ImageDimension >.

template<class TImage, class TAccessor>
const InternalPixelType* itk::ImageAdaptor< TImage, TAccessor >::GetBufferPointer (  )  const [inherited]

template<class TImage, class TAccessor>
InternalPixelType* itk::ImageAdaptor< TImage, TAccessor >::GetBufferPointer (  )  [inherited]

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

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 asign 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.

bool itk::DataObject::GetDataReleased (  )  const [inline, inherited]

Get the flag indicating the data has been released.

Definition at line 334 of file itkDataObject.h.

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

Get the value of the debug flag.

virtual const DirectionType& itk::ImageBase< VImageDimension >::GetDirection ( void   )  [virtual, inherited]

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.

template<class TImage, class TAccessor>
virtual const DirectionType& itk::ImageAdaptor< TImage, TAccessor >::GetDirection (  )  const [virtual, inherited]

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.

template<class TPixelType, unsigned int Dimension>
VectorLengthType itk::VectorImageToImageAdaptor< TPixelType, Dimension >::GetExtractComponentIndex (  )  const [inline]

Definition at line 146 of file itkVectorImageToImageAdaptor.h.

static bool itk::DataObject::GetGlobalReleaseDataFlag (  )  [static, inherited]

static bool itk::Object::GetGlobalWarningDisplay (  )  [static, inherited]

static unsigned int itk::ImageBase< VImageDimension >::GetImageDimension (  )  [inline, static, inherited]

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

Definition at line 143 of file itkImageBase.h.

template<class TImage, class TAccessor>
virtual const RegionType& itk::ImageAdaptor< TImage, TAccessor >::GetLargestPossibleRegion (  )  const [virtual, inherited]

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< ::itk::GetImageDimension< TImage >::ImageDimension >.

const MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  const [inherited]

Returns:
A constant reference to this objects MetaDataDictionary.

MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  [inherited]

Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.

template<class TImage, class TAccessor>
virtual unsigned long itk::ImageAdaptor< TImage, TAccessor >::GetMTime (  )  const [virtual, inherited]

Delegate GetMTime to the Internal Image

Reimplemented from itk::Object.

template<class TPixelType, unsigned int Dimension>
virtual const char* itk::VectorImageToImageAdaptor< TPixelType, Dimension >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, TAccessor >.

virtual unsigned int itk::ImageBase< VImageDimension >::GetNumberOfComponentsPerPixel (  )  const [virtual, inherited]

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 for all images this is 1. Even for