#include <itkImportImageFilter.h>
Inheritance diagram for itk::ImportImageFilter:
Public Types | |
typedef Image< TPixel, VImageDimension > | OutputImageType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef ImportImageFilter | Self |
typedef ImageSource< OutputImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Index< VImageDimension > | IndexType |
typedef Size< VImageDimension > | SizeType |
typedef ImageRegion< VImageDimension > | RegionType |
typedef TPixel | OutputImagePixelType |
Public Methods | |
virtual const char * | GetClassName () const |
TPixel * | GetImportPointer () |
void | SetImportPointer (TPixel *ptr, unsigned long num, bool LetSourceManageMemory) |
void | SetRegion (const RegionType ®ion) |
const RegionType & | GetRegion () const |
virtual const double * | GetSpacing () const |
virtual const double * | GetOrigin () const |
virtual void | SetSpacing (const double data[]) |
virtual void | SetSpacing (const float data[]) |
virtual void | SetOrigin (const double data[]) |
virtual void | SetOrigin (const float data[]) |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
ImportImageFilter () | |
~ImportImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | GenerateData () |
virtual void | GenerateOutputInformation () |
virtual void | EnlargeOutputRequestedRegion (DataObject *output) |
ImportImageFilter provides a mechanism for importing data into an itk::Image. ImportImageFilter is an image source, so it behaves like any other pipeline object.
This class is templated over the pixel type and the image dimension of the output image.
Definition at line 39 of file itkImportImageFilter.h.
|
Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. Definition at line 51 of file itkImportImageFilter.h. |
|
Index typedef support. An index is used to access pixel values. Definition at line 60 of file itkImportImageFilter.h. |
|
Type of the output image pixel type. Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. Definition at line 70 of file itkImportImageFilter.h. |
|
Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. Definition at line 45 of file itkImportImageFilter.h. |
|
Typedef for the output image. Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. Definition at line 44 of file itkImportImageFilter.h. |
|
Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. Definition at line 50 of file itkImportImageFilter.h. |
|
Region typedef support. A region is used to specify a subset of an image. Definition at line 67 of file itkImportImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. Definition at line 48 of file itkImportImageFilter.h. |
|
Size typedef support. A size is used to define region bounds. Definition at line 63 of file itkImportImageFilter.h. |
|
Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. Definition at line 49 of file itkImportImageFilter.h. |
|
|
|
|
|
This filter can only produce the amount of data that it is given, so we must override ProcessObject::EnlargeOutputRequestedRegion() (The default implementation of a source produces the amount of data requested. This source, however, can only produce what it is given.)
Reimplemented from itk::ProcessObject. |
|
This filter does not actually "produce" any data, rather it "wraps" the user supplied data into an itk::Image. Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. |
|
This is a source, so it must set the spacing, size, and largest possible region for the output image that it will produce.
Reimplemented from itk::ProcessObject. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageSource< Image< TPixel, VImageDimension > >. |
|
Get the pointer from which the image data is imported. |
|
Get the origin of the image.
|
|
Get the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 95 of file itkImportImageFilter.h. |
|
Get the spacing (size of a pixel) of the image.
|
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::ProcessObject. |
|
Set the pointer from which the image data is imported. "num" is the number of pixels in the block of memory. If "LetSourceManageMemory" is false, then the application retains the responsibility of freeing the memory for this image data. If "LetSourceManageMemory" is true, then this class will free the memory when this object is destroyed. |
|
Set the origin of the image.
|
|
Set the origin of the image.
|
|
Set the region object that defines the size and starting index for the imported image. This will serve as the LargestPossibleRegion, the BufferedRegion, and the RequestedRegion.
Definition at line 88 of file itkImportImageFilter.h. |
|
Set the spacing (size of a pixel) of the image.
|
|
Set the spacing (size of a pixel) of the image.
|