Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage > Class Template Reference

Computes the inverse of a deformation field. More...

#include <itkIterativeInverseDeformationFieldImageFilter.h>

Inheritance diagram for itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef IterativeInverseDeformationFieldImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef InputImageType::ConstPointer InputImageConstPointer
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::PointType InputImagePointType
typedef InputImageType::RegionType InputImageRegionType
typedef InputImageType::SpacingType InputImageSpacingType
typedef TOutputImage OutputImageType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::PointType OutputImagePointType
typedef OutputImageType::IndexType OutputImageIndexType
typedef OutputImagePixelType::ValueType OutputImageValueType
typedef TimeProbe TimeType
typedef ImageRegionConstIterator<
InputImageType
InputConstIterator
typedef ImageRegionIterator<
InputImageType
InputIterator
typedef ImageRegionIterator<
OutputImageType
OutputIterator
typedef WarpVectorImageFilter<
TOutputImage, TInputImage,
TOutputImage > 
VectorWarperType
typedef VectorLinearInterpolateImageFunction<
TInputImage, double > 
FieldInterpolatorType
typedef FieldInterpolatorType::Pointer FieldInterpolatorPointer
typedef FieldInterpolatorType::OutputType FieldInterpolatorOutputType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual void SetNumberOfIterations (unsigned int _arg)
virtual unsigned int GetNumberOfIterations ()
virtual void SetStopValue (double _arg)
virtual double GetStopValue ()
char * GetReport ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Protected Attributes

unsigned int m_NumberOfIterations
double m_StopValue
double m_Time

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >

Computes the inverse of a deformation field.

IterativeInverseDeformationFieldImageFilter takes a deformation field as input and computes the deformation field that is its inverse. If the input deformation field was mapping coordinates from a space A into a space B, the output of this filter will map coordinates from the space B into the space A.

The algorithm implemented in this filter uses an iterative method for progresively refining the values of the inverse field. Starting from the direct field, at every pixel the direct mapping of this point is found, and a the nevative of the current deformation is stored in the inverse field at the nearest pixel. Then, subsequent iterations verify if any of the neigbor pixels provide a better return to the current pixel, in which case its value is taken for updating the vector in the inverse field.

This method was discussed in the users-list during February 2004.

Author:
Corinne Mattmann

Definition at line 57 of file itkIterativeInverseDeformationFieldImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef SmartPointer<const Self> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::ConstPointer
 

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

Definition at line 65 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef FieldInterpolatorType::OutputType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::FieldInterpolatorOutputType
 

Definition at line 97 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef FieldInterpolatorType::Pointer itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::FieldInterpolatorPointer
 

Definition at line 96 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef VectorLinearInterpolateImageFunction<TInputImage,double> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::FieldInterpolatorType
 

Definition at line 95 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef ImageRegionConstIterator<InputImageType> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputConstIterator
 

Definition at line 89 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::ConstPointer itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputImageConstPointer
 

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

Definition at line 75 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::Pointer itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputImagePointer
 

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

Definition at line 76 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::PointType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputImagePointType
 

Definition at line 77 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::RegionType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputImageRegionType
 

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

Definition at line 78 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::SpacingType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputImageSpacingType
 

Definition at line 79 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputImageType
 

Some typedefs.

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

Definition at line 74 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef ImageRegionIterator<InputImageType> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::InputIterator
 

Definition at line 90 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::IndexType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::OutputImageIndexType
 

Definition at line 84 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::PixelType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::OutputImagePixelType
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 82 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::Pointer itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::OutputImagePointer
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 81 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::PointType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::OutputImagePointType
 

Definition at line 83 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TOutputImage itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::OutputImageType
 

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 80 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImagePixelType::ValueType itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::OutputImageValueType
 

Definition at line 85 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef ImageRegionIterator<OutputImageType> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::OutputIterator
 

Definition at line 91 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef SmartPointer<Self> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::Pointer
 

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

Definition at line 64 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef IterativeInverseDeformationFieldImageFilter itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::Self
 

Standard class typedefs.

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

Definition at line 62 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef ImageToImageFilter<TInputImage,TOutputImage> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::Superclass
 

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

Definition at line 63 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TimeProbe itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::TimeType
 

Definition at line 87 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef WarpVectorImageFilter<TOutputImage,TInputImage,TOutputImage> itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::VectorWarperType
 

Definition at line 93 of file itkIterativeInverseDeformationFieldImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::IterativeInverseDeformationFieldImageFilter  )  [protected]
 

template<class TInputImage, class TOutputImage>
itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::~IterativeInverseDeformationFieldImageFilter  )  [inline, protected]
 

Definition at line 112 of file itkIterativeInverseDeformationFieldImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GenerateData  )  [protected, virtual]
 

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual const char* itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

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

template<class TInputImage, class TOutputImage>
virtual unsigned int itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetNumberOfIterations  )  [virtual]
 

template<class TInputImage, class TOutputImage>
char* itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetReport  )  [inline]
 

Definition at line 108 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
virtual double itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::GetStopValue  )  [virtual]
 

template<class TInputImage, class TOutputImage>
void itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::MakeReport  )  [protected]
 

template<class TInputImage, class TOutputImage>
Pointer itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TOutputImage>
void itk::IterativeInverseDeformationFieldImageFilter< TInputImage, 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< TInputImage, TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual void itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::SetNumberOfIterations unsigned int  _arg  )  [virtual]
 

template<class TInputImage, class TOutputImage>
virtual void itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::SetStopValue double  _arg  )  [virtual]
 


Member Data Documentation

template<class TInputImage, class TOutputImage>
unsigned int itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::m_NumberOfIterations [protected]
 

Definition at line 119 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
double itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::m_StopValue [protected]
 

Definition at line 120 of file itkIterativeInverseDeformationFieldImageFilter.h.

template<class TInputImage, class TOutputImage>
double itk::IterativeInverseDeformationFieldImageFilter< TInputImage, TOutputImage >::m_Time [protected]
 

Definition at line 121 of file itkIterativeInverseDeformationFieldImageFilter.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:31:26 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000