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

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

Templated n-dimensional oriented image class. More...

#include <itkOrientedImage.h>

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

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

Collaboration graph
[legend]
List of all members.

[NOHEADER]

template<class TCoordRep> void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const
 OrientedImage ()
virtual ~OrientedImage ()

Public Types

typedef OrientedImage Self
typedef Image< TPixel, VImageDimension > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef WeakPointer< const
Self
ConstWeakPointer
typedef Superclass::IndexType IndexType
typedef Superclass::DirectionType DirectionType
typedef Superclass::SpacingType SpacingType
typedef Superclass::AccessorType AccessorType
typedef Superclass::AccessorFunctorType AccessorFunctorType
typedef NeighborhoodAccessorFunctor<
Self
NeighborhoodAccessorFunctorType

Public Member Functions

virtual const char * GetNameOfClass () const
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor ()
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor () const
virtual void SetSpacing (const SpacingType spacing)
virtual void SetSpacing (const double spacing[VImageDimension])
virtual void SetSpacing (const float spacing[VImageDimension])
virtual void SetDirection (const DirectionType direction)
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
template<class TCoordRep> void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const

Static Public Member Functions

Pointer New ()

Detailed Description

template<class TPixel, unsigned int VImageDimension>
class itk::OrientedImage< TPixel, VImageDimension >

Templated n-dimensional oriented image class.

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

Definition at line 36 of file itkOrientedImage.h.


Member Typedef Documentation

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::AccessorFunctorType itk::OrientedImage< TPixel, VImageDimension >::AccessorFunctorType
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 63 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::AccessorType itk::OrientedImage< TPixel, VImageDimension >::AccessorType
 

Accessor type that convert data between internal and external representations.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 62 of file itkOrientedImage.h.

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

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 43 of file itkOrientedImage.h.

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

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 44 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::DirectionType itk::OrientedImage< TPixel, VImageDimension >::DirectionType
 

Direction typedef support. The direction cosines of the image.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 56 of file itkOrientedImage.h.

Referenced by itk::OrientedImage< TPixel, VImageDimension >::SetDirection(), itk::OrientedImage< TPixel, VImageDimension >::SetSpacing(), and itk::OrientedImage< TPixel, VImageDimension >::~OrientedImage().

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::IndexType itk::OrientedImage< TPixel, VImageDimension >::IndexType
 

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

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 53 of file itkOrientedImage.h.

Referenced by itk::OrientedImage< TPixel, VImageDimension >::TransformIndexToPhysicalPoint(), and itk::OrientedImage< TPixel, VImageDimension >::TransformPhysicalPointToIndex().

template<class TPixel, unsigned int VImageDimension>
typedef NeighborhoodAccessorFunctor< Self > itk::OrientedImage< TPixel, VImageDimension >::NeighborhoodAccessorFunctorType
 

Tyepdef for the functor used to access a neighborhood of pixel pointers.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 67 of file itkOrientedImage.h.

Referenced by itk::OrientedImage< TPixel, VImageDimension >::GetNeighborhoodAccessor().

template<class TPixel, unsigned int VImageDimension>
typedef SmartPointer<Self> itk::OrientedImage< TPixel, VImageDimension >::Pointer
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 42 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
typedef OrientedImage itk::OrientedImage< TPixel, VImageDimension >::Self
 

Standard class typedefs

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 40 of file itkOrientedImage.h.

Referenced by itk::OrientedImage< TPixel, VImageDimension >::~OrientedImage().

template<class TPixel, unsigned int VImageDimension>
typedef Superclass::SpacingType itk::OrientedImage< TPixel, VImageDimension >::SpacingType
 

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

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 60 of file itkOrientedImage.h.

Referenced by itk::OrientedImage< TPixel, VImageDimension >::SetSpacing().

template<class TPixel, unsigned int VImageDimension>
typedef Image<TPixel, VImageDimension> itk::OrientedImage< TPixel, VImageDimension >::Superclass
 

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 41 of file itkOrientedImage.h.


Constructor & Destructor Documentation

template<class TPixel, unsigned int VImageDimension>
itk::OrientedImage< TPixel, VImageDimension >::OrientedImage  )  [protected]
 

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

See also:
Transform

template<class TPixel, unsigned int VImageDimension>
virtual itk::OrientedImage< TPixel, VImageDimension >::~OrientedImage  )  [inline, protected, virtual]
 

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

See also:
Transform

Definition at line 252 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::DirectionType, and itk::OrientedImage< TPixel, VImageDimension >::Self.


Member Function Documentation

template<class TPixel, unsigned int VImageDimension>
virtual const char* itk::OrientedImage< TPixel, VImageDimension >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel, unsigned int VImageDimension>
const NeighborhoodAccessorFunctorType itk::OrientedImage< TPixel, VImageDimension >::GetNeighborhoodAccessor  )  const [inline]
 

Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 76 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::NeighborhoodAccessorFunctorType.

template<class TPixel, unsigned int VImageDimension>
NeighborhoodAccessorFunctorType itk::OrientedImage< TPixel, VImageDimension >::GetNeighborhoodAccessor  )  [inline]
 

Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 71 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::NeighborhoodAccessorFunctorType.

template<class TPixel, unsigned int VImageDimension>
Pointer itk::OrientedImage< TPixel, VImageDimension >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Image< TPixel, VImageDimension >.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetDirection const DirectionType  direction  )  [inline, virtual]
 

Set the direction of the image and precompute the transforms for the image.

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 122 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::DirectionType.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetSpacing const float  spacing[VImageDimension]  )  [inline, virtual]
 

Set the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See also:
GetSpacing()

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 107 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::DirectionType.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetSpacing const double  spacing[VImageDimension]  )  [inline, virtual]
 

Set the spacing (size of a pixel) of the image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.

See also:
GetSpacing()

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 94 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::DirectionType.

template<class TPixel, unsigned int VImageDimension>
virtual void itk::OrientedImage< TPixel, VImageDimension >::SetSpacing const SpacingType  spacing  )  [inline, virtual]
 

Set the spacing of the image and precompute the transforms for the image.

Reimplemented from itk::ImageBase< VImageDimension >.

Definition at line 81 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::DirectionType, and itk::OrientedImage< TPixel, VImageDimension >::SpacingType.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
void itk::OrientedImage< TPixel, VImageDimension >::TransformContinuousIndexToPhysicalPoint const ContinuousIndex< TCoordRep, VImageDimension > &  index,
Point< TCoordRep, VImageDimension > &  point
const [inline]
 

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

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 206 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
void itk::OrientedImage< TPixel, VImageDimension >::TransformIndexToPhysicalPoint const IndexType index,
Point< TCoordRep, VImageDimension > &  point
const [inline]
 

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

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 227 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::IndexType.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
bool itk::OrientedImage< TPixel, VImageDimension >::TransformPhysicalPointToContinuousIndex const Point< TCoordRep, VImageDimension > &  point,
ContinuousIndex< TCoordRep, VImageDimension > &  index
const [inline]
 

Get the continuous index from a physical point.

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

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 140 of file itkOrientedImage.h.

template<class TPixel, unsigned int VImageDimension>
template<class TCoordRep>
bool itk::OrientedImage< TPixel, VImageDimension >::TransformPhysicalPointToIndex const Point< TCoordRep, VImageDimension > &  point,
IndexType index
const [inline]
 

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

See also:
Transform

Reimplemented from itk::Image< TPixel, VImageDimension >.

Definition at line 165 of file itkOrientedImage.h.

References itk::OrientedImage< TPixel, VImageDimension >::IndexType.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:00:20 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000