ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage > Class Template Reference

#include <itkGridForwardWarpImageFilter.h>

+ Inheritance diagram for itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >:
+ Collaboration diagram for itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
DisplacementFieldType::ConstPointer 
DisplacementFieldConstPointer
typedef TDisplacementField DisplacementFieldType
typedef
DisplacementFieldType::PixelType 
DisplacementType
typedef OutputImageType::IndexType IndexType
typedef
Superclass::OutputImagePointer 
OutputImagePointer
typedef TOutputImage::RegionType OutputImageRegionType
typedef Superclass::OutputImageType OutputImageType
typedef OutputImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef GridForwardWarpImageFilter Self
typedef OutputImageType::SizeType SizeType
typedef
OutputImageType::SpacingType 
SpacingType
typedef ImageToImageFilter
< TDisplacementField,
TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual PixelType GetBackgroundValue () const
virtual PixelType GetForegroundValue () const
virtual const char * GetNameOfClass () const
virtual void SetBackgroundValue (PixelType _arg)
virtual void SetForegroundValue (PixelType _arg)
 typedef (Concept::SameDimension< ImageDimension, DisplacementFieldDimension >) SameDimensionCheck
 typedef (Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType >) DisplacementFieldHasNumericTraitsCheck

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TOutputImage::ImageDimension
static const unsigned int DisplacementFieldDimension = TDisplacementField::ImageDimension

Protected Member Functions

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

Private Member Functions

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

Private Attributes

PixelType m_BackgroundValue
PixelType m_ForegroundValue
unsigned int m_GridPixSpacing

Detailed Description

template<class TDisplacementField, class TOutputImage>
class itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >

Warps a grid using an input deformation field.

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

A displacement 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 displacement 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

Definition at line 58 of file itkGridForwardWarpImageFilter.h.


Member Typedef Documentation

template<class TDisplacementField , class TOutputImage >
typedef SmartPointer< const Self > itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::ConstPointer
template<class TDisplacementField , class TOutputImage >
typedef DisplacementFieldType::ConstPointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementFieldConstPointer

Definition at line 94 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef TDisplacementField itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementFieldType

Deformation field typedef support.

Definition at line 93 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef DisplacementFieldType::PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementType

Definition at line 95 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef OutputImageType::IndexType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::IndexType

Definition at line 80 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef Superclass::OutputImagePointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImagePointer

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 79 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef TOutputImage::RegionType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImageRegionType

Typedef to describe the output image region type.

Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.

Definition at line 72 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef Superclass::OutputImageType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::OutputImageType

Inherit some types from the superclass.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 78 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef OutputImageType::PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::PixelType

Definition at line 82 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef SmartPointer< Self > itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::Pointer
template<class TDisplacementField , class TOutputImage >
typedef GridForwardWarpImageFilter itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.

Definition at line 63 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef OutputImageType::SizeType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SizeType

Definition at line 81 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef OutputImageType::SpacingType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SpacingType

Definition at line 83 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
typedef ImageToImageFilter< TDisplacementField, TOutputImage > itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TDisplacementField , class TOutputImage >
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GridForwardWarpImageFilter ( ) [protected]

End concept checking

template<class TDisplacementField , class TOutputImage >
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::~GridForwardWarpImageFilter ( ) [inline, protected]

Definition at line 120 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GridForwardWarpImageFilter ( const Self ) [private]

Member Function Documentation

template<class TDisplacementField , class TOutputImage >
virtual::itk::LightObject::Pointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::CreateAnother ( void  ) const [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.

template<class TDisplacementField , class TOutputImage >
void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GenerateData ( ) [protected, virtual]
template<class TDisplacementField , class TOutputImage >
virtual PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GetBackgroundValue ( ) const [virtual]

Get the background value

template<class TDisplacementField , class TOutputImage >
virtual PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GetForegroundValue ( ) const [virtual]

Get the foreground value

template<class TDisplacementField , class TOutputImage >
virtual const char* itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods)

Reimplemented from itk::ImageToImageFilter< TDisplacementField, TOutputImage >.

template<class TDisplacementField , class TOutputImage >
static Pointer itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TDisplacementField , class TOutputImage >
void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::operator= ( const Self ) [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< TDisplacementField, TOutputImage >.

template<class TDisplacementField , class TOutputImage >
void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

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< TDisplacementField, TOutputImage >.

template<class TDisplacementField , class TOutputImage >
virtual void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SetBackgroundValue ( PixelType  _arg) [virtual]

Set the background value

template<class TDisplacementField , class TOutputImage >
virtual void itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::SetForegroundValue ( PixelType  _arg) [virtual]

Set the foreground value

template<class TDisplacementField , class TOutputImage >
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::typedef ( Concept::SameDimension< ImageDimension, DisplacementFieldDimension )

Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< ImageDimension, DisplacementFieldDimension > )

template<class TDisplacementField , class TOutputImage >
itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::typedef ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType >  )

This class requires DisplacementFieldHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename TDisplacementField::PixelType::ValueType > )


Member Data Documentation

template<class TDisplacementField , class TOutputImage >
const unsigned int itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::DisplacementFieldDimension = TDisplacementField::ImageDimension [static]

Determine the image dimension.

Definition at line 89 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
const unsigned int itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::ImageDimension = TOutputImage::ImageDimension [static]

Determine the image dimension.

Definition at line 87 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::m_BackgroundValue [private]

Definition at line 133 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
PixelType itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::m_ForegroundValue [private]

Definition at line 134 of file itkGridForwardWarpImageFilter.h.

template<class TDisplacementField , class TOutputImage >
unsigned int itk::GridForwardWarpImageFilter< TDisplacementField, TOutputImage >::m_GridPixSpacing [private]

Definition at line 135 of file itkGridForwardWarpImageFilter.h.


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