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

#include <itkLandmarkDisplacementFieldSource.h>

+ Inheritance diagram for itk::LandmarkDisplacementFieldSource< TOutputImage >:
+ Collaboration diagram for itk::LandmarkDisplacementFieldSource< TOutputImage >:

List of all members.

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual void GenerateOutputInformation ()
virtual KernelTransformTypeGetKernelTransform ()
unsigned long GetMTime (void) const
virtual const char * GetNameOfClass () const
virtual const OriginPointTypeGetOutputOrigin ()
virtual const
OutputImageRegionType
GetOutputRegion ()
virtual const SpacingTypeGetOutputSpacing ()
virtual void SetKernelTransform (KernelTransformType *_arg)
virtual void SetOutputRegion (OutputImageRegionType _arg)
virtual void SetOutputSpacing (SpacingType _arg)
virtual void SetOutputSpacing (const double *values)
virtual void SetOutputOrigin (OriginPointType _arg)
virtual void SetOutputOrigin (const double *values)
virtual void SetOutputDirection (DirectionType _arg)
virtual const DirectionTypeGetOutputDirection ()
virtual void SetSourceLandmarks (const LandmarkContainer *_arg)
virtual void SetTargetLandmarks (const LandmarkContainer *_arg)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TOutputImage::ImageDimension

Protected Member Functions

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

Private Member Functions

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

Private Attributes

KernelTransformPointerType m_KernelTransform
DirectionType m_OutputDirection
OriginPointType m_OutputOrigin
OutputImageRegionType m_OutputRegion
SpacingType m_OutputSpacing
LandmarkContainerPointer m_SourceLandmarks
LandmarkContainerPointer m_TargetLandmarks

Detailed Description

template<class TOutputImage>
class itk::LandmarkDisplacementFieldSource< TOutputImage >

Computes a displacement field from two sets of landmarks.

LandmarkDisplacementFieldSource produces a displacement 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 displacements and produce displacement 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 displacement 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 49 of file itkLandmarkDisplacementFieldSource.h.


Member Typedef Documentation

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 57 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
typedef TOutputImage::DirectionType itk::LandmarkDisplacementFieldSource< TOutputImage >::DirectionType

Definition at line 97 of file itkLandmarkDisplacementFieldSource.h.

Definition at line 80 of file itkLandmarkDisplacementFieldSource.h.

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

Transform typedef.

The KernelBased spline transform types are defined here.

Definition at line 77 of file itkLandmarkDisplacementFieldSource.h.

Definition at line 81 of file itkLandmarkDisplacementFieldSource.h.

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

Definition at line 82 of file itkLandmarkDisplacementFieldSource.h.

Definition at line 78 of file itkLandmarkDisplacementFieldSource.h.

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

Definition at line 79 of file itkLandmarkDisplacementFieldSource.h.

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

Definition at line 96 of file itkLandmarkDisplacementFieldSource.h.

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 60 of file itkLandmarkDisplacementFieldSource.h.

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 61 of file itkLandmarkDisplacementFieldSource.h.

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

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 59 of file itkLandmarkDisplacementFieldSource.h.

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

Image index typedef.

Definition at line 88 of file itkLandmarkDisplacementFieldSource.h.

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

Definition at line 92 of file itkLandmarkDisplacementFieldSource.h.

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

Image pixel value typedef.

Definition at line 91 of file itkLandmarkDisplacementFieldSource.h.

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

Image size typedef.

Definition at line 85 of file itkLandmarkDisplacementFieldSource.h.

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 56 of file itkLandmarkDisplacementFieldSource.h.

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

Standard class typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 54 of file itkLandmarkDisplacementFieldSource.h.

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

Image spacing typedef

Definition at line 95 of file itkLandmarkDisplacementFieldSource.h.

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 55 of file itkLandmarkDisplacementFieldSource.h.


Constructor & Destructor Documentation

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

Definition at line 151 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
itk::LandmarkDisplacementFieldSource< TOutputImage >::LandmarkDisplacementFieldSource ( const Self ) [private]

Member Function Documentation

template<class TOutputImage >
virtual::itk::LightObject::Pointer itk::LandmarkDisplacementFieldSource< 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 TOutputImage >
void itk::LandmarkDisplacementFieldSource< TOutputImage >::GenerateData ( ) [protected, virtual]

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

Reimplemented from itk::ImageSource< TOutputImage >.

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

LandmarkDisplacementFieldSource 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::LandmarkDisplacementFieldSource< TOutputImage >::GetKernelTransform ( ) [virtual]

Get a pointer to the coordinate transform.

template<class TOutputImage >
unsigned long itk::LandmarkDisplacementFieldSource< 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::LandmarkDisplacementFieldSource< TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TOutputImage >
virtual const DirectionType& itk::LandmarkDisplacementFieldSource< TOutputImage >::GetOutputDirection ( ) [virtual]

Set the output direciton cosine matrix.

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

Get the output image origin.

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

Get the size of the output image.

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

Get the output image spacing.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TOutputImage >
void itk::LandmarkDisplacementFieldSource< TOutputImage >::operator= ( const Self ) [private]

Reimplemented from itk::ImageSource< TOutputImage >.

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

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

template<class TOutputImage >
void itk::LandmarkDisplacementFieldSource< 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::LandmarkDisplacementFieldSource< TOutputImage >::SetKernelTransform ( KernelTransformType _arg) [virtual]

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

template<class TOutputImage >
virtual void itk::LandmarkDisplacementFieldSource< TOutputImage >::SetOutputDirection ( DirectionType  _arg) [virtual]

Set the output direciton cosine matrix.

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

Set the output image origin.

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

Set the output image origin.

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

Set the size of the output image.

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

Set the output image spacing.

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

Set the output image spacing.

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

Set the list of source landmarks

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

Set the list of source landmarks


Member Data Documentation

template<class TOutputImage >
const unsigned int itk::LandmarkDisplacementFieldSource< TOutputImage >::ImageDimension = TOutputImage::ImageDimension [static]

Number of dimensions.

Definition at line 71 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
KernelTransformPointerType itk::LandmarkDisplacementFieldSource< TOutputImage >::m_KernelTransform [private]

Definition at line 169 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
DirectionType itk::LandmarkDisplacementFieldSource< TOutputImage >::m_OutputDirection [private]

Definition at line 176 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
OriginPointType itk::LandmarkDisplacementFieldSource< TOutputImage >::m_OutputOrigin [private]

Definition at line 175 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
OutputImageRegionType itk::LandmarkDisplacementFieldSource< TOutputImage >::m_OutputRegion [private]

Definition at line 172 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
SpacingType itk::LandmarkDisplacementFieldSource< TOutputImage >::m_OutputSpacing [private]

Definition at line 174 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
LandmarkContainerPointer itk::LandmarkDisplacementFieldSource< TOutputImage >::m_SourceLandmarks [private]

Definition at line 179 of file itkLandmarkDisplacementFieldSource.h.

template<class TOutputImage >
LandmarkContainerPointer itk::LandmarkDisplacementFieldSource< TOutputImage >::m_TargetLandmarks [private]

Definition at line 180 of file itkLandmarkDisplacementFieldSource.h.


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