NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Namespaces | Functions
niftkPointRegMaths.cxx File Reference
Include dependency graph for niftkPointRegMaths.cxx:

Namespaces

 niftk
 

Functions

cv::Matx33d niftk::CalculateCrossCovarianceH (const std::vector< cv::Point3d > &q, const std::vector< cv::Point3d > &qPrime)
 Calculates 1/N Sum (q_i * qPrime_i^t) where q_i and qPrime_i are column vectors, so the product is a 3x3 matrix. More...
 
double niftk::DoSVDPointBasedRegistration (const std::vector< cv::Point3d > &fixedPoints, const std::vector< cv::Point3d > &movingPoints, cv::Matx33d &H, cv::Point3d &p, cv::Point3d &pPrime, cv::Matx44d &outputMatrix)
 Does the main SVD bit of the point based registration, and handles the degenerate conditions mentioned in Aruns paper. More...
 
double niftk::CalculateFiducialRegistrationError (const std::vector< cv::Point3d > &fixedPoints, const std::vector< cv::Point3d > &movingPoints, const cv::Matx44d &matrix)
 Calculates Fiducial Registration Error by multiplying the movingPoints by the matrix, and comparing with fixedPoints. More...
 
double niftk::CalculateFiducialRegistrationError (const mitk::PointSet::Pointer &fixedPointSet, const mitk::PointSet::Pointer &movingPointSet, vtkMatrix4x4 &vtkMatrix)
 Converts format of input to call the other CalculateFiducialRegistrationError method. More...