itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage > Class Template Reference
AnisotropicSimilarityLandmarkBasedTransformInitializer is a helper class intended to The class computes the transform that aligns the fixed and moving images given a set of landmarks. The class is templated over the Transform type. The transform computed gives the best fit transform that maps the fixed and moving images in a least squares sense. The indices are taken to correspond, so point 1 in the first set will get mapped close to point 1 in the second set, etc. An equal number of fixed and moving landmarks need to be specified using SetFixedLandmarks() SetMovingLandmarks(). Any number of landmarks may be specified. Call InitializeTransform() to initialize the transform.
More...
#include <itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h>
List of all members.
Public Types |
typedef
AnisotropicSimilarity3DTransform
< ParameterValueType > | AnisotropicSimilarity3DTransformType |
| typedef SmartPointer< const Self > | ConstPointer |
typedef
FixedImageType::ConstPointer | FixedImagePointer |
| typedef TFixedImage | FixedImageType |
typedef
TransformType::InputPointType | InputPointType |
typedef std::vector
< LandmarkPointType > | LandmarkPointContainer |
typedef Point< double,
itkGetStaticConstMacro(ImageDimension) > | LandmarkPointType |
typedef
MovingImageType::ConstPointer | MovingImagePointer |
| typedef TMovingImage | MovingImageType |
typedef
TransformType::OutputVectorType | OutputVectorType |
typedef
TransformType::ParametersType | ParametersType |
| typedef ParametersType::ValueType | ParameterValueType |
| typedef SmartPointer< Self > | Pointer |
typedef
LandmarkPointContainer::const_iterator | PointsContainerConstIterator |
typedef Rigid2DTransform
< ParameterValueType > | Rigid2DTransformType |
typedef
AnisotropicSimilarityLandmarkBasedTransformInitializer | Self |
| typedef Object | Superclass |
| typedef TransformType::Pointer | TransformPointer |
| typedef TTransform | TransformType |
Public Member Functions |
| virtual void | InitializeTransform () |
| | itkNewMacro (Self) |
| | itkSetObjectMacro (Transform, TransformType) |
| | itkStaticConstMacro (ImageDimension, unsigned int, FixedImageType::ImageDimension) |
| | itkStaticConstMacro (OutputSpaceDimension, unsigned int, TransformType::OutputSpaceDimension) |
| | itkStaticConstMacro (InputSpaceDimension, unsigned int, TransformType::InputSpaceDimension) |
| | itkTypeMacro (AnisotropicSimilarityLandmarkBasedTransformInitializer, Object) |
| void | SetFixedImage (const FixedImageType *image) |
| void | SetFixedLandmarks (const LandmarkPointContainer &fixedLandmarks) |
| void | SetMovingImage (const MovingImageType *image) |
| void | SetMovingLandmarks (const LandmarkPointContainer &movingLandmarks) |
Protected Types |
| enum | InputTransformType { AnisotropicSimilarity3Dtransform = 1,
Rigid2Dtransfrom,
Else
} |
Protected Member Functions |
| | AnisotropicSimilarityLandmarkBasedTransformInitializer () |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| | ~AnisotropicSimilarityLandmarkBasedTransformInitializer () |
Private Member Functions |
| | AnisotropicSimilarityLandmarkBasedTransformInitializer (const Self &) |
| void | operator= (const Self &) |
Private Attributes |
| FixedImagePointer | m_FixedImage |
| LandmarkPointContainer | m_FixedLandmarks |
| MovingImagePointer | m_MovingImage |
| LandmarkPointContainer | m_MovingLandmarks |
| TransformPointer | m_Transform |
Detailed Description
template<class TTransform, class TFixedImage, class TMovingImage>
class itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >
AnisotropicSimilarityLandmarkBasedTransformInitializer is a helper class intended to The class computes the transform that aligns the fixed and moving images given a set of landmarks. The class is templated over the Transform type. The transform computed gives the best fit transform that maps the fixed and moving images in a least squares sense. The indices are taken to correspond, so point 1 in the first set will get mapped close to point 1 in the second set, etc. An equal number of fixed and moving landmarks need to be specified using SetFixedLandmarks() SetMovingLandmarks(). Any number of landmarks may be specified. Call InitializeTransform() to initialize the transform.
Currently, the following transforms are supported by the class: AnisotropicSimilarity3DTransform
The class is based in part on Hybrid/vtkLandmarkTransform originally implemented in python by David G. Gobbi.
The solution is based on Berthold K. P. Horn (1987), "Closed-form solution of absolute orientation
using unit quaternions," http://people.csail.mit.edu/bkph/papers/Absolute_Orientation.pdf
Member Typedef Documentation
template<class TTransform , class TFixedImage , class TMovingImage >
Supported Transform typedefs
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
Image Types to use in the initialization of the transform
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
Type of the transform to initialize
Member Enumeration Documentation
template<class TTransform , class TFixedImage , class TMovingImage >
- Enumerator:
| AnisotropicSimilarity3Dtransform |
|
| Rigid2Dtransfrom |
|
| Else |
|
Constructor & Destructor Documentation
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
Member Function Documentation
template<class TTransform , class TFixedImage , class TMovingImage >
Initialize the transform from the landmarks
template<class TTransform , class TFixedImage , class TMovingImage >
New macro for creation of through a Smart Pointer.
template<class TTransform , class TFixedImage , class TMovingImage >
Set the transform to be initialized
template<class TTransform , class TFixedImage , class TMovingImage >
Determine the image dimension.
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
Run-time type information (and related methods).
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
- Deprecated:
- Set the fixed image. The method really doesn't do anything. The goal of this class is to compute the optimal transform, for the templated TransformType between the fixed and moving image grid, given a set of landmarks. Nothing is done with the images themselves. The method will therefore be deprecated and removed
template<class TTransform , class TFixedImage , class TMovingImage >
Set the Fixed landmark point containers
template<class TTransform , class TFixedImage , class TMovingImage >
- Deprecated:
- Set the moving image. The method really doesn't do anything. The goal of this class is to compute the optimal transform, for the templated TransformType between the fixed and moving image grid, given a set of landmarks. Nothing is done with the images themselves. The method will therefore be deprecated and removed.
template<class TTransform , class TFixedImage , class TMovingImage >
Set the Moving landmark point containers
Member Data Documentation
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
template<class TTransform , class TFixedImage , class TMovingImage >
The documentation for this class was generated from the following file: