Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
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...
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 (InputSpaceDimension, unsigned int, TransformType::InputSpaceDimension) | |
itkStaticConstMacro (OutputSpaceDimension, unsigned int, TransformType::OutputSpaceDimension) | |
itkStaticConstMacro (ImageDimension, unsigned int, FixedImageType::ImageDimension) | |
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 ITK_OVERRIDE |
~AnisotropicSimilarityLandmarkBasedTransformInitializer () | |
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
Definition at line 60 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef AnisotropicSimilarity3DTransform<ParameterValueType> itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::AnisotropicSimilarity3DTransformType |
Supported Transform typedefs
Definition at line 145 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef SmartPointer<const Self> itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::ConstPointer |
Definition at line 68 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef FixedImageType::ConstPointer itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImagePointer |
Definition at line 91 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef TFixedImage itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::FixedImageType |
Image Types to use in the initialization of the transform
Definition at line 88 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef TransformType::InputPointType itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::InputPointType |
Convenience typedefs
Definition at line 122 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef std::vector<LandmarkPointType> itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::LandmarkPointContainer |
Definition at line 125 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef Point<double, itkGetStaticConstMacro(ImageDimension)> itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::LandmarkPointType |
Definition at line 124 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef MovingImageType::ConstPointer itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImagePointer |
Definition at line 92 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef TMovingImage itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::MovingImageType |
Definition at line 89 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef TransformType::OutputVectorType itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::OutputVectorType |
Definition at line 123 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef TransformType::ParametersType itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::ParametersType |
Definition at line 128 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef ParametersType::ValueType itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::ParameterValueType |
Definition at line 129 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef SmartPointer<Self> itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::Pointer |
Definition at line 67 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef LandmarkPointContainer::const_iterator itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::PointsContainerConstIterator |
Definition at line 127 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef Rigid2DTransform<ParameterValueType> itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::Rigid2DTransformType |
Definition at line 146 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef AnisotropicSimilarityLandmarkBasedTransformInitializer itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::Self |
Standard class typedefs.
Definition at line 65 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef Object itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::Superclass |
Definition at line 66 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef TransformType::Pointer itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::TransformPointer |
Definition at line 78 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
typedef TTransform itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::TransformType |
Type of the transform to initialize
Definition at line 77 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
|
protected |
Enumerator | |
---|---|
AnisotropicSimilarity3Dtransform | |
Rigid2Dtransfrom | |
Else |
Definition at line 160 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
|
protected |
|
inlineprotected |
Definition at line 153 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
|
virtual |
Initialize the transform from the landmarks
itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkNewMacro | ( | Self | ) |
New macro for creation of through a Smart Pointer.
itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkSetObjectMacro | ( | Transform | , |
TransformType | |||
) |
Set the transform to be initialized
itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned | int, | ||
TransformType::InputSpaceDimension | |||
) |
Dimension of parameters.
itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned | int, | ||
TransformType::OutputSpaceDimension | |||
) |
itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
FixedImageType::ImageDimension | |||
) |
Determine the image dimension.
itk::AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage >::itkTypeMacro | ( | AnisotropicSimilarityLandmarkBasedTransformInitializer< TTransform, TFixedImage, TMovingImage > | , |
Object | |||
) |
Run-time type information (and related methods).
|
protected |
|
inline |
Definition at line 100 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
|
inline |
Set the Fixed landmark point containers
Definition at line 132 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
|
inline |
Definition at line 112 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.
|
inline |
Set the Moving landmark point containers
Definition at line 138 of file itkAnisotropicSimilarityLandmarkBasedTransformInitializer.h.