#include <itkWarpVectorImageFilter.h>
Inheritance diagram for itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >:
WarpVectorImageFilter warps an existing image with respect to a given deformation field. The input image is expected to have vector-like pixel types.
A deformation field is represented as a image whose pixel type is some vector type with at least N elements, where N is the dimension of the input image. The vector type must support element access via operator [].
The output image is produced by inverse mapping: the output pixels are mapped back onto the input image. This scheme avoids the creation of any holes and overlaps in the output image.
Each vector in the deformation field represent the distance between a geometric point in the input space and a point in the output space such that:
Typically the mapped position does not correspond to an integer pixel position in the input image. Interpolation via an image function is used to compute values at non-integer positions. The default interpolation typed used is the LinearInterpolateImageFunction. The user can specify a particular interpolation function via SetInterpolator(). Note that the input interpolator must derive from base class InterpolateImageFunction.
Position mapped to outside of the input image buffer are assigned a edge padding value.
The LargetPossibleRegion for the output is inherited from the input deformation field. The output image spacing and origin may be set via SetOutputSpacing, SetOutputOrigin. The default are respectively a vector of 1's and a vector of 0's.
This class is templated over the type of the input image, the type of the output image and the type of the deformation field.
The input image is set via SetInput. The input deformation field is set via SetDeformationField.
This filter is implemented as a multithreaded filter.
Definition at line 87 of file itkWarpVectorImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 95 of file itkWarpVectorImageFilter.h. |
|
Interpolator typedef support. Definition at line 132 of file itkWarpVectorImageFilter.h. |
|
Definition at line 136 of file itkWarpVectorImageFilter.h. |
|
Definition at line 128 of file itkWarpVectorImageFilter.h. |
|
Deformation field typedef support. Definition at line 127 of file itkWarpVectorImageFilter.h. |
|
Definition at line 129 of file itkWarpVectorImageFilter.h. |
|
Definition at line 112 of file itkWarpVectorImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 111 of file itkWarpVectorImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 108 of file itkWarpVectorImageFilter.h. |
|
Inherit some types from the superclass. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 107 of file itkWarpVectorImageFilter.h. |
|
Definition at line 134 of file itkWarpVectorImageFilter.h. Referenced by itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::~WarpVectorImageFilter(). |
|
Definition at line 133 of file itkWarpVectorImageFilter.h. |
|
Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 110 of file itkWarpVectorImageFilter.h. |
|
Typedef to describe the output image region type. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 104 of file itkWarpVectorImageFilter.h. Referenced by itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::~WarpVectorImageFilter(). |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 109 of file itkWarpVectorImageFilter.h. |
|
Definition at line 114 of file itkWarpVectorImageFilter.h. Referenced by itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::~WarpVectorImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 94 of file itkWarpVectorImageFilter.h. |
|
Point type Definition at line 139 of file itkWarpVectorImageFilter.h. Referenced by itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::~WarpVectorImageFilter(). |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 92 of file itkWarpVectorImageFilter.h. Referenced by itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::~WarpVectorImageFilter(). |
|
Definition at line 113 of file itkWarpVectorImageFilter.h. |
|
Definition at line 115 of file itkWarpVectorImageFilter.h. Referenced by itk::WarpVectorImageFilter< TInputImage, TOutputImage, TDeformationField >::~WarpVectorImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 93 of file itkWarpVectorImageFilter.h. |
|
Definition at line 116 of file itkWarpVectorImageFilter.h. |
|
|
|
|
This method is used to set the state of the filter before multi-threading. Reimplemented from itk::ImageSource< TOutputImage >. |
|
It is difficult to compute in advance the input image region required to compute the requested output region. Thus the safest thing to do is to request for the whole input image. For the deformation field, the input requested region set to be the same as that of the output requested region. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
WarpVectorImageFilter produces an image which is a different size than its input image. As such, it needs to provide an implemenation for GenerateOutputInformation() which set the output information according the OutputSpacing, OutputOrigin and the deformation field's LargestPossibleRegion. Reimplemented from itk::ProcessObject. |
|
Get a pointer the deformation field. |
|
Get the edge padding value |
|
Get a pointer to the interpolator function. |
|
Run-time type information (and related methods) Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the output image origin. |
|
Get the output image spacing. |
|
Dimension of the Vector pixel type. |
|
Determine the image dimension. |
|
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::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set the deformation field. |
|
Set the edge padding value |
|
Set the interpolator function. |
|
Set the output image origin. |
|
Set the output image origin. |
|
Set the output image spacing. |
|
Set the output image spacing. |
|
WarpVectorImageFilter is implemented as a multi-threaded filter. As such, it needs to provide and implementation for ThreadedGenerateData(). Reimplemented from itk::ImageSource< TOutputImage >. |