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

itk::DeformationFieldSource< TOutputImage > Class Template Reference

Computes a deformation field from two sets of landmarks. More...

#include <itkDeformationFieldSource.h>

Inheritance diagram for itk::DeformationFieldSource< TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::DeformationFieldSource< TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef DeformationFieldSource Self
typedef ImageSource< TOutputImage > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TOutputImage OutputImageType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef KernelTransform< double,
itkGetStaticConstMacro(ImageDimension) 
KernelTransformType )
typedef KernelTransformType::PointSetType LandmarkPointSetType
typedef LandmarkPointSetType::PointType LandmarkPointType
typedef KernelTransformType::Pointer KernelTransformPointerType
typedef KernelTransformType::PointsContainer LandmarkContainer
typedef LandmarkContainer::ConstPointer LandmarkContainerPointer
typedef OutputImageType::SizeType OutputSizeType
typedef OutputImageType::IndexType OutputIndexType
typedef TOutputImage::PixelType OutputPixelType
typedef OutputPixelType::ValueType OutputPixelComponentType
typedef TOutputImage::SpacingType SpacingType
typedef TOutputImage::PointType OriginPointType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
virtual void SetKernelTransform (KernelTransformType *_arg)
virtual KernelTransformTypeGetKernelTransform ()
virtual void SetOutputRegion (OutputImageRegionType _arg)
virtual const OutputImageRegionTypeGetOutputRegion ()
virtual const SpacingTypeGetOutputSpacing ()
virtual const OriginPointTypeGetOutputOrigin ()
virtual void GenerateOutputInformation ()
unsigned long GetMTime (void) const
virtual void SetOutputSpacing (SpacingType _arg)
virtual void SetOutputSpacing (const double *values)
virtual void SetOutputOrigin (OriginPointType _arg)
virtual void SetOutputOrigin (const double *values)
virtual void SetSourceLandmarks (const LandmarkContainer *_arg)
virtual void SetTargetLandmarks (const LandmarkContainer *_arg)

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

template<class TOutputImage>
class itk::DeformationFieldSource< TOutputImage >

Computes a deformation field from two sets of landmarks.

DeformationFieldSource produces a deformation field from two set of input landmarks. One set of landmarks are associated to the input space while the second set of landmarks is associated with the output space.

A KernelBase spline is used to interpolate the deformations and produce deformation values for all the nodes of the image grid that will be produced as output.

The number of landmarks in the KernelBased spline will have a dramatic effect on both the precision of output deformation field and the computational time required for the filter to complete the estimation.

This source object expects the image to be of pixel type Vector.

Definition at line 48 of file itkDeformationFieldSource.h.


Member Typedef Documentation

template<class TOutputImage>
typedef SmartPointer<const Self> itk::DeformationFieldSource< TOutputImage >::ConstPointer
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 56 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef KernelTransformType::Pointer itk::DeformationFieldSource< TOutputImage >::KernelTransformPointerType
 

Definition at line 79 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef KernelTransform<double, itkGetStaticConstMacro(ImageDimension) itk::DeformationFieldSource< TOutputImage >::KernelTransformType)
 

Transform typedef.

The KernelBased spline transform types are defined here.

Definition at line 76 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef KernelTransformType::PointsContainer itk::DeformationFieldSource< TOutputImage >::LandmarkContainer
 

Definition at line 80 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef LandmarkContainer::ConstPointer itk::DeformationFieldSource< TOutputImage >::LandmarkContainerPointer
 

Definition at line 81 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef KernelTransformType::PointSetType itk::DeformationFieldSource< TOutputImage >::LandmarkPointSetType
 

Definition at line 77 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef LandmarkPointSetType::PointType itk::DeformationFieldSource< TOutputImage >::LandmarkPointType
 

Definition at line 78 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef TOutputImage::PointType itk::DeformationFieldSource< TOutputImage >::OriginPointType
 

Definition at line 96 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef OutputImageType::Pointer itk::DeformationFieldSource< TOutputImage >::OutputImagePointer
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 59 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef OutputImageType::RegionType itk::DeformationFieldSource< TOutputImage >::OutputImageRegionType
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 60 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef TOutputImage itk::DeformationFieldSource< TOutputImage >::OutputImageType
 

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 58 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef OutputImageType::IndexType itk::DeformationFieldSource< TOutputImage >::OutputIndexType
 

Image index typedef.

Definition at line 88 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef OutputPixelType::ValueType itk::DeformationFieldSource< TOutputImage >::OutputPixelComponentType
 

Definition at line 92 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef TOutputImage::PixelType itk::DeformationFieldSource< TOutputImage >::OutputPixelType
 

Image pixel value typedef.

Definition at line 91 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef OutputImageType::SizeType itk::DeformationFieldSource< TOutputImage >::OutputSizeType
 

Image size typedef.

Definition at line 85 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef SmartPointer<Self> itk::DeformationFieldSource< TOutputImage >::Pointer
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 55 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef DeformationFieldSource itk::DeformationFieldSource< TOutputImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 53 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef TOutputImage::SpacingType itk::DeformationFieldSource< TOutputImage >::SpacingType
 

Image spacing typedef

Definition at line 95 of file itkDeformationFieldSource.h.

template<class TOutputImage>
typedef ImageSource<TOutputImage> itk::DeformationFieldSource< TOutputImage >::Superclass
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 54 of file itkDeformationFieldSource.h.


Constructor & Destructor Documentation

template<class TOutputImage>
itk::DeformationFieldSource< TOutputImage >::DeformationFieldSource  )  [protected]
 

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

Definition at line 146 of file itkDeformationFieldSource.h.


Member Function Documentation

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

GenerateData() computes the internal KernelBase spline and resamples the deformation field.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::GenerateOutputInformation  )  [virtual]
 

DeformationFieldSource 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.

See also:
ProcessObject::GenerateOutputInformaton()

Reimplemented from itk::ProcessObject.

template<class TOutputImage>
virtual KernelTransformType* itk::DeformationFieldSource< TOutputImage >::GetKernelTransform  )  [virtual]
 

Get a pointer to the coordinate transform.

template<class TOutputImage>
unsigned long itk::DeformationFieldSource< TOutputImage >::GetMTime void   )  const [virtual]
 

Method Compute the Modified Time based on changed to the components.

Reimplemented from itk::Object.

template<class TOutputImage>
virtual const char* itk::DeformationFieldSource< TOutputImage >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TOutputImage>
virtual const OriginPointType& itk::DeformationFieldSource< TOutputImage >::GetOutputOrigin  )  [virtual]
 

Get the output image origin.

template<class TOutputImage>
virtual const OutputImageRegionType& itk::DeformationFieldSource< TOutputImage >::GetOutputRegion  )  [virtual]
 

Get the size of the output image.

template<class TOutputImage>
virtual const SpacingType& itk::DeformationFieldSource< TOutputImage >::GetOutputSpacing  )  [virtual]
 

Get the output image spacing.

template<class TOutputImage>
itk::DeformationFieldSource< TOutputImage >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension 
 

Number of dimensions.

template<class TOutputImage>
Pointer itk::DeformationFieldSource< TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TOutputImage>
void itk::DeformationFieldSource< TOutputImage >::PrepareKernelBaseSpline  )  [protected]
 

Subsample the input deformation field and generate the landmarks for the kernel base spline

template<class TOutputImage>
void itk::DeformationFieldSource< 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::ProcessObject.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetKernelTransform KernelTransformType _arg  )  [virtual]
 

Set the coordinate transformation. Set the KernelBase spline used for resampling the deformation grid.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetOutputOrigin const double *  values  )  [virtual]
 

Set the output image origin.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetOutputOrigin OriginPointType  _arg  )  [virtual]
 

Set the output image origin.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetOutputRegion OutputImageRegionType  _arg  )  [virtual]
 

Set the size of the output image.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetOutputSpacing const double *  values  )  [virtual]
 

Set the output image spacing.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetOutputSpacing SpacingType  _arg  )  [virtual]
 

Set the output image spacing.

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetSourceLandmarks const LandmarkContainer _arg  )  [virtual]
 

Set the list of source landmarks

template<class TOutputImage>
virtual void itk::DeformationFieldSource< TOutputImage >::SetTargetLandmarks const LandmarkContainer _arg  )  [virtual]
 

Set the list of source landmarks


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