MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitk::StandardICPPointRegister Class Reference

This class offers static methods for computation of standard ICP registration. More...

#include <mitkStandardICPPointRegister.h>

Static Public Member Functions

static bool StandardICPPointRegisterAlgorithm (mitk::PointSet::Pointer MovingSet, mitk::PointSet::Pointer StaticSet, double Threshold, itk::Matrix< double, 3, 3 > &TransformationR, itk::Vector< double, 3 > &TransformationT, double &FRE, int &n, std::string &ErrorMessage, int max_iterations=100)
 This method executes the standard iterative closest point algorithm to register a moving pointset X onto a static point set Y.
 
static bool StandardICPPointRegisterAlgorithm (vtkSmartPointer< vtkPolyData > MovingSurface, vtkSmartPointer< vtkPolyData > StaticSurface, double Threshold, itk::Matrix< double, 3, 3 > &TransformationR, itk::Vector< double, 3 > &TransformationT, double &FRE, int &n, std::string &ErrorMessage, int max_iterations=100)
 This method executes the standard iterative closest point algorithm to register a moving pointset X onto a static point set Y.
 

Static Protected Member Functions

static vtkSmartPointer< vtkPolyData > convertPointSetToVtkPolyData (mitk::PointSet::Pointer PointSet)
 

Detailed Description

This class offers static methods for computation of standard ICP registration.

Documentation

Definition at line 36 of file mitkStandardICPPointRegister.h.

Member Function Documentation

◆ convertPointSetToVtkPolyData()

vtkSmartPointer< vtkPolyData > mitk::StandardICPPointRegister::convertPointSetToVtkPolyData ( mitk::PointSet::Pointer PointSet)
staticprotected

Definition at line 104 of file mitkStandardICPPointRegister.cpp.

◆ StandardICPPointRegisterAlgorithm() [1/2]

bool mitk::StandardICPPointRegister::StandardICPPointRegisterAlgorithm ( mitk::PointSet::Pointer MovingSet,
mitk::PointSet::Pointer StaticSet,
double Threshold,
itk::Matrix< double, 3, 3 > & TransformationR,
itk::Vector< double, 3 > & TransformationT,
double & FRE,
int & n,
std::string & ErrorMessage,
int max_iterations = 100 )
static

This method executes the standard iterative closest point algorithm to register a moving pointset X onto a static point set Y.

Parameters
MovingSetThis is the moving point set, which is registered to the static point set (StaticSet).
StaticSetThis is the static point set to which the moving set is registered. The static set must have the same number of points like the moving set.
ThresholdThis is the size of change of the moving set above which the iteration continues.
max_iterationsMaximum iterations until the algorithm terminates. Default value is 100.
TransformationRReturn value: This parameter is a reference to place where the return value "R-component of the transformation" will be saved.
TransformationTReturn value: This parameter is a reference to place where the return value "t-component of the transformation" will be saved.
FREReturn value: Here the FRE of the transformation will be saved.
nReturn value: Here the number of iterations will be saved.
Returns
Returns true if the algorithm was completed successfully, false if not.

Definition at line 24 of file mitkStandardICPPointRegister.cpp.

◆ StandardICPPointRegisterAlgorithm() [2/2]

bool mitk::StandardICPPointRegister::StandardICPPointRegisterAlgorithm ( vtkSmartPointer< vtkPolyData > MovingSurface,
vtkSmartPointer< vtkPolyData > StaticSurface,
double Threshold,
itk::Matrix< double, 3, 3 > & TransformationR,
itk::Vector< double, 3 > & TransformationT,
double & FRE,
int & n,
std::string & ErrorMessage,
int max_iterations = 100 )
static

This method executes the standard iterative closest point algorithm to register a moving pointset X onto a static point set Y.

Parameters
MovingSurfaceThis is the moving surface, which is registered to the static surface (StaticSet).
StaticSurfaceThis is the static surface to which the moving set is registered. The static surface must have the same number of points like the moving set.
ThresholdThis is the size of change of the moving set above which the iteration continues.
max_iterationsMaximum iterations until the algorithm terminates. Default value is 100.
TransformationRReturn value: This parameter is a reference to place where the return value "R-component of the transformation" will be saved.
TransformationTReturn value: This parameter is a reference to place where the return value "t-component of the transformation" will be saved.
FREReturn value: Here the FRE of the transformation will be saved.
nReturn value: Here the number of iterations will be saved.
Returns
Returns true if the algorithm was completed successfully, false if not.

Definition at line 44 of file mitkStandardICPPointRegister.cpp.


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