Go to the documentation of this file.
18 #ifndef __itkNDImageTemplate_h
19 #define __itkNDImageTemplate_h
22 #include "itkImageFileReader.h"
44 template<
class TPixel,
unsigned int VDimension >
163 itkGetObjectMacro(
Image, DataObject );
164 itkGetObjectMacro( Writer, ProcessObject );
165 itkGetObjectMacro( Reader, ProcessObject );
204 template<
class TIn,
class TOut >
205 class ConvertToDynamicArray
209 inline static TOut DO(
const TIn & in )
211 TOut out( VDimension );
213 for(
unsigned int i = 0; i < VDimension; i++ )
223 template<
class TIn,
class TOut >
224 class ConvertToStaticArray
228 inline static TOut DO(
const TIn & in )
232 for(
unsigned int i = 0; i < VDimension; i++ )
251 #ifndef ITK_MANUAL_INSTANTIATION
252 #include "itkNDImageTemplate.hxx"
255 #endif // end #ifndef __itkNDImageTemplate_h
virtual PointType GetOrigin(void)
virtual void SetSpacing(const SpacingType &spacing)
DataObjectType::Pointer DataObjectPointer
ImageBase< 2 >::IndexValueType IndexValueType
Image< TPixel, VDimension > ImageType
Array< OffsetValueType > OffsetType
Array< SizeValueType > SizeType
NDImageBase< TPixel > Superclass
Image< TPixel, 2 >::PixelType PixelType
virtual void SetRequestedRegion(DataObject *data)
virtual PixelContainer * GetPixelContainer()
An image whose dimension can be specified at runtime.
virtual AccessorType GetPixelAccessor(void)
virtual const PixelContainer * GetPixelContainer() const
Spacing2DType::ValueType SpacingValueType
ReaderType::Pointer ReaderPointer
Superclass::PointValueType PointValueType
Superclass::PixelContainer PixelContainer
ImageFileWriter< ImageType > WriterType
virtual TPixel * GetBufferPointer()
virtual void SetImageIOWriter(ImageIOBase *_arg)
virtual void CopyInformation(const DataObject *data)
Superclass::ValueType ValueType
virtual const TPixel * GetBufferPointer() const
ImageType::IndexType IndexTypeD
Image< TPixel, 2 >::InternalPixelType InternalPixelType
ImageFileReader< ImageType > ReaderType
Superclass::PointType PointType
This class is a specialization of the NDImageBase, which acts as a wrap around an itk::Image.
Superclass::IndexValueType IndexValueType
virtual TPixel & GetPixel(const IndexType &index)
virtual void SetOrigin(const PointType &origin)
Superclass::DataObjectPointer DataObjectPointer
Superclass::OffsetType OffsetType
virtual void FillBuffer(const TPixel &value)
void operator=(const Self &)
Image< TPixel, 2 >::PixelContainerPointer PixelContainerPointer
Superclass::SizeType SizeType
virtual OffsetValueType ComputeOffset(const IndexType &ind) const
virtual void SetImageIOReader(ImageIOBase *_arg)
Superclass::IndexType IndexType
Array< PointValueType > PointType
virtual ImageIOBase * GetImageIOWriter(void)
virtual const OffsetValueType * GetOffsetTable() const
Superclass::PixelContainerConstPointer PixelContainerConstPointer
ImageBase< 2 >::OffsetValueType OffsetValueType
itkStaticConstMacro(Dimension, unsigned int, VDimension)
Superclass::DataObjectType DataObjectType
Image< TPixel, 2 >::AccessorType AccessorType
Superclass::PixelContainerPointer PixelContainerPointer
SmartPointer< const Self > ConstPointer
virtual void Allocate(void)
ImageType::SizeType SizeTypeD
Superclass::InternalPixelType InternalPixelType
Image< TPixel, 2 >::PixelContainer PixelContainer
Superclass::PixelType PixelType
virtual unsigned int ImageDimension(void)
SmartPointer< Self > Pointer
virtual SpacingType GetSpacing(void)
virtual void SetPixelContainer(PixelContainer *container)
virtual void CreateNewImage(void)
Point2DType::ValueType PointValueType
virtual void SetPixel(const IndexType &index, const TPixel &value)
Superclass::AccessorType AccessorType
ImageBase< 2 >::SizeValueType SizeValueType
ImageType::PointType PointTypeD
ImageType::OffsetType OffsetTypeD
virtual void SetRegions(SizeType size)
virtual void SetOutputFileName(const char *name)
virtual ImageIOBase * GetImageIOReader(void)
ImageType::Pointer ImagePointer
Array< SpacingValueType > SpacingType
virtual const char * GetInputFileName(void)
Array< IndexValueType > IndexType
NDImageTemplate(const Self &)
Superclass::SpacingType SpacingType
Superclass::SpacingValueType SpacingValueType
Superclass::SizeValueType SizeValueType
virtual unsigned int GetImageDimension(void)
Image< TPixel, 2 >::ValueType ValueType
DataObject DataObjectType
virtual const TPixel & GetPixel(const IndexType &index) const
Image< TPixel, 2 >::PixelContainerConstPointer PixelContainerConstPointer
virtual const AccessorType GetPixelAccessor(void) const
Superclass::OffsetValueType OffsetValueType
ImageType::SpacingType SpacingTypeD
virtual ~NDImageTemplate()
virtual void SetInputFileName(const char *name)
virtual void Initialize(void)
WriterType::Pointer WriterPointer
virtual const char * GetOutputFileName(void)
virtual IndexType ComputeIndex(OffsetValueType offset) const
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|