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

itk::SpecialCoordinatesImage< TPixel, VImageDimension > Class Template Reference
[Image Representation Objects]

#include <itkSpecialCoordinatesImage.h>

Inheritance diagram for itk::SpecialCoordinatesImage< TPixel, VImageDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::SpecialCoordinatesImage< TPixel, VImageDimension >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class TPixel, unsigned int VImageDimension = 2>
class itk::SpecialCoordinatesImage< TPixel, VImageDimension >

Templated n-dimensional nonrectilinear-coordinate image base class.

SpecialCoordinatesImages are templated over a pixel type (modeling the dependent variables), and a dimension (number of independent variables). The container for the pixel data is the ImportImageContainer.

Within the pixel container, images are modeled as arrays, defined by a start index and a size.

Almost arbitrary mappings between index space & Cartesian physical space are possible, and so m_Origin and m_Spacing should be ignored. They exist only to allow the possibility of running a "spatially-aware" filter in raw index space, as if the SpecialCoordinatesImage data was laid out on a regular grid. Note that this may or may not produce useful results, and it is up the the user to determine the appropriateness of running a filter designed for normal images on special-coordinates images.

The only correct generic method for operating on a SpecialCoordinatesImage in physical space is to use the virtual functions TransformPhysicalPointToIndex, TransformPhysicalPointToContinuousIndex, TransformIndexToPhysicalPoint, and TransformContinuousIndexToPhysicalPoint. All of these methods transform points in Cartesian physical space to and from indices in the special (typically non-Cartesian) index space. It is also possible to check the type of coordinate representation being used by a SpecialCoordinatesImage, and then use representation-specific code to speed up the filter for certain coordinate representations, falling back to the generic method for unrecognized and/or unoptimized coordinate representations.

There are three sets of meta-data describing portians of a SpecialCoordinatesImages. 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, need 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]

Pixels can be accessed direcly using the SetPixel() and GetPixel() methods or can be accessed via iterators. Begin() creates an iterator that can walk a specified region of a buffer.

The pixel type may be one of the native types; a Insight-defined class type such as Vector; or a user-defined type. Note that depending on the type of pixel that you use, the process objects (i.e., those filters processing data objects) may not operate on the image and/or pixel type. This becomes apparent at compile-time because operator overloading (for the pixel type) is not supported.

The data in an image is arranged in a 1D array as [][][][slice][row][col] with the column index varying most rapidly. The Index type reverses the order so that with Index[0] = col, Index[1] = row, Index[2] = slice, ...

See also:
ImageContainerInterface

Image

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

Public Types

typedef DefaultPixelAccessorFunctor<
Self
AccessorFunctorType
typedef DefaultPixelAccessor<
PixelType
AccessorType
typedef SmartPointer< const
Self
ConstPointer
typedef WeakPointer< const
Self
ConstWeakPointer
typedef Matrix< double, VImageDimension,
VImageDimension > 
DirectionType
typedef Superclass::IndexType IndexType
typedef IndexType::IndexValueType IndexValueType
typedef TPixel InternalPixelType
typedef PixelType IOPixelType
typedef Superclass::OffsetType OffsetType
typedef OffsetType::OffsetValueType OffsetValueType
typedef ImportImageContainer<
unsigned long, PixelType
PixelContainer
typedef PixelContainer::ConstPointer PixelContainerConstPointer
typedef PixelContainer::Pointer PixelContainerPointer
typedef TPixel PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef Superclass::RegionType RegionType
typedef SpecialCoordinatesImage Self
typedef Superclass::SizeType SizeType
typedef SizeType::SizeValueType SizeValueType
typedef Superclass::SpacingType SpacingType
typedef ImageBase< VImageDimension > Superclass
typedef TPixel ValueType

Public Member Functions

void Allocate ()
OffsetValueType ComputeOffset (const IndexType &ind) const
virtual void CopyInformation (const DataObject *data)
virtual LightObject::Pointer CreateAnother () const
void DataHasBeenGenerated ()
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
void DisconnectPipeline ()
void FillBuffer (const TPixel &value)
virtual const RegionTypeGetBufferedRegion () const
CommandGetCommand (unsigned long tag)
bool GetDataReleased () const
bool GetDebug () const
virtual const DirectionTypeGetDirection ()
virtual const RegionTypeGetLargestPossibleRegion () const
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual const PointTypeGetOrigin ()
TPixel & GetPixel (const IndexType &index)
const TPixel & GetPixel (const IndexType &index) const
const AccessorType GetPixelAccessor (void) const
AccessorType GetPixelAccessor (void)
const PixelContainerGetPixelContainer () const
PixelContainerGetPixelContainer ()
virtual int GetReferenceCount () const
virtual const RegionTypeGetRequestedRegion () const
SmartPointerForwardReference<
ProcessObject
GetSource () const
unsigned int GetSourceOutputIndex () const
virtual const SpacingTypeGetSpacing ()
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)
virtual void Modified () const
const TPixel & operator[] (const IndexType &index) const
TPixel & operator[] (const IndexType &index)
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)
void SetDebug (bool debugFlag) const
virtual void SetDirection (const DirectionType direction)
virtual void SetLargestPossibleRegion (const RegionType &region)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
void SetPixel (const IndexType &index, const TPixel &value)
void SetPixelContainer (PixelContainer *container)
virtual void SetReferenceCount (int)
void SetRegions (SizeType size)
virtual void SetRequestedRegion (DataObject *data)
virtual void SetRequestedRegion (const RegionType &region)
virtual void SetRequestedRegionToLargestPossibleRegion ()
bool ShouldIReleaseData () const
template<class TCoordRep>
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TCoordRep, VImageDimension > &index) const
template<class TCoordRep>
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const
virtual void UnRegister () const
virtual void Update ()
virtual void UpdateOutputInformation ()
virtual bool VerifyRequestedRegion ()
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
IndexType ComputeIndex (OffsetValueType offset) const
const TPixel * GetBufferPointer () const
TPixel * GetBufferPointer ()
virtual unsigned int GetNumberOfComponentsPerPixel () const
virtual void SetNumberOfComponentsPerPixel (unsigned int)
const OffsetValueTypeGetOffsetTable () const
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 UpdateOutputData ()
virtual void SetOrigin (const float[VImageDimension])
virtual void SetOrigin (const double[VImageDimension])
virtual void SetOrigin (const PointType)
virtual void SetSpacing (const float[VImageDimension])
virtual void SetSpacing (const double[VImageDimension])
virtual void SetSpacing (const SpacingType &)
void SetRegions (RegionType region)
template<class TCoordRep>
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const
template<class TCoordRep>
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const
template<class TCoordRep>
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const

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 ()
 SpecialCoordinatesImage ()
virtual ~SpecialCoordinatesImage ()
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 TPixel, unsigned int VImageDimension = 2>
typedef DefaultPixelAccessorFunctor< Self > itk::SpecialCoordinatesImage< TPixel, VImageDimension >::AccessorFunctorType

Accessor functor to choose between accessors: DefaultPixelAccessor for the Image, and DefaultVectorPixelAccessor for the vector image. The functor provides a generic API between the two accessors.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 134 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef DefaultPixelAccessor< PixelType > itk::SpecialCoordinatesImage< TPixel, VImageDimension >::AccessorType

Accessor type that convert data between internal and external representations.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 129 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef SmartPointer<const Self> itk::SpecialCoordinatesImage< TPixel, VImageDimension >::ConstPointer

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 103 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef WeakPointer<const Self> itk::SpecialCoordinatesImage< TPixel, VImageDimension >::ConstWeakPointer

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 104 of file itkSpecialCoordinatesImage.h.

template<unsigned int VImageDimension = 2>
typedef Matrix<double, VImageDimension, VImageDimension> itk::ImageBase< VImageDimension >::DirectionType [inherited]

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

Reimplemented in itk::Image< TPixel, VImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::OrientedImage< TPixel, VImageDimension >, itk::VectorImage< TPixel, VImageDimension >, itk::Image< itk::BloxCoreAtomPixel< NDimension >, TImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< itk::BloxBoundaryProfilePixel< TImageDimension >, TImageDimension >, itk::Image< TBloxPixelType, TImageDimension >, itk::Image< itk::BloxBoundaryPointPixel< TImageDimension >, TImageDimension >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::VectorImage< TPixelType, Dimension >.

Definition at line 137 of file itkImageBase.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef Superclass::IndexType itk::SpecialCoordinatesImage< TPixel, VImageDimension >::IndexType

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

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 146 of file itkSpecialCoordinatesImage.h.

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

Reimplemented in itk::BloxCoreAtomImage< NDimension >, itk::Image< TPixel, VImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::PhasedArray3DSpecialCoordinatesImage< TPixel >, itk::VectorImage< TPixel, VImageDimension >, itk::Image< itk::BloxCoreAtomPixel< NDimension >, TImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< itk::BloxBoundaryProfilePixel< TImageDimension >, TImageDimension >, itk::Image< TBloxPixelType, TImageDimension >, itk::Image< itk::BloxBoundaryPointPixel< TImageDimension >, TImageDimension >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::VectorImage< TPixelType, Dimension >.

Definition at line 110 of file itkImageBase.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef TPixel itk::SpecialCoordinatesImage< TPixel, VImageDimension >::InternalPixelType

Internal Pixel representation. Used to maintain a uniform API with Image Adaptors and allow to keep a particular internal representation of data while showing a different external representation.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 123 of file itkSpecialCoordinatesImage.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 TPixel, unsigned int VImageDimension = 2>
typedef PixelType itk::SpecialCoordinatesImage< TPixel, VImageDimension >::IOPixelType

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 125 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef Superclass::OffsetType itk::SpecialCoordinatesImage< TPixel, VImageDimension >::OffsetType

Offset typedef support. An offset is used to access pixel values.

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 149 of file itkSpecialCoordinatesImage.h.

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

Reimplemented in itk::Image< TPixel, VImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::VectorImage< TPixel, VImageDimension >, itk::Image< itk::BloxCoreAtomPixel< NDimension >, TImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< itk::BloxBoundaryProfilePixel< TImageDimension >, TImageDimension >, itk::Image< TBloxPixelType, TImageDimension >, itk::Image< itk::BloxBoundaryPointPixel< TImageDimension >, TImageDimension >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::VectorImage< TPixelType, Dimension >.

Definition at line 115 of file itkImageBase.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef ImportImageContainer<unsigned long, PixelType> itk::SpecialCoordinatesImage< TPixel, VImageDimension >::PixelContainer

Container used to store pixels in the image.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 143 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef PixelContainer::ConstPointer itk::SpecialCoordinatesImage< TPixel, VImageDimension >::PixelContainerConstPointer

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 169 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef PixelContainer::Pointer itk::SpecialCoordinatesImage< TPixel, VImageDimension >::PixelContainerPointer

A pointer to the pixel container.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 168 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef TPixel itk::SpecialCoordinatesImage< TPixel, VImageDimension >::PixelType

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

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 110 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef SmartPointer<Self> itk::SpecialCoordinatesImage< TPixel, VImageDimension >::Pointer

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 102 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef Superclass::PointType itk::SpecialCoordinatesImage< TPixel, VImageDimension >::PointType

Origin typedef support. The origin is the "fake" geometric coordinates of the index (0,0). Also for use w/ filters designed for normal images.

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 165 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef Superclass::RegionType itk::SpecialCoordinatesImage< TPixel, VImageDimension >::RegionType

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

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 155 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef SpecialCoordinatesImage itk::SpecialCoordinatesImage< TPixel, VImageDimension >::Self

Standard class typedefs

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 100 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef Superclass::SizeType itk::SpecialCoordinatesImage< TPixel, VImageDimension >::SizeType

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

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 152 of file itkSpecialCoordinatesImage.h.

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

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >.

Definition at line 119 of file itkImageBase.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef Superclass::SpacingType itk::SpecialCoordinatesImage< TPixel, VImageDimension >::SpacingType

Spacing typedef support. Spacing holds the "fake" size of a pixel, making each pixel look like a 1 unit hyper-cube to filters that were designed for normal images and that therefore use m_Spacing. The spacing is the geometric distance between image samples.

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 161 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef ImageBase<VImageDimension> itk::SpecialCoordinatesImage< TPixel, VImageDimension >::Superclass

Reimplemented from itk::ImageBase< VImageDimension >.

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 101 of file itkSpecialCoordinatesImage.h.

template<class TPixel, unsigned int VImageDimension = 2>
typedef TPixel itk::SpecialCoordinatesImage< TPixel, VImageDimension >::ValueType

Typedef alias for PixelType

Reimplemented in itk::PhasedArray3DSpecialCoordinatesImage< TPixel >.

Definition at line 117 of file itkSpecialCoordinatesImage.h.


Constructor & Destructor Documentation

template<class TPixel, unsigned int VImageDimension = 2>
itk::SpecialCoordinatesImage< TPixel, VImageDimension >::SpecialCoordinatesImage (  )  [protected]

template<class TPixel, unsigned int VImageDimension = 2>
virtual itk::SpecialCoordinatesImage< TPixel, VImageDimension >::~SpecialCoordinatesImage (  )  [inline, protected, virtual]

Definition at line 314 of file itkSpecialCoordinatesImage.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 TPixel, unsigned int VImageDimension = 2>
void itk::SpecialCoordinatesImage< TPixel, VImageDimension >::Allocate (  ) 

Allocate the image memory. The size of the image must already be set, e.g. by calling SetRegions().

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

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

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

Compute the index of the pixel at a specified offset from the beginning of the buffered region. Bounds checking is not performed. Thus, the computed index could be outside the BufferedRegion. To ensure a valid index, the parameter "offset" should be between 0 and the number of pixels in the BufferedRegion (the latter can be found using ImageRegion::GetNumberOfPixels()).

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >.

Definition at line 321 of file itkImageBase.h.

template<unsigned int VImageDimension = 2>
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.

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

template<unsigned int VImageDimension = 2>
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.

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

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >,