NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkArunLeastSquaresPointRegistration.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkArunLeastSquaresPointRegistration_h
16 #define niftkArunLeastSquaresPointRegistration_h
17 
18 #include <niftkPointRegExports.h>
19 
20 #include <cv.h>
21 #include <mitkPointSet.h>
22 #include <vtkMatrix4x4.h>
23 
24 namespace niftk {
25 
43 extern "C++" NIFTKPOINTREG_EXPORT
44 double PointBasedRegistrationUsingSVD(const std::vector<cv::Point3d>& fixedPoints,
45  const std::vector<cv::Point3d>& movingPoints,
46  cv::Matx44d& outputMatrix);
47 
56 extern "C++" NIFTKPOINTREG_EXPORT
57 double PointBasedRegistrationUsingSVD(const mitk::PointSet::Pointer fixedPoints,
58  const mitk::PointSet::Pointer movingPoints,
59  vtkMatrix4x4& matrix);
60 } // end namespace
61 
62 #endif
GLuint GLenum matrix
Definition: glew.h:12775
double PointBasedRegistrationUsingSVD(const std::vector< cv::Point3d > &fixedPoints, const std::vector< cv::Point3d > &movingPoints, cv::Matx44d &outputMatrix)
Does Point Based Registration of two same sized, corresponding, ordered point sets.
Definition: niftkArunLeastSquaresPointRegistration.cxx:23
Definition: niftkExceptionObject.h:21