ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkIterativeInverseDisplacementFieldImageFilter.h>
Computes the inverse of a displacement field.
IterativeInverseDisplacementFieldImageFilter takes a displacement field as input and computes the displacement field that is its inverse. If the input displacement 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 displacement 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.
Definition at line 52 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef SmartPointer< const Self > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 60 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef FieldInterpolatorType::OutputType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::FieldInterpolatorOutputType |
Definition at line 92 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef FieldInterpolatorType::Pointer itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::FieldInterpolatorPointer |
Definition at line 91 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef VectorLinearInterpolateImageFunction< TInputImage, double > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::FieldInterpolatorType |
Definition at line 90 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef ImageRegionConstIterator< InputImageType > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputConstIterator |
Definition at line 84 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef InputImageType::ConstPointer itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 70 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef InputImageType::Pointer itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 71 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef InputImageType::PointType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputImagePointType |
Definition at line 72 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef InputImageType::RegionType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 73 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef InputImageType::SpacingType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputImageSpacingType |
Definition at line 74 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef TInputImage itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputImageType |
Some typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 66 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef ImageRegionIterator< InputImageType > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::InputIterator |
Definition at line 85 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef OutputImageType::IndexType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::OutputImageIndexType |
Definition at line 79 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef OutputImageType::PixelType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 77 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef OutputImageType::Pointer itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 76 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef OutputImageType::PointType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::OutputImagePointType |
Definition at line 78 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef TOutputImage itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 75 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef OutputImagePixelType::ValueType itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::OutputImageValueType |
Definition at line 80 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef ImageRegionIterator< OutputImageType > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::OutputIterator |
Definition at line 86 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef SmartPointer< Self > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 59 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef IterativeInverseDisplacementFieldImageFilter itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef TimeProbe itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::TimeType |
Definition at line 82 of file itkIterativeInverseDisplacementFieldImageFilter.h.
typedef WarpVectorImageFilter< TOutputImage, TInputImage, TOutputImage > itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::VectorWarperType |
Definition at line 88 of file itkIterativeInverseDisplacementFieldImageFilter.h.
itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::IterativeInverseDisplacementFieldImageFilter | ( | ) | [protected] |
End concept checking
itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::~IterativeInverseDisplacementFieldImageFilter | ( | ) | [inline, protected] |
Definition at line 113 of file itkIterativeInverseDisplacementFieldImageFilter.h.
itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::IterativeInverseDisplacementFieldImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, 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.
void itk::IterativeInverseDisplacementFieldImageFilter< 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.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual const char* itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual unsigned int itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::GetNumberOfIterations | ( | ) | const [virtual] |
virtual double itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::GetStopValue | ( | ) | const [virtual] |
static Pointer itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, 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< TInputImage, TOutputImage >.
void itk::IterativeInverseDisplacementFieldImageFilter< 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 >.
virtual void itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::SetNumberOfIterations | ( | unsigned int | _arg | ) | [virtual] |
virtual void itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::SetStopValue | ( | double | _arg | ) | [virtual] |
itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::HasNumericTraits< OutputImageValueType > | ) |
Begin concept checking This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputImageValueType > )
unsigned int itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::m_NumberOfIterations [protected] |
Definition at line 119 of file itkIterativeInverseDisplacementFieldImageFilter.h.
double itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::m_StopValue [protected] |
Definition at line 121 of file itkIterativeInverseDisplacementFieldImageFilter.h.
double itk::IterativeInverseDisplacementFieldImageFilter< TInputImage, TOutputImage >::m_Time [protected] |
Definition at line 122 of file itkIterativeInverseDisplacementFieldImageFilter.h.