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

itk::ImageBase< VImageDimension > Class Template Reference
[Image Representation ObjectsITK System Objects]

Base class for templated image classes. More...

#include <itkImageBase.h>

Inheritance diagram for itk::ImageBase< VImageDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::ImageBase< VImageDimension >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

IndexType ComputeIndex (OffsetValueType offset) const
virtual void CopyInformation (const DataObject *data)
virtual void UpdateOutputInformation ()
virtual void SetRequestedRegionToLargestPossibleRegion ()
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
virtual bool VerifyRequestedRegion ()
 ImageBase ()
 ~ImageBase ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
void ComputeOffsetTable ()

[NOHEADER]

SpacingType m_Spacing
PointType m_Origin

Public Types

typedef ImageBase Self
typedef DataObject Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Index< VImageDimension > IndexType
typedef IndexType::IndexValueType IndexValueType
typedef Offset< VImageDimension > OffsetType
typedef OffsetType::OffsetValueType OffsetValueType
typedef Size< VImageDimension > SizeType
typedef SizeType::SizeValueType SizeValueType
typedef ImageRegion< VImageDimension > RegionType
typedef Vector< double, VImageDimension > SpacingType
typedef Point< double, VImageDimension > PointType

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, VImageDimension)
void Initialize ()
virtual const SpacingTypeGetSpacing ()
virtual const PointTypeGetOrigin ()
virtual void SetLargestPossibleRegion (const RegionType &region)
virtual const RegionTypeGetLargestPossibleRegion () const
virtual void SetBufferedRegion (const RegionType &region)
virtual const RegionTypeGetBufferedRegion () const
virtual void SetRequestedRegion (const RegionType &region)
virtual void SetRequestedRegion (DataObject *data)
virtual const RegionTypeGetRequestedRegion () const
const OffsetValueTypeGetOffsetTable () const
OffsetValueType ComputeOffset (const IndexType &ind) const

Static Public Member Functions

Pointer New ()
unsigned int GetImageDimension ()

Detailed Description

template<unsigned int VImageDimension = 2>
class itk::ImageBase< VImageDimension >

Base class for templated image classes.

ImageBase is the base class for the templated Image classes. ImageBase is templated over the dimension of the image. It provides the API and ivars that depend solely on the dimension of the image. ImageBase does not store any of the image (pixel) data. Storage for the pixels and the pixel access methods are defined in subclasses of ImageBase, namely Image and ImageAdaptor.

There are three sets of meta-data describing an image. These are "Region" objects that define a portion of an image via a starting index for the image array and a size. The ivar LargestPossibleRegion defines the size and starting index of the image dataset. The entire image dataset, however, may not be resident in memory. The region of the image that is resident in memory is defined by the "BufferedRegion". The Buffer is a contiguous block of memory. The third set of meta-data defines a region of interest, called the "RequestedRegion". The RequestedRegion is used by the pipeline execution model to define what a filter is requested to produce.

[RegionIndex, RegionSize] C [BufferIndex, BufferSize] C [ImageIndex, ImageSize]

Definition at line 76 of file itkImageBase.h.


Member Typedef Documentation

template<unsigned int VImageDimension = 2>
typedef SmartPointer<const Self> itk::ImageBase< VImageDimension >::ConstPointer
 

Reimplemented from itk::DataObject.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 83 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef Index<VImageDimension> itk::ImageBase< VImageDimension >::IndexType
 

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

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 98 of file itkImageBase.h.

Referenced by itk::ImageBase< VImageDimension >::ComputeIndex(), and itk::ImageBase< VImageDimension >::ComputeOffset().

template<unsigned int VImageDimension = 2>
typedef IndexType::IndexValueType itk::ImageBase< VImageDimension >::IndexValueType
 

Reimplemented in itk::BloxCoreAtomImage< dim >.

Definition at line 99 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef Offset<VImageDimension> itk::ImageBase< VImageDimension >::OffsetType
 

Offset typedef support. An offset represent relative position between indices.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 103 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef OffsetType::OffsetValueType itk::ImageBase< VImageDimension >::OffsetValueType
 

Definition at line 104 of file itkImageBase.h.

Referenced by itk::ImageBase< VImageDimension >::ComputeOffset(), and itk::ImageBase< VImageDimension >::GetOffsetTable().

template<unsigned int VImageDimension = 2>
typedef SmartPointer<Self> itk::ImageBase< VImageDimension >::Pointer
 

Reimplemented from itk::DataObject.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 82 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef Point<double, VImageDimension> itk::ImageBase< VImageDimension >::PointType
 

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

Reimplemented in itk::Image< TPixel, VImageDimension >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 119 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef ImageRegion<VImageDimension> itk::ImageBase< VImageDimension >::RegionType
 

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

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 111 of file itkImageBase.h.

Referenced by itk::ImageBase< VImageDimension >::GetBufferedRegion(), itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), and itk::ImageBase< VImageDimension >::GetRequestedRegion().

template<unsigned int VImageDimension = 2>
typedef ImageBase itk::ImageBase< VImageDimension >::Self
 

Standard typedefs.

Reimplemented from itk::DataObject.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 80 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef Size<VImageDimension> itk::ImageBase< VImageDimension >::SizeType
 

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

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 107 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef SizeType::SizeValueType itk::ImageBase< VImageDimension >::SizeValueType
 

Definition at line 108 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef Vector<double, VImageDimension> itk::ImageBase< VImageDimension >::SpacingType
 

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

Reimplemented in itk::Image< TPixel, VImageDimension >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 115 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
typedef DataObject itk::ImageBase< VImageDimension >::Superclass
 

Reimplemented from itk::DataObject.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

Definition at line 81 of file itkImageBase.h.


Constructor & Destructor Documentation

template<unsigned int VImageDimension = 2>
itk::ImageBase< VImageDimension >::ImageBase  )  [protected]
 

Compute the index of the pixel at a specified offset from the beginning of the buffered region.

template<unsigned int VImageDimension = 2>
itk::ImageBase< VImageDimension >::~ImageBase  )  [protected]
 

Compute the index of the pixel at a specified offset from the beginning of the buffered region.


Member Function Documentation

template<unsigned int VImageDimension = 2>
IndexType itk::ImageBase< VImageDimension >::ComputeIndex OffsetValueType  offset  )  const [inline]
 

Compute the index of the pixel at a specified offset from the beginning of the buffered region. Definition at line 227 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::IndexType.

template<unsigned int VImageDimension = 2>
OffsetValueType itk::ImageBase< VImageDimension >::ComputeOffset const IndexType ind  )  const [inline]
 

Compute an offset from the beginning of the buffer for a pixel at the specified index. Definition at line 207 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::IndexType, and itk::ImageBase< VImageDimension >::OffsetValueType.

template<unsigned int VImageDimension = 2>
void itk::ImageBase< VImageDimension >::ComputeOffsetTable  )  [protected]
 

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<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::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::DataObject.

Reimplemented in itk::Image< TPixel, VImageDimension >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

template<unsigned int VImageDimension = 2>
virtual const RegionType& itk::ImageBase< VImageDimension >::GetBufferedRegion  )  const [inline, virtual]
 

Get 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()
Definition at line 165 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::RegionType.

template<unsigned int VImageDimension = 2>
virtual const char* itk::ImageBase< VImageDimension >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::DataObject.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

template<unsigned int VImageDimension = 2>
unsigned int itk::ImageBase< VImageDimension >::GetImageDimension  )  [inline, static]
 

Image dimension. The dimension of an image is fixed at construction. Definition at line 125 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
virtual const RegionType& itk::ImageBase< VImageDimension >::GetLargestPossibleRegion  )  const [inline, 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.

See also:
ImageRegion, GetBufferedRegion(), GetRequestedRegion()
Definition at line 154 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::RegionType.

Referenced by itk::fem::FiniteDifferenceFunctionLoad< MovingImageType, FixedImageType >::SetMovingImage().

template<unsigned int VImageDimension = 2>
const OffsetValueType* itk::ImageBase< VImageDimension >::GetOffsetTable  )  const [inline]
 

Get the offset table. The offset table gives increments for moving from one pixel to next in the current row, column, slice, etc.. This table if of size [VImageDimension+1], because its values are computed progressively as: {1, N1, N1*N2, N1*N2*N3,...,(N1*...*Nn)} Where the values {N1,...,Nn} are the elements of the BufferedRegion::Size array. The last element of the OffsetTable is equivalent to the BufferSize. Having a [VImageDimension+1] size array, simplifies the implementation of some data accessing algorithms. Definition at line 202 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::OffsetValueType.

template<unsigned int VImageDimension = 2>
virtual const PointType& itk::ImageBase< VImageDimension >::GetOrigin  )  [virtual]
 

Get the origin of the image. The origin is the geometric coordinates of the index (0,0). The value returned is a pointer to a double array. For ImageBase and Image, the default origin is 0.

template<unsigned int VImageDimension = 2>
virtual const RegionType& itk::ImageBase< VImageDimension >::GetRequestedRegion  )  const [inline, 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).

See also:
ImageRegion, SetLargestPossibleRegion(), SetBufferedRegion()
Definition at line 190 of file itkImageBase.h.

References itk::ImageBase< VImageDimension >::RegionType.

template<unsigned int VImageDimension = 2>
virtual const SpacingType& itk::ImageBase< VImageDimension >::GetSpacing  )  [virtual]
 

Get the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples. The value returned is a pointer to a double array. For ImageBase and Image, the default data spacing is unity.

template<unsigned int VImageDimension = 2>
void itk::ImageBase< VImageDimension >::Initialize  )  [virtual]
 

Restore object to initialized state.

Reimplemented from itk::DataObject.

Reimplemented in itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

template<unsigned int VImageDimension = 2>
itk::ImageBase< VImageDimension >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
VImageDimension 
 

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.

Reimplemented in itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

template<unsigned int VImageDimension = 2>
Pointer itk::ImageBase< VImageDimension >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

template<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Compute the index of the pixel at a specified offset from the beginning of the buffered region.

Reimplemented from itk::DataObject.

Reimplemented in itk::BloxBoundaryPointImage< VImageDimension >, itk::BloxBoundaryProfileImage< VImageDimension >, itk::BloxCoreAtomImage< dim >, itk::BloxImage< TBloxPixelType, VImageDimension >, itk::Image< TPixel, VImageDimension >, itk::SparseImage< TNode, VImageDimension >, itk::BloxImage< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::BloxImage< BloxCoreAtomPixel< dim >, dim >, itk::Image< BloxBoundaryPointPixel< VImageDimension >, VImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< VImageDimension >, VImageDimension >, itk::Image< BloxCoreAtomPixel< dim >, VImageDimension >, and itk::Image< TBloxPixelType, VImageDimension >.

template<unsigned int VImageDimension = 2>
virtual bool itk::ImageBase< VImageDimension >::RequestedRegionIsOutsideOfTheBufferedRegion  )  [virtual]
 

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

Implements itk::DataObject.

template<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::SetBufferedRegion const RegionType region  )  [virtual]
 

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()

template<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::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()

template<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::SetRequestedRegion 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. 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.

Implements itk::DataObject.

template<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::SetRequestedRegion const RegionType region  )  [virtual]
 

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()

template<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::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().

Implements itk::DataObject.

template<unsigned int VImageDimension = 2>
virtual void itk::ImageBase< VImageDimension >::UpdateOutputInformation  )  [virtual]
 

Update the information for this DataObject so that it can be used as an output of a ProcessObject. This method is used the pipeline mechanism to propagate information and initialize the meta data associated with a DataObject. This method calls its source's ProcessObject::UpdateOutputInformation() which determines modified times, LargestPossibleRegions, and any extra meta data like spacing, origin, etc.

Implements itk::DataObject.

template<unsigned int VImageDimension = 2>
virtual bool itk::ImageBase< VImageDimension >::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.

Implements itk::DataObject.


Member Data Documentation

template<unsigned int VImageDimension = 2>
PointType itk::ImageBase< VImageDimension >::m_Origin [protected]
 

Origin and spacing of physical coordinates. Protected so subclasses can access directly. Definition at line 305 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
SpacingType itk::ImageBase< VImageDimension >::m_Spacing [protected]
 

Origin and spacing of physical coordinates. Protected so subclasses can access directly. Definition at line 304 of file itkImageBase.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:04:00 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000