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>
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 41 of file mitkAnisotropicRegistrationCommon.h.
◆ CovarianceMatrix
◆ MatrixList
◆ Rotation
◆ Translation
◆ WeightMatrix
◆ AnisotropicRegistrationCommon()
mitk::AnisotropicRegistrationCommon::AnisotropicRegistrationCommon |
( |
| ) |
|
|
inlineprotected |
◆ ~AnisotropicRegistrationCommon()
mitk::AnisotropicRegistrationCommon::~AnisotropicRegistrationCommon |
( |
| ) |
|
|
inlineprotected |
◆ CalculateWeightMatrix()
Method that computes a WeightMatrix with two CovarianceMatrices.
- Parameters
-
sigma_X | CovarianceMatrix from the moving point set. |
sigma_Y | CovarianceMatrix from the fixed point set. |
- Returns
- The computed WeighMatrix.
◆ ComputeTargetRegistrationError()
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.
- Parameters
-
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. |
- Returns
- The Target Registration Error (TRE).
◆ PropagateMatrices()
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.
- Warning
- No bound check is done. Make sure that both lists are allocated and have the same size.
- Parameters
-
src | Reference to the source matrices list. |
dst | Reference to the destination list |
rotation | Reference to a rotation matrix. |
◆ TransformPoints()
static void mitk::AnisotropicRegistrationCommon::TransformPoints |
( |
vtkPoints * |
src, |
|
|
vtkPoints * |
dst, |
|
|
const Rotation & |
rotation, |
|
|
const Translation & |
translation |
|
) |
| |
|
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.
- Warning
- No bound check is done. Ensure that source and destination are allocated and have the same size.
- Parameters
-
src | The source point set. |
dst | The destination point set. |
rotation | The rotation matrix. |
translation | The translation vector. |
The documentation for this class was generated from the following file: