itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage > Class Template Reference

Warps a grid using an input deformation field. More...

#include <itkGridForwardWarpImageFilterNew.h>

Inheritance diagram for itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >:
ImageToImageFilter

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
DeformationFieldType::ConstPointer 
DeformationFieldConstPointer
typedef TDeformationField DeformationFieldType
typedef
DeformationFieldType::PixelType 
DisplacementType
typedef FixedArray< int,
ImageDimension > 
GridSpacingType
typedef OutputImageType::IndexType IndexType
typedef
Superclass::OutputImagePointer 
OutputImagePointer
typedef TOutputImage::RegionType OutputImageRegionType
typedef Superclass::OutputImageType OutputImageType
typedef OutputImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef
GridForwardWarpImageFilterNew 
Self
typedef OutputImageType::SizeType SizeType
typedef
OutputImageType::SpacingType 
SpacingType
typedef ImageToImageFilter
< TDeformationField,
TOutputImage > 
Superclass

Public Member Functions

 itkGetConstMacro (GridPixelSpacing, GridSpacingType)
 itkGetConstMacro (ForegroundValue, PixelType)
 itkGetConstMacro (BackgroundValue, PixelType)
 itkNewMacro (Self)
 itkSetMacro (GridPixelSpacing, GridSpacingType)
 itkSetMacro (ForegroundValue, PixelType)
 itkSetMacro (BackgroundValue, PixelType)
 itkStaticConstMacro (DeformationFieldDimension, unsigned int, TDeformationField::ImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
 itkTypeMacro (GridForwardWarpImageFilterNew, ImageToImageFilter)

Protected Member Functions

void GenerateData ()
 GridForwardWarpImageFilterNew ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~GridForwardWarpImageFilterNew ()

Private Member Functions

 GridForwardWarpImageFilterNew (const Self &)
void operator= (const Self &)

Private Attributes

PixelType m_BackgroundValue
PixelType m_ForegroundValue
GridSpacingType m_GridPixelSpacing

Detailed Description

template<class TDeformationField, class TOutputImage>
class itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >

Warps a grid using an input deformation field.

GridForwardWarpImageFilterNew warps a grid with respect to a given deformation field.

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 forward mapping.

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:

\[ p_{in} = p_{out} + d \]

Typically the mapped position does not correspond to an integer pixel position in the output image. We round it.

Author:
Tom Vercauteren, INRIA & Mauna Kea Technologies

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/510


Member Typedef Documentation

template<class TDeformationField , class TOutputImage >
typedef SmartPointer< const Self > itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::ConstPointer
template<class TDeformationField , class TOutputImage >
typedef DeformationFieldType::ConstPointer itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::DeformationFieldConstPointer
template<class TDeformationField , class TOutputImage >
typedef TDeformationField itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::DeformationFieldType

Deformation field typedef support.

template<class TDeformationField , class TOutputImage >
typedef DeformationFieldType::PixelType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::DisplacementType
template<class TDeformationField , class TOutputImage >
typedef FixedArray< int, ImageDimension > itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::GridSpacingType

Set the spacing for the grids value, a spacing of 0 indicates that displacements in that direction should be set to zero (thus keeping the lines in plane). Negative grid spacings indicate that grid lines in that direction should not be rendered, but that in the multi-dimensional framework, the absolute value of that spacing should be used when deterimining which lines to render. For example, if you want only Z-dir warped lines in a 2D X-dir view, then set grid spacing to 0,-8,8.

template<class TDeformationField , class TOutputImage >
typedef OutputImageType::IndexType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::IndexType
template<class TDeformationField , class TOutputImage >
typedef Superclass::OutputImagePointer itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::OutputImagePointer
template<class TDeformationField , class TOutputImage >
typedef TOutputImage::RegionType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::OutputImageRegionType

Typedef to describe the output image region type.

template<class TDeformationField , class TOutputImage >
typedef Superclass::OutputImageType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::OutputImageType

Inherit some types from the superclass.

template<class TDeformationField , class TOutputImage >
typedef OutputImageType::PixelType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::PixelType
template<class TDeformationField , class TOutputImage >
typedef SmartPointer< Self > itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::Pointer
template<class TDeformationField , class TOutputImage >
typedef GridForwardWarpImageFilterNew itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::Self

Standard class typedefs.

template<class TDeformationField , class TOutputImage >
typedef OutputImageType::SizeType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::SizeType
template<class TDeformationField , class TOutputImage >
typedef OutputImageType::SpacingType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::SpacingType
template<class TDeformationField , class TOutputImage >
typedef ImageToImageFilter< TDeformationField, TOutputImage > itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::GridForwardWarpImageFilterNew (  )  [protected]
template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::~GridForwardWarpImageFilterNew (  )  [inline, protected]
template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::GridForwardWarpImageFilterNew ( const Self  )  [private]

Member Function Documentation

template<class TDeformationField , class TOutputImage >
void itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::GenerateData (  )  [protected]
template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkGetConstMacro ( GridPixelSpacing  ,
GridSpacingType   
)

Get the foreground value

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkGetConstMacro ( ForegroundValue  ,
PixelType   
)

Get the foreground value

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkGetConstMacro ( BackgroundValue  ,
PixelType   
)

Get the background value

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkNewMacro ( Self   ) 

Method for creation through the object factory.

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkSetMacro ( GridPixelSpacing  ,
GridSpacingType   
)
template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkSetMacro ( ForegroundValue  ,
PixelType   
)

Set the foreground value

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkSetMacro ( BackgroundValue  ,
PixelType   
)

Set the background value

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkStaticConstMacro ( DeformationFieldDimension  ,
unsigned  int,
TDeformationField::ImageDimension   
)
template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkStaticConstMacro ( ImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension   
)

Determine the image dimension.

template<class TDeformationField , class TOutputImage >
itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::itkTypeMacro ( GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >  ,
ImageToImageFilter   
)

Run-time type information (and related methods)

template<class TDeformationField , class TOutputImage >
void itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::operator= ( const Self  )  [private]
template<class TDeformationField , class TOutputImage >
void itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected]

Member Data Documentation

template<class TDeformationField , class TOutputImage >
PixelType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::m_BackgroundValue [private]
template<class TDeformationField , class TOutputImage >
PixelType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::m_ForegroundValue [private]
template<class TDeformationField , class TOutputImage >
GridSpacingType itk::GridForwardWarpImageFilterNew< TDeformationField, TOutputImage >::m_GridPixelSpacing [private]

The documentation for this class was generated from the following file:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1