Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
A Class that provides common static functions used by all classes and tests in the anisotropic iterative closest point algorithm (AnisotropicIterativeClosestPointRegistration). More...
#include <mitkAnisotropicRegistrationCommon.h>
Static Public Member Functions | |
static WeightMatrix | CalculateWeightMatrix (const CovarianceMatrix &sigma_X, const CovarianceMatrix &sigma_Y) |
Method that computes a WeightMatrix with two CovarianceMatrices. More... | |
static void | TransformPoints (vtkPoints *src, vtkPoints *dst, const Rotation &rotation, const Translation &translation) |
Transforms a point cloud with a Rotation and Translation. More... | |
static void | PropagateMatrices (const MatrixList &src, MatrixList &dst, const Rotation &rotation) |
Propagate a list of matrices with a rotation matrix. More... | |
static double | ComputeTargetRegistrationError (const mitk::PointSet *movingTargets, const mitk::PointSet *fixedTargets, const Rotation &rotation, const Translation &translation) |
Compute the target registration error between two point sets. More... | |
Protected Types | |
typedef itk::Matrix< double, 3, 3 > | WeightMatrix |
typedef WeightMatrix | Rotation |
typedef WeightMatrix | CovarianceMatrix |
typedef mitk::Vector3D | Translation |
typedef std::vector< WeightMatrix > | MatrixList |
Protected Member Functions | |
AnisotropicRegistrationCommon () | |
~AnisotropicRegistrationCommon () | |
A Class that provides common static functions used by all classes and tests in the anisotropic iterative closest point algorithm (AnisotropicIterativeClosestPointRegistration).
The class provides common functionality used by the A-ICP algorithm like: compute weightmatrices (CalculateWeightMatrix()), transform points (TransformPoints()), propagate 3 x 3 matrices (PropagateMatrices()) and compute the target registration error (TRE) (ComputeTargetRegistrationError()).
Definition at line 45 of file mitkAnisotropicRegistrationCommon.h.
|
protected |
Definition of the covariance matrix.
Definition at line 55 of file mitkAnisotropicRegistrationCommon.h.
|
protected |
Definition of the weight matrix list.
Definition at line 59 of file mitkAnisotropicRegistrationCommon.h.
|
protected |
Definition of a rotation matrix.
Definition at line 53 of file mitkAnisotropicRegistrationCommon.h.
|
protected |
Definition of the translation vector.
Definition at line 57 of file mitkAnisotropicRegistrationCommon.h.
|
protected |
Definition of the 3 x 3 weight matrix.
Definition at line 51 of file mitkAnisotropicRegistrationCommon.h.
|
inlineprotected |
Definition at line 61 of file mitkAnisotropicRegistrationCommon.h.
|
inlineprotected |
Definition at line 62 of file mitkAnisotropicRegistrationCommon.h.
|
static |
Method that computes a WeightMatrix with two CovarianceMatrices.
sigma_X | CovarianceMatrix from the moving point set. |
sigma_Y | CovarianceMatrix from the fixed point set. |
Definition at line 21 of file mitkAnisotropicRegistrationCommon.cpp.
Referenced by calculateWeightMatrices(), and mitk::AnisotropicIterativeClosestPointRegistration::ComputeCorrespondences().
|
static |
Compute the target registration error between two point sets.
Method that is used for testing and evaluation. It computes the target registration error (TRE) between two point sets with a rotation matrix and a translation vector.
movingTargets | The target points of the moving point set. |
fixedTargets | The target points of the fixed point set. |
rotation | A 3x3 rotation matrix. |
translation | A 3x1 translation vector. |
Definition at line 80 of file mitkAnisotropicRegistrationCommon.cpp.
References mitk::PointSet::GetPoint(), and mitk::PointSet::GetSize().
|
static |
Propagate a list of matrices with a rotation matrix.
Method that propagate the source list and saves the result in the destination. If the source and destination lists are the same the matrices will be computed in place.
src | Reference to the source matrices list. |
dst | Reference to the destination list |
rotation | Reference to a rotation matrix. |
Definition at line 67 of file mitkAnisotropicRegistrationCommon.cpp.
Referenced by mitk::AnisotropicIterativeClosestPointRegistration::Update().
|
static |
Transforms a point cloud with a Rotation and Translation.
The method uses two point sets as input. It transforms every point from the source point set and saves the result in the destination. The soure is not modified. If the same point set is used as source and destination. The method will modify the source and the transformation is done in place.
src | The source point set. |
dst | The destination point set. |
rotation | The rotation matrix. |
translation | The translation vector. |
Definition at line 46 of file mitkAnisotropicRegistrationCommon.cpp.
Referenced by mitk::AnisotropicIterativeClosestPointRegistration::Update(), and mitk::WeightedPointTransform::WeightedPointRegister().