NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to implement point based registration of two point sets. More...
Public Member Functions | |
mitkClassMacroItkParent (PointBasedRegistration, itk::Object) static Pointer New() | |
virtual void | SetUsePointIDToMatchPoints (bool _arg) |
If true, will try to filter matching pairs of points using the mitk::PointSet PointID feature. More... | |
virtual bool | GetUsePointIDToMatchPoints () |
virtual void | SetUseICPInitialisation (bool _arg) |
If true, points are assumed to be unordered, and so a closest point search is used. More... | |
virtual bool | GetUseICPInitialisation () |
virtual void | SetStripNaNFromInput (bool _arg) |
If true, both fixed and moving points are checked for NaN values prior to matching. More... | |
virtual bool | GetStripNaNFromInput () |
double | Update (const mitk::PointSet::Pointer fixedPoints, const mitk::PointSet::Pointer movingPoints, vtkMatrix4x4 &outputMatrix) const |
Main method to calculate the point based registration. More... | |
Protected Member Functions | |
PointBasedRegistration () | |
virtual | ~PointBasedRegistration () |
PointBasedRegistration (const PointBasedRegistration &) | |
PointBasedRegistration & | operator= (const PointBasedRegistration &) |
Class to implement point based registration of two point sets.
This class is called from both PointRegView and TagTrackerView. This is two different use-cases, and the usage is quite different. The code is kept here in one class for convenience to the user.
IMPORTANT: Must throw mitk::Exception or subclasses for all errors.
|
protected |
|
protectedvirtual |
|
protected |
|
virtual |
|
virtual |
|
virtual |
niftk::PointBasedRegistration::mitkClassMacroItkParent | ( | PointBasedRegistration | , |
itk::Object | |||
) |
|
protected |
|
virtual |
If true, both fixed and moving points are checked for NaN values prior to matching.
|
virtual |
If true, points are assumed to be unordered, and so a closest point search is used.
|
virtual |
If true, will try to filter matching pairs of points using the mitk::PointSet PointID feature.
double niftk::PointBasedRegistration::Update | ( | const mitk::PointSet::Pointer | fixedPoints, |
const mitk::PointSet::Pointer | movingPoints, | ||
vtkMatrix4x4 & | outputMatrix | ||
) | const |
Main method to calculate the point based registration.
In] | fixedPoints a point set |
In] | movingPoints a point set |
Out] | outputMatrix the transformation to transform the moving point set into the coordinate system of the fixed point set. |