cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
nmrRegistrationRigid.h File Reference
#include <cisstVector/vctTypes.h>
#include <cisstNumerical/nmrExport.h>

Go to the source code of this file.

Functions

template<class _vectorOwnerType >
bool CISST_EXPORT nmrRegistrationRigid (vctDynamicConstVectorBase< _vectorOwnerType, vct3 > &dataSet1, vctDynamicConstVectorBase< _vectorOwnerType, vct3 > &dataSet2, vctFrm3 &transform, double *fre=0)
 

Function Documentation

template<class _vectorOwnerType >
bool CISST_EXPORT nmrRegistrationRigid ( vctDynamicConstVectorBase< _vectorOwnerType, vct3 > &  dataSet1,
vctDynamicConstVectorBase< _vectorOwnerType, vct3 > &  dataSet2,
vctFrm3 transform,
double *  fre = 0 
)

Perform a paired-point rigid registration using the SVD method proposed by Arun(1987) and modified by Umeyama(1991).

Parameters
dataSet1The first set of fiducial points
dataSet2The second set of fiducial points
transformThe computed transformation from dataSet1 to dataSet2
frePointer to location to store Fiducial Registration Error (FRE), if not 0.
Returns
true if registration successful
Note
This function is templated so that it will work when the data sets are of type vctDynamicConstVectorRef or vctDynamicConstVector. The explicit template instantiations are in the cpp file.