#include <itkNDImageTemplate.h>
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.
Definition at line 45 of file itkNDImageTemplate.h.
Data Structures | |
class | ConvertToDynamicArray |
class | ConvertToStaticArray |
Public Types | |
using | AccessorType |
using | ConstPointer = SmartPointer<const Self> |
using | DataObjectPointer |
using | ImagePointer = typename ImageType::Pointer |
using | ImageType = Image<TPixel, VDimension> |
using | IndexType |
using | IndexTypeD = typename ImageType::IndexType |
using | InternalPixelType |
using | OffsetType |
using | OffsetTypeD = typename ImageType::OffsetType |
using | OffsetValueType |
using | PixelContainer |
using | PixelContainerConstPointer |
using | PixelContainerPointer |
using | Pointer = SmartPointer<Self> |
using | PointType |
using | PointTypeD = typename ImageType::PointType |
using | PointValueType |
using | ReaderPointer = typename ReaderType::Pointer |
using | ReaderType = ImageFileReader<ImageType> |
using | Self = NDImageTemplate |
using | SizeType |
using | SizeTypeD = typename ImageType::SizeType |
using | SpacingType |
using | SpacingTypeD = typename ImageType::SpacingType |
using | SpacingValueType |
using | Superclass = NDImageBase<TPixel> |
using | ValueType |
using | WriterPointer = typename WriterType::Pointer |
using | WriterType = ImageFileWriter<ImageType> |
Public Types inherited from itk::NDImageBase< TPixel > | |
using | AccessorType = typename Image<TPixel, 2>::AccessorType |
using | ConstPointer = SmartPointer<const Self> |
using | DataObjectPointer = DataObject::Pointer |
using | IndexType = Array<IndexValueType> |
using | InternalPixelType = typename Image<TPixel, 2>::InternalPixelType |
using | OffsetType = Array<OffsetValueType> |
using | OffsetValueType = typename ImageBase<2>::OffsetValueType |
using | PixelContainer = typename Image<TPixel, 2>::PixelContainer |
using | PixelContainerConstPointer = typename Image<TPixel, 2>::PixelContainerConstPointer |
using | PixelContainerPointer = typename Image<TPixel, 2>::PixelContainerPointer |
using | Point2DType = typename ImageBase<2>::PointType |
using | Pointer = SmartPointer<Self> |
using | PointType = Array<PointValueType> |
using | PointValueType = typename Point2DType::ValueType |
using | Self = NDImageBase |
using | SizeType = Array<SizeValueType> |
using | Spacing2DType = typename ImageBase<2>::SpacingType |
using | SpacingType = Array<SpacingValueType> |
using | SpacingValueType = typename Spacing2DType::ValueType |
using | Superclass = Object |
using | ValueType = typename Image<TPixel, 2>::ValueType |
Public Member Functions | |
void | Allocate () override |
IndexType | ComputeIndex (OffsetValueType offset) const override |
OffsetValueType | ComputeOffset (const IndexType &ind) const override |
void | CopyInformation (const DataObject *data) override |
void | CreateNewImage () override |
void | FillBuffer (const TPixel &value) override |
const TPixel * | GetBufferPointer () const override |
TPixel * | GetBufferPointer () override |
virtual const char * | GetClassName () const |
unsigned int | GetImageDimension () override |
ImageIOBase * | GetImageIOReader () override |
ImageIOBase * | GetImageIOWriter () override |
const char * | GetInputFileName () override |
const OffsetValueType * | GetOffsetTable () const override |
PointType | GetOrigin () override |
const char * | GetOutputFileName () override |
const TPixel & | GetPixel (const IndexType &index) const override |
TPixel & | GetPixel (const IndexType &index) override |
const AccessorType | GetPixelAccessor () const override |
AccessorType | GetPixelAccessor () override |
const PixelContainer * | GetPixelContainer () const override |
PixelContainer * | GetPixelContainer () override |
SpacingType | GetSpacing () override |
unsigned int | ImageDimension () override |
void | Initialize () override |
ITK_DISALLOW_COPY_AND_MOVE (NDImageTemplate) | |
itkGetModifiableObjectMacro (Image, DataObject) | |
itkGetModifiableObjectMacro (Reader, ProcessObject) | |
itkGetModifiableObjectMacro (Writer, ProcessObject) | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
void | Read () override |
void | SetImageIOReader (ImageIOBase *_arg) override |
void | SetImageIOWriter (ImageIOBase *_arg) override |
void | SetInputFileName (const char *name) override |
void | SetOrigin (const PointType &origin) override |
void | SetOutputFileName (const char *name) override |
void | SetPixel (const IndexType &index, const TPixel &value) override |
void | SetPixelContainer (PixelContainer *container) override |
void | SetRegions (SizeType size) override |
void | SetRequestedRegion (DataObject *data) override |
void | SetSpacing (const SpacingType &spacing) override |
void | Write () override |
Public Member Functions inherited from itk::NDImageBase< TPixel > | |
ITK_DISALLOW_COPY_AND_MOVE (NDImageBase) | |
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 ()=default | |
~NDImageTemplate () override=default | |
Protected Member Functions inherited from itk::NDImageBase< TPixel > | |
NDImageBase ()=default | |
~NDImageBase () override=default | |
Protected Attributes | |
ImagePointer | m_Image { nullptr } |
ReaderPointer | m_Reader { nullptr } |
WriterPointer | m_Writer { nullptr } |
using itk::NDImageBase< TPixel >::AccessorType |
Definition at line 83 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::DataObjectPointer |
Definition at line 77 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::ImagePointer = typename ImageType::Pointer |
Definition at line 92 of file itkNDImageTemplate.h.
using itk::NDImageTemplate< TPixel, VDimension >::ImageType = Image<TPixel, VDimension> |
Typedefs dependent on the dimension
Definition at line 91 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::IndexType |
ND versions of the index and sizetypes. Unlike in their counterparts in the itk::Image, their size can be defined at runtime. The elx::NDImageTemplate takes care of converting from/to these types to to/from the corresponding types in itk::Image.
Definition at line 100 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::IndexTypeD = typename ImageType::IndexType |
Original, itk, versions of the index and sizetypes etc.
Definition at line 99 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::InternalPixelType |
Definition at line 82 of file itkNDImageBase.h.
using itk::NDImageBase< TPixel >::OffsetType |
Definition at line 104 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::OffsetTypeD = typename ImageType::OffsetType |
Definition at line 103 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::OffsetValueType |
Definition at line 93 of file itkNDImageBase.h.
using itk::NDImageBase< TPixel >::PixelContainer |
Definition at line 84 of file itkNDImageBase.h.
using itk::NDImageBase< TPixel >::PixelContainerConstPointer |
Definition at line 86 of file itkNDImageBase.h.
using itk::NDImageBase< TPixel >::PixelContainerPointer |
Definition at line 85 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::PointType |
Definition at line 103 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::PointTypeD = typename ImageType::PointType |
Definition at line 102 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::PointValueType |
Definition at line 92 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::ReaderPointer = typename ReaderType::Pointer |
Definition at line 96 of file itkNDImageTemplate.h.
using itk::NDImageTemplate< TPixel, VDimension >::ReaderType = ImageFileReader<ImageType> |
Definition at line 95 of file itkNDImageTemplate.h.
using itk::NDImageTemplate< TPixel, VDimension >::Self = NDImageTemplate |
Standard class typedefs.
Definition at line 51 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::SizeType |
Definition at line 101 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::SizeTypeD = typename ImageType::SizeType |
Definition at line 100 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::SpacingType |
Definition at line 102 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::SpacingTypeD = typename ImageType::SpacingType |
Definition at line 101 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::SpacingValueType |
Definition at line 91 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::Superclass = NDImageBase<TPixel> |
Definition at line 52 of file itkNDImageTemplate.h.
using itk::NDImageBase< TPixel >::ValueType |
Definition at line 81 of file itkNDImageBase.h.
using itk::NDImageTemplate< TPixel, VDimension >::WriterPointer = typename WriterType::Pointer |
Definition at line 94 of file itkNDImageTemplate.h.
using itk::NDImageTemplate< TPixel, VDimension >::WriterType = ImageFileWriter<ImageType> |
Definition at line 93 of file itkNDImageTemplate.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Use New method to create a new actual image
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Extra functions for NDImage. Get the Dimension.
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
itk::NDImageTemplate< TPixel, VDimension >::ITK_DISALLOW_COPY_AND_MOVE | ( | NDImageTemplate< TPixel, VDimension > | ) |
itk::NDImageTemplate< TPixel, VDimension >::itkGetModifiableObjectMacro | ( | Image | , |
DataObject | ) |
Get the actual image
itk::NDImageTemplate< TPixel, VDimension >::itkGetModifiableObjectMacro | ( | Reader | , |
ProcessObject | ) |
itk::NDImageTemplate< TPixel, VDimension >::itkGetModifiableObjectMacro | ( | Writer | , |
ProcessObject | ) |
itk::NDImageTemplate< TPixel, VDimension >::itkStaticConstMacro | ( | Dimension | , |
unsigned int | , | ||
VDimension | ) |
Typedefs inherited from Superclass.
|
static |
Method for creation through the object factory.
|
overridevirtual |
Read image data from file into the actual image
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Set/Get the Output/Input FileName
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Implements itk::NDImageBase< TPixel >.
|
overridevirtual |
Write the actual image to file.
Implements itk::NDImageBase< TPixel >.
|
protected |
Definition at line 233 of file itkNDImageTemplate.h.
|
protected |
Definition at line 235 of file itkNDImageTemplate.h.
|
protected |
Definition at line 234 of file itkNDImageTemplate.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |