Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkNDImageBase.h>
An image whose dimension can be specified at runtime.
The NDImageBase class is needed for the FullSearch optimizer. It allows run-time construction of an N-dimensional image. It has most of the functionality of a normal itk::Image.
The NewNDImage function defines the dimension of the image. CreateNewImage creates an instance of an itk::Image, with dimension as specified by NewNDImage. Note: the NewNDImage does not return an itk::Image, but an elx::NDImageTemplate.
Suggested way of using this class:
NDImageBase<short> var1 = NDImageBase::NewNDImage(3);
var1->CreateNewImage();
The result is similar as:
itk::Image<short,3>::Pointer var1 = itk::Image<short,3>::New();
except that the actual itk::Image is stored as member variable in the NDImageTemplate.
Definition at line 58 of file itkNDImageBase.h.
Public Types | |
typedef Image< TPixel, 2 >::AccessorType | AccessorType |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObjectType::Pointer | DataObjectPointer |
typedef DataObject | DataObjectType |
typedef Array< IndexValueType > | IndexType |
typedef ImageBase< 2 >::IndexValueType | IndexValueType |
typedef Image< TPixel, 2 >::InternalPixelType | InternalPixelType |
typedef Array< OffsetValueType > | OffsetType |
typedef ImageBase< 2 >::OffsetValueType | OffsetValueType |
typedef Image< TPixel, 2 >::PixelContainer | PixelContainer |
typedef Image< TPixel, 2 >::PixelContainerConstPointer | PixelContainerConstPointer |
typedef Image< TPixel, 2 >::PixelContainerPointer | PixelContainerPointer |
typedef ImageBase< 2 >::PointType | Point2DType |
typedef SmartPointer< Self > | Pointer |
typedef Array< PointValueType > | PointType |
typedef Point2DType::ValueType | PointValueType |
typedef NDImageBase | Self |
typedef Array< SizeValueType > | SizeType |
typedef ImageBase< 2 >::SizeValueType | SizeValueType |
typedef ImageBase< 2 >::SpacingType | Spacing2DType |
typedef Array< SpacingValueType > | SpacingType |
typedef Spacing2DType::ValueType | SpacingValueType |
typedef Object | Superclass |
typedef Image< TPixel, 2 >::ValueType | ValueType |
Public Member Functions | |
virtual void | Allocate (void)=0 |
virtual IndexType | ComputeIndex (OffsetValueType offset) const =0 |
virtual OffsetValueType | ComputeOffset (const IndexType &ind) const =0 |
virtual void | CopyInformation (const DataObject *data)=0 |
virtual void | CreateNewImage (void)=0 |
virtual void | FillBuffer (const TPixel &value)=0 |
virtual const TPixel * | GetBufferPointer () const =0 |
virtual TPixel * | GetBufferPointer ()=0 |
virtual const char * | GetClassName () const |
virtual unsigned int | GetImageDimension (void)=0 |
virtual ImageIOBase * | GetImageIOReader (void)=0 |
virtual ImageIOBase * | GetImageIOWriter (void)=0 |
virtual const char * | GetInputFileName (void)=0 |
virtual const OffsetValueType * | GetOffsetTable () const =0 |
virtual PointType | GetOrigin (void)=0 |
virtual const char * | GetOutputFileName (void)=0 |
virtual const TPixel & | GetPixel (const IndexType &index) const =0 |
virtual TPixel & | GetPixel (const IndexType &index)=0 |
virtual const AccessorType | GetPixelAccessor (void) const =0 |
virtual AccessorType | GetPixelAccessor (void)=0 |
virtual const PixelContainer * | GetPixelContainer () const =0 |
virtual PixelContainer * | GetPixelContainer ()=0 |
virtual SpacingType | GetSpacing (void)=0 |
virtual unsigned int | ImageDimension (void)=0 |
virtual void | Initialize (void)=0 |
TPixel & | operator[] (const IndexType &index) |
const TPixel & | operator[] (const IndexType &index) const |
virtual void | Read (void)=0 |
virtual void | SetImageIOReader (ImageIOBase *_arg)=0 |
virtual void | SetImageIOWriter (ImageIOBase *_arg)=0 |
virtual void | SetInputFileName (const char *)=0 |
virtual void | SetOrigin (const PointType &origin)=0 |
virtual void | SetOutputFileName (const char *)=0 |
virtual void | SetPixel (const IndexType &index, const TPixel &value)=0 |
virtual void | SetPixelContainer (PixelContainer *container)=0 |
virtual void | SetRegions (SizeType size)=0 |
virtual void | SetRequestedRegion (DataObject *data)=0 |
virtual void | SetSpacing (const SpacingType &spacing)=0 |
virtual void | Write (void)=0 |
Static Public Member Functions | |
static Pointer | NewNDImage (unsigned int dim) |
Protected Member Functions | |
NDImageBase () | |
~NDImageBase () override | |
Private Member Functions | |
NDImageBase (const Self &) | |
void | operator= (const Self &) |
typedef Image<TPixel,2>::AccessorType itk::NDImageBase< TPixel >::AccessorType |
Definition at line 83 of file itkNDImageBase.h.
typedef SmartPointer< const Self > itk::NDImageBase< TPixel >::ConstPointer |
Definition at line 66 of file itkNDImageBase.h.
typedef DataObjectType::Pointer itk::NDImageBase< TPixel >::DataObjectPointer |
Definition at line 77 of file itkNDImageBase.h.
typedef DataObject itk::NDImageBase< TPixel >::DataObjectType |
Definition at line 76 of file itkNDImageBase.h.
typedef Array< IndexValueType > 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 102 of file itkNDImageBase.h.
typedef ImageBase<2>::IndexValueType itk::NDImageBase< TPixel >::IndexValueType |
Definition at line 93 of file itkNDImageBase.h.
typedef Image<TPixel,2>::InternalPixelType itk::NDImageBase< TPixel >::InternalPixelType |
Definition at line 82 of file itkNDImageBase.h.
typedef Array< OffsetValueType > itk::NDImageBase< TPixel >::OffsetType |
Definition at line 106 of file itkNDImageBase.h.
typedef ImageBase<2>::OffsetValueType itk::NDImageBase< TPixel >::OffsetValueType |
Definition at line 95 of file itkNDImageBase.h.
typedef Image<TPixel,2>::PixelContainer itk::NDImageBase< TPixel >::PixelContainer |
Definition at line 84 of file itkNDImageBase.h.
typedef Image<TPixel,2>::PixelContainerConstPointer itk::NDImageBase< TPixel >::PixelContainerConstPointer |
Definition at line 86 of file itkNDImageBase.h.
typedef Image<TPixel,2>::PixelContainerPointer itk::NDImageBase< TPixel >::PixelContainerPointer |
Definition at line 85 of file itkNDImageBase.h.
typedef ImageBase<2>::PointType itk::NDImageBase< TPixel >::Point2DType |
Definition at line 89 of file itkNDImageBase.h.
typedef SmartPointer< Self > itk::NDImageBase< TPixel >::Pointer |
Definition at line 65 of file itkNDImageBase.h.
typedef Array< PointValueType > itk::NDImageBase< TPixel >::PointType |
Definition at line 105 of file itkNDImageBase.h.
typedef Point2DType::ValueType itk::NDImageBase< TPixel >::PointValueType |
Definition at line 92 of file itkNDImageBase.h.
typedef NDImageBase itk::NDImageBase< TPixel >::Self |
Standard class typedefs.
Definition at line 63 of file itkNDImageBase.h.
typedef Array< SizeValueType > itk::NDImageBase< TPixel >::SizeType |
Definition at line 103 of file itkNDImageBase.h.
typedef ImageBase<2>::SizeValueType itk::NDImageBase< TPixel >::SizeValueType |
Definition at line 94 of file itkNDImageBase.h.
typedef ImageBase<2>::SpacingType itk::NDImageBase< TPixel >::Spacing2DType |
Definition at line 88 of file itkNDImageBase.h.
typedef Array< SpacingValueType > itk::NDImageBase< TPixel >::SpacingType |
Definition at line 104 of file itkNDImageBase.h.
typedef Spacing2DType::ValueType itk::NDImageBase< TPixel >::SpacingValueType |
Definition at line 91 of file itkNDImageBase.h.
typedef Object itk::NDImageBase< TPixel >::Superclass |
Definition at line 64 of file itkNDImageBase.h.
typedef Image<TPixel,2>::ValueType itk::NDImageBase< TPixel >::ValueType |
Definition at line 81 of file itkNDImageBase.h.
|
inlineprotected |
Definition at line 214 of file itkNDImageBase.h.
|
inlineoverrideprotected |
Definition at line 215 of file itkNDImageBase.h.
|
private |
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Use New method to create a new actual image
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
virtual |
Method for creation through the object factory. Run-time type information (and related methods).
Reimplemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Extra functions for NDImage. Get the Dimension.
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
static |
Definition at line 235 of file itkNDImageBase.h.
|
private |
|
inline |
Definition at line 138 of file itkNDImageBase.h.
|
inline |
Definition at line 140 of file itkNDImageBase.h.
|
pure virtual |
Read image data from file into the actual image
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Set/Get the Input/OutputFileName
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Region typedef support. A region is used to specify a subset of an image.
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
|
pure virtual |
Write the actual image to file.
Implemented in itk::NDImageTemplate< TPixel, VDimension >.
Generated on 1667476801 for elastix by 1.9.4 |