#include <itkResampleImageFilter.h>
Inheritance diagram for itk::ResampleImageFilter:
Public Types | |
typedef ResampleImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef InputImageType::Pointer | InputImagePointer |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef Transform< double, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) | TransformType ) |
typedef TransformType::Pointer | TransformPointerType |
typedef InterpolateImageFunction< InputImageType, double > | InterpolatorType |
typedef InterpolatorType::Pointer | InterpolatorPointerType |
typedef Size< itkGetStaticConstMacro(ImageDimension) | SizeType ) |
typedef TOutputImage::IndexType | IndexType |
typedef InterpolatorType::PointType | PointType |
typedef TOutputImage::PixelType | PixelType |
typedef TOutputImage::RegionType | OutputImageRegionType |
Public Methods | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension) | |
void | SetTransform (TransformPointerType transform) |
virtual TransformType * | GetTransform () |
void | SetInterpolator (InterpolatorPointerType interpolator) |
virtual InterpolatorType * | GetInterpolator () |
void | SetSize (const SizeType &size) |
const SizeType & | GetSize () |
virtual void | SetDefaultPixelValue (PixelType _arg) |
virtual PixelType | GetDefaultPixelValue () |
virtual void | SetOutputSpacing (const double values[ImageDimension]) |
const double * | GetOutputSpacing () |
virtual void | SetOutputOrigin (const double values[ImageDimension]) |
const double * | GetOutputOrigin () |
virtual void | GenerateOutputInformation () |
virtual void | GenerateInputRequestedRegion () |
virtual void | BeforeThreadedGenerateData () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
ResampleImageFilter () | |
~ResampleImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
ResampleImageFilter resamples an existing image through some coordinate transform, interpolating via some image function. The class is templated over the type of the input image, the type of the output image, the type of the coordinate transformation, and the type of the interpolation method or image function.
Since this filter produces an image which is a different size than its input, it needs to override several of the methods defined in ProcessObject in order to properly manage the pipeline execution model. In particular, this filter overrides ProcessObject::GenerateInputRequestedRegion() and ProcessObject::GenerateOutputInformation().
This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.
Definition at line 52 of file itkResampleImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 60 of file itkResampleImageFilter.h. |
|
Image index typedef. Definition at line 93 of file itkResampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 63 of file itkResampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 65 of file itkResampleImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 61 of file itkResampleImageFilter.h. |
|
Definition at line 87 of file itkResampleImageFilter.h. |
|
Interpolator typedef. Definition at line 86 of file itkResampleImageFilter.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 64 of file itkResampleImageFilter.h. |
|
Typedef to describe the output image region type. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 102 of file itkResampleImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 62 of file itkResampleImageFilter.h. |
|
Image pixel value typedef. Definition at line 99 of file itkResampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 59 of file itkResampleImageFilter.h. |
|
Image point typedef. Definition at line 96 of file itkResampleImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 57 of file itkResampleImageFilter.h. |
|
Image size typedef. Definition at line 90 of file itkResampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 58 of file itkResampleImageFilter.h. |
|
Definition at line 83 of file itkResampleImageFilter.h. |
|
Transform typedef.
Definition at line 82 of file itkResampleImageFilter.h. |
|
|
|
Definition at line 171 of file itkResampleImageFilter.h. |
|
This method is used to set the state of the filter before multi-threading. Reimplemented from itk::ImageSource< TOutputImage >. |
|
ResampleImageFilter needs a different input requested region than the output requested region. As such, ResampleImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
ResampleImageFilter produces an image which is a different size than its input. As such, it needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
Reimplemented from itk::ProcessObject. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the pixel value when a transformed pixel is outside of the image |
|
Get a pointer to the interpolator function. |
|
Get the output image origin. Definition at line 146 of file itkResampleImageFilter.h. |
|
Get the output image spacing. Definition at line 139 of file itkResampleImageFilter.h. |
|
Get the size of the output image. Definition at line 126 of file itkResampleImageFilter.h. |
|
Get a pointer to the coordinate transform. |
|
Number of dimensions. |
|
Method for creation through the object factory. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
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::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set the pixel value when a transformed pixel is outside of the image |
|
Set the interpolator function Definition at line 115 of file itkResampleImageFilter.h. |
|
Set the output image origin. |
|
Set the output image spacing. |
|
Set the size of the output image. Definition at line 122 of file itkResampleImageFilter.h. |
|
Set the coordinate transformation. Set the coordinate transform to use for resampling. Note that this must be in index coordinates and is the output-to-input transform, NOT the input-to-output transform that you might naively expect. Definition at line 108 of file itkResampleImageFilter.h. |
|
ResampleImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread" Reimplemented from itk::ImageSource< TOutputImage >. |