go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::NDImageTemplate< TPixel, VDimension > Class Template Reference

#include <itkNDImageTemplate.h>

Detailed Description

template<class TPixel, unsigned int VDimension>
class itk::NDImageTemplate< TPixel, VDimension >

This class is a specialization of the NDImageBase, which acts as a wrap around an itk::Image.

The NDImageTemplate class is a kind of wrap around the itk::Image. It has an itk::Image object as an internal member variable. Most functions simply call the the corresponding function in the itk::Object. For some functions, the in/output arguments have to be converted from/to arrays with runtime length to/from arrays with compile time length.

See also
NDImageBase

Definition at line 46 of file itkNDImageTemplate.h.

Inheritance diagram for itk::NDImageTemplate< TPixel, VDimension >:
Inheritance graph
[legend]

Data Structures

class  ConvertToDynamicArray
 
class  ConvertToStaticArray
 

Public Types

typedef Superclass::AccessorType AccessorType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef Superclass::DataObjectType DataObjectType
 
typedef ImageType::Pointer ImagePointer
 
typedef Image< TPixel, VDimension > ImageType
 
typedef Superclass::IndexType IndexType
 
typedef ImageType::IndexType IndexTypeD
 
typedef Superclass::IndexValueType IndexValueType
 
typedef Superclass::InternalPixelType InternalPixelType
 
typedef Superclass::OffsetType OffsetType
 
typedef ImageType::OffsetType OffsetTypeD
 
typedef Superclass::OffsetValueType OffsetValueType
 
typedef Superclass::PixelContainer PixelContainer
 
typedef Superclass::PixelContainerConstPointer PixelContainerConstPointer
 
typedef Superclass::PixelContainerPointer PixelContainerPointer
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef ImageType::PointType PointTypeD
 
typedef Superclass::PointValueType PointValueType
 
typedef ReaderType::Pointer ReaderPointer
 
typedef ImageFileReader< ImageTypeReaderType
 
typedef NDImageTemplate Self
 
typedef Superclass::SizeType SizeType
 
typedef ImageType::SizeType SizeTypeD
 
typedef Superclass::SizeValueType SizeValueType
 
typedef Superclass::SpacingType SpacingType
 
typedef ImageType::SpacingType SpacingTypeD
 
typedef Superclass::SpacingValueType SpacingValueType
 
typedef NDImageBase< TPixel > Superclass
 
typedef Superclass::ValueType ValueType
 
typedef WriterType::Pointer WriterPointer
 
typedef ImageFileWriter< ImageTypeWriterType
 
- Public Types inherited from itk::NDImageBase< TPixel >
typedef Image< TPixel, 2 >::AccessorType AccessorType
 
typedef SmartPointer< const SelfConstPointer
 
typedef DataObjectType::Pointer DataObjectPointer
 
typedef DataObject DataObjectType
 
typedef Array< IndexValueTypeIndexType
 
typedef ImageBase< 2 >::IndexValueType IndexValueType
 
typedef Image< TPixel, 2 >::InternalPixelType InternalPixelType
 
typedef Array< OffsetValueTypeOffsetType
 
typedef ImageBase< 2 >::OffsetValueType OffsetValueType
 
typedef Image< TPixel, 2 >::PixelContainer PixelContainer
 
typedef Image< TPixel, 2 >::PixelContainerConstPointer PixelContainerConstPointer
 
typedef Image< TPixel, 2 >::PixelContainerPointer PixelContainerPointer
 
typedef Image< TPixel, 2 >::PixelType PixelType
 
typedef ImageBase< 2 >::PointType Point2DType
 
typedef SmartPointer< SelfPointer
 
typedef Array< PointValueTypePointType
 
typedef Point2DType::ValueType PointValueType
 
typedef NDImageBase Self
 
typedef Array< SizeValueTypeSizeType
 
typedef ImageBase< 2 >::SizeValueType SizeValueType
 
typedef ImageBase< 2 >::SpacingType Spacing2DType
 
typedef Array< SpacingValueTypeSpacingType
 
typedef Spacing2DType::ValueType SpacingValueType
 
typedef Object Superclass
 
typedef Image< TPixel, 2 >::ValueType ValueType
 

Public Member Functions

virtual void Allocate (void)
 
virtual IndexType ComputeIndex (OffsetValueType offset) const
 
virtual OffsetValueType ComputeOffset (const IndexType &ind) const
 
virtual void CopyInformation (const DataObject *data)
 
virtual void CreateNewImage (void)
 
virtual void FillBuffer (const TPixel &value)
 
virtual TPixel * GetBufferPointer ()
 
virtual const TPixel * GetBufferPointer () const
 
virtual const char * GetClassName () const
 
virtual DataObject * GetImage ()
 
virtual unsigned int GetImageDimension (void)
 
virtual ImageIOBaseGetImageIOReader (void)
 
virtual ImageIOBaseGetImageIOWriter (void)
 
virtual const char * GetInputFileName (void)
 
virtual const OffsetValueTypeGetOffsetTable () const
 
virtual PointType GetOrigin (void)
 
virtual const char * GetOutputFileName (void)
 
virtual const TPixel & GetPixel (const IndexType &index) const
 
virtual TPixel & GetPixel (const IndexType &index)
 
virtual AccessorType GetPixelAccessor (void)
 
virtual const AccessorType GetPixelAccessor (void) const
 
virtual PixelContainerGetPixelContainer ()
 
virtual const PixelContainerGetPixelContainer () const
 
virtual ProcessObject * GetReader ()
 
virtual SpacingType GetSpacing (void)
 
virtual ProcessObject * GetWriter ()
 
virtual unsigned int ImageDimension (void)
 
virtual void Initialize (void)
 
 itkStaticConstMacro (Dimension, unsigned int, VDimension)
 
virtual void Read (void)
 
virtual void SetImageIOReader (ImageIOBase *_arg)
 
virtual void SetImageIOWriter (ImageIOBase *_arg)
 
virtual void SetInputFileName (const char *name)
 
virtual void SetOrigin (const PointType &origin)
 
virtual void SetOutputFileName (const char *name)
 
virtual void SetPixel (const IndexType &index, const TPixel &value)
 
virtual void SetPixelContainer (PixelContainer *container)
 
virtual void SetRegions (SizeType size)
 
virtual void SetRequestedRegion (DataObject *data)
 
virtual void SetSpacing (const SpacingType &spacing)
 
virtual void Write (void)
 
- Public Member Functions inherited from itk::NDImageBase< TPixel >
TPixel & operator[] (const IndexType &index)
 
const TPixel & operator[] (const IndexType &index) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::NDImageBase< TPixel >
static Pointer NewNDImage (unsigned int dim)
 

Protected Member Functions

 NDImageTemplate ()
 
virtual ~NDImageTemplate ()
 
- Protected Member Functions inherited from itk::NDImageBase< TPixel >
 NDImageBase ()
 
virtual ~NDImageBase ()
 

Protected Attributes

ImagePointer m_Image
 
ReaderPointer m_Reader
 
WriterPointer m_Writer
 

Private Member Functions

 NDImageTemplate (const Self &)
 
void operator= (const Self &)
 

Member Typedef Documentation

template<class TPixel , unsigned int VDimension>
typedef Superclass::AccessorType itk::NDImageTemplate< TPixel, VDimension >::AccessorType

Definition at line 75 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef SmartPointer< const Self > itk::NDImageTemplate< TPixel, VDimension >::ConstPointer

Definition at line 54 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::DataObjectPointer itk::NDImageTemplate< TPixel, VDimension >::DataObjectPointer

Definition at line 69 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::DataObjectType itk::NDImageTemplate< TPixel, VDimension >::DataObjectType

Definition at line 68 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::Pointer itk::NDImageTemplate< TPixel, VDimension >::ImagePointer

Definition at line 95 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Image< TPixel, VDimension > itk::NDImageTemplate< TPixel, VDimension >::ImageType

Typedefs dependent on the dimension

Definition at line 94 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::IndexType itk::NDImageTemplate< TPixel, VDimension >::IndexType

ND versions of the index and sizetypes etc.

Definition at line 87 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::IndexType itk::NDImageTemplate< TPixel, VDimension >::IndexTypeD

Original, itk, versions of the index and sizetypes etc.

Definition at line 102 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::IndexValueType itk::NDImageTemplate< TPixel, VDimension >::IndexValueType

Definition at line 82 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::InternalPixelType itk::NDImageTemplate< TPixel, VDimension >::InternalPixelType

Definition at line 74 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::OffsetType itk::NDImageTemplate< TPixel, VDimension >::OffsetType

Definition at line 91 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::OffsetType itk::NDImageTemplate< TPixel, VDimension >::OffsetTypeD

Definition at line 106 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::OffsetValueType itk::NDImageTemplate< TPixel, VDimension >::OffsetValueType

Definition at line 84 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelContainer itk::NDImageTemplate< TPixel, VDimension >::PixelContainer

Definition at line 76 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelContainerConstPointer itk::NDImageTemplate< TPixel, VDimension >::PixelContainerConstPointer

Definition at line 78 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelContainerPointer itk::NDImageTemplate< TPixel, VDimension >::PixelContainerPointer

Definition at line 77 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PixelType itk::NDImageTemplate< TPixel, VDimension >::PixelType

Type definitions like normal itkImages, independent of the dimension

Definition at line 72 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef SmartPointer< Self > itk::NDImageTemplate< TPixel, VDimension >::Pointer

Definition at line 53 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PointType itk::NDImageTemplate< TPixel, VDimension >::PointType

Definition at line 90 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::PointType itk::NDImageTemplate< TPixel, VDimension >::PointTypeD

Definition at line 105 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::PointValueType itk::NDImageTemplate< TPixel, VDimension >::PointValueType

Definition at line 81 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ReaderType::Pointer itk::NDImageTemplate< TPixel, VDimension >::ReaderPointer

Definition at line 99 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageFileReader< ImageType > itk::NDImageTemplate< TPixel, VDimension >::ReaderType

Definition at line 98 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef NDImageTemplate itk::NDImageTemplate< TPixel, VDimension >::Self

Standard class typedefs.

Definition at line 51 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SizeType itk::NDImageTemplate< TPixel, VDimension >::SizeType

Definition at line 88 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::SizeType itk::NDImageTemplate< TPixel, VDimension >::SizeTypeD

Definition at line 103 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SizeValueType itk::NDImageTemplate< TPixel, VDimension >::SizeValueType

Definition at line 83 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SpacingType itk::NDImageTemplate< TPixel, VDimension >::SpacingType

Definition at line 89 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageType::SpacingType itk::NDImageTemplate< TPixel, VDimension >::SpacingTypeD

Definition at line 104 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::SpacingValueType itk::NDImageTemplate< TPixel, VDimension >::SpacingValueType

Definition at line 80 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef NDImageBase< TPixel > itk::NDImageTemplate< TPixel, VDimension >::Superclass

Definition at line 52 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef Superclass::ValueType itk::NDImageTemplate< TPixel, VDimension >::ValueType

Definition at line 73 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef WriterType::Pointer itk::NDImageTemplate< TPixel, VDimension >::WriterPointer

Definition at line 97 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
typedef ImageFileWriter< ImageType > itk::NDImageTemplate< TPixel, VDimension >::WriterType

Definition at line 96 of file itkNDImageTemplate.h.

Constructor & Destructor Documentation

template<class TPixel , unsigned int VDimension>
itk::NDImageTemplate< TPixel, VDimension >::NDImageTemplate ( )
protected
template<class TPixel , unsigned int VDimension>
virtual itk::NDImageTemplate< TPixel, VDimension >::~NDImageTemplate ( )
inlineprotectedvirtual

Definition at line 197 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
itk::NDImageTemplate< TPixel, VDimension >::NDImageTemplate ( const Self )
private

Member Function Documentation

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Allocate ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual IndexType itk::NDImageTemplate< TPixel, VDimension >::ComputeIndex ( OffsetValueType  offset) const
virtual
template<class TPixel , unsigned int VDimension>
virtual OffsetValueType itk::NDImageTemplate< TPixel, VDimension >::ComputeOffset ( const IndexType ind) const
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::CopyInformation ( const DataObject *  data)
virtual
Todo:
Transform IndexToPoint methods.

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::CreateNewImage ( void  )
virtual

Use New method to create a new actual image

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::FillBuffer ( const TPixel &  value)
virtual
template<class TPixel , unsigned int VDimension>
virtual TPixel* itk::NDImageTemplate< TPixel, VDimension >::GetBufferPointer ( )
virtual
template<class TPixel , unsigned int VDimension>
virtual const TPixel* itk::NDImageTemplate< TPixel, VDimension >::GetBufferPointer ( ) const
virtual
template<class TPixel , unsigned int VDimension>
virtual const char* itk::NDImageTemplate< TPixel, VDimension >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual DataObject* itk::NDImageTemplate< TPixel, VDimension >::GetImage ( )
virtual

Get the actual image

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual unsigned int itk::NDImageTemplate< TPixel, VDimension >::GetImageDimension ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual ImageIOBase* itk::NDImageTemplate< TPixel, VDimension >::GetImageIOReader ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual ImageIOBase* itk::NDImageTemplate< TPixel, VDimension >::GetImageIOWriter ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual const char* itk::NDImageTemplate< TPixel, VDimension >::GetInputFileName ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual const OffsetValueType* itk::NDImageTemplate< TPixel, VDimension >::GetOffsetTable ( ) const
virtual
template<class TPixel , unsigned int VDimension>
virtual PointType itk::NDImageTemplate< TPixel, VDimension >::GetOrigin ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual const char* itk::NDImageTemplate< TPixel, VDimension >::GetOutputFileName ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual const TPixel& itk::NDImageTemplate< TPixel, VDimension >::GetPixel ( const IndexType index) const
virtual
template<class TPixel , unsigned int VDimension>
virtual TPixel& itk::NDImageTemplate< TPixel, VDimension >::GetPixel ( const IndexType index)
virtual
template<class TPixel , unsigned int VDimension>
virtual AccessorType itk::NDImageTemplate< TPixel, VDimension >::GetPixelAccessor ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual const AccessorType itk::NDImageTemplate< TPixel, VDimension >::GetPixelAccessor ( void  ) const
virtual
template<class TPixel , unsigned int VDimension>
virtual PixelContainer* itk::NDImageTemplate< TPixel, VDimension >::GetPixelContainer ( )
virtual
template<class TPixel , unsigned int VDimension>
virtual const PixelContainer* itk::NDImageTemplate< TPixel, VDimension >::GetPixelContainer ( ) const
virtual
template<class TPixel , unsigned int VDimension>
virtual ProcessObject* itk::NDImageTemplate< TPixel, VDimension >::GetReader ( )
virtual
template<class TPixel , unsigned int VDimension>
virtual SpacingType itk::NDImageTemplate< TPixel, VDimension >::GetSpacing ( void  )
virtual
template<class TPixel , unsigned int VDimension>
virtual ProcessObject* itk::NDImageTemplate< TPixel, VDimension >::GetWriter ( )
virtual
template<class TPixel , unsigned int VDimension>
virtual unsigned int itk::NDImageTemplate< TPixel, VDimension >::ImageDimension ( void  )
virtual

Extra functions for NDImage. Get the Dimension.

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Initialize ( void  )
virtual
template<class TPixel , unsigned int VDimension>
itk::NDImageTemplate< TPixel, VDimension >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
VDimension   
)

Typedefs inherited from Superclass.

template<class TPixel , unsigned int VDimension>
static Pointer itk::NDImageTemplate< TPixel, VDimension >::New ( )
static

Method for creation through the object factory.

template<class TPixel , unsigned int VDimension>
void itk::NDImageTemplate< TPixel, VDimension >::operator= ( const Self )
private
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Read ( void  )
virtual

Read image data from file into the actual image

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetImageIOReader ( ImageIOBase _arg)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetImageIOWriter ( ImageIOBase _arg)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetInputFileName ( const char *  name)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetOrigin ( const PointType origin)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetOutputFileName ( const char *  name)
virtual

Set/Get the Output/Input FileName

Implements itk::NDImageBase< TPixel >.

template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetPixel ( const IndexType index,
const TPixel &  value 
)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetPixelContainer ( PixelContainer container)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetRegions ( SizeType  size)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetRequestedRegion ( DataObject *  data)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::SetSpacing ( const SpacingType spacing)
virtual
template<class TPixel , unsigned int VDimension>
virtual void itk::NDImageTemplate< TPixel, VDimension >::Write ( void  )
virtual

Write the actual image to file.

Implements itk::NDImageBase< TPixel >.

Field Documentation

template<class TPixel , unsigned int VDimension>
ImagePointer itk::NDImageTemplate< TPixel, VDimension >::m_Image
protected

Definition at line 201 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
ReaderPointer itk::NDImageTemplate< TPixel, VDimension >::m_Reader
protected

Definition at line 203 of file itkNDImageTemplate.h.

template<class TPixel , unsigned int VDimension>
WriterPointer itk::NDImageTemplate< TPixel, VDimension >::m_Writer
protected

Definition at line 202 of file itkNDImageTemplate.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo