ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorResampleImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
void | operator= (const Self &) |
VectorResampleImageFilter (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Resample an image via a coordinate transform.
VectorResampleImageFilter resamples an existing image through some coordinate transform, interpolating via some image function. The class is templated over the types of the input and output images.
Note that the choice of interpolator function can be important. This function is set via SetInterpolator(). The default is itk::VectorLinearInterpolateImageFunction<InputImageType, TInterpolatorPrecisionType>, which is reasonable for ordinary medical images.
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 59 of file itkVectorResampleImageFilter.h.
typedef SmartPointer< const Self > itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 67 of file itkVectorResampleImageFilter.h.
typedef TOutputImage::DirectionType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::DirectionType |
Definition at line 120 of file itkVectorResampleImageFilter.h.
typedef TOutputImage::IndexType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::IndexType |
Image index typedef.
Definition at line 105 of file itkVectorResampleImageFilter.h.
typedef InputImageType::ConstPointer itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkVectorResampleImageFilter.h.
typedef InputImageType::Pointer itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 71 of file itkVectorResampleImageFilter.h.
typedef InputImageType::RegionType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkVectorResampleImageFilter.h.
typedef TInputImage itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 69 of file itkVectorResampleImageFilter.h.
typedef InterpolatorType::Pointer itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InterpolatorPointerType |
Definition at line 99 of file itkVectorResampleImageFilter.h.
typedef VectorInterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::InterpolatorType |
Interpolator typedef.
Definition at line 98 of file itkVectorResampleImageFilter.h.
typedef TOutputImage::PointType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OriginPointType |
Definition at line 119 of file itkVectorResampleImageFilter.h.
typedef OutputImageType::Pointer itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 73 of file itkVectorResampleImageFilter.h.
typedef TOutputImage::RegionType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OutputImageRegionType |
Typedef to describe the output image region type.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 115 of file itkVectorResampleImageFilter.h.
typedef TOutputImage itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 70 of file itkVectorResampleImageFilter.h.
typedef PixelType::ValueType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::PixelComponentType |
Definition at line 112 of file itkVectorResampleImageFilter.h.
typedef TOutputImage::PixelType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::PixelType |
Image pixel value typedef.
Definition at line 111 of file itkVectorResampleImageFilter.h.
typedef SmartPointer< Self > itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 66 of file itkVectorResampleImageFilter.h.
typedef InterpolatorType::PointType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::PointType |
Image point typedef.
Definition at line 108 of file itkVectorResampleImageFilter.h.
typedef VectorResampleImageFilter itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkVectorResampleImageFilter.h.
typedef Size< itkGetStaticConstMacro(ImageDimension) > itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SizeType |
Image size typedef.
Definition at line 102 of file itkVectorResampleImageFilter.h.
typedef TOutputImage::SpacingType itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::SpacingType |
Image spacing,origin and direction typedef
Definition at line 118 of file itkVectorResampleImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 65 of file itkVectorResampleImageFilter.h.
typedef TransformType::ConstPointer itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::TransformPointerType |
Transform typedef.
Definition at line 94 of file itkVectorResampleImageFilter.h.
typedef Transform< TInterpolatorPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension) > itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::TransformType |
Transform typedef.
Definition at line 92 of file itkVectorResampleImageFilter.h.
|
protected |
End concept checking
|
inlineprotected |
End concept checking
Definition at line 216 of file itkVectorResampleImageFilter.h.
|
private |
|
virtual |
This method is used to set the state of the filter after multi-threading.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
This method is used to set the state of the filter before multi-threading.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
VectorResampleImageFilter needs a different input requested region than the output requested region. As such, VectorResampleImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
VectorResampleImageFilter 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.
|
virtual |
Get the pixel value when a transformed pixel is outside of the image
|
virtual |
Get a pointer to the interpolator function.
|
virtual |
Method Compute the Modified Time based on changed to the components.
Reimplemented from itk::Object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set the output direciton cosine matrix.
|
virtual |
Get the output image origin.
|
virtual |
Get the output image spacing.
|
virtual |
Get the start index of the output largest possible region.
|
virtual |
Get the size of the output image.
|
virtual |
Get a pointer to the coordinate transform.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set the pixel value when a transformed pixel is outside of the image. The default default pixel value is 0.
|
virtual |
Set the interpolator function. The default is itk::VectorLinearInterpolateImageFunction<InputImageType, TInterpolatorPrecisionType>.
|
virtual |
Set the output direciton cosine matrix.
|
virtual |
Set the output image origin.
|
virtual |
Set the output image origin.
|
virtual |
Set the output image spacing.
|
virtual |
Set the output image spacing.
|
virtual |
Set the start index of the output largest possible region. The default is an index of all zeros.
|
virtual |
Set the size of the output image.
|
virtual |
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. The default is itk::AffineTransform<TInterpolatorPrecisionType, ImageDimension>.
|
protectedvirtual |
VectorResampleImageFilter 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 >.
itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::typedef | ( | Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType > | ) |
Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename TInputImage::PixelType::ValueType > )
itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >::typedef | ( | Concept::HasNumericTraits< PixelComponentType > | ) |
This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< PixelComponentType > )
|
static |
Number of dimensions.
Definition at line 84 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 239 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 237 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 244 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 243 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 242 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 245 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 235 of file itkVectorResampleImageFilter.h.
|
private |
Definition at line 236 of file itkVectorResampleImageFilter.h.