NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkLiuLeastSquaresWithNormalsRegistration.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 niftkLiuLeastSquaresWithNormalsRegistration_h
16 #define niftkLiuLeastSquaresWithNormalsRegistration_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 PointAndNormalBasedRegistrationUsingSVD(const std::vector<cv::Point3d>& fixedPoints,
45  const std::vector<cv::Point3d>& fixedNormals,
46  const std::vector<cv::Point3d>& movingPoints,
47  const std::vector<cv::Point3d>& movingNormals,
48  cv::Matx44d& outputMatrix);
49 
50 
59 extern "C++" NIFTKPOINTREG_EXPORT
60 double PointAndNormalBasedRegistrationUsingSVD(const mitk::PointSet::Pointer fixedPoints,
61  const mitk::PointSet::Pointer fixedNormals,
62  const mitk::PointSet::Pointer movingPoints,
63  const mitk::PointSet::Pointer movingNormals,
64  vtkMatrix4x4& matrix);
65 
66 } // end namespace
67 
68 #endif
GLuint GLenum matrix
Definition: glew.h:12775
double PointAndNormalBasedRegistrationUsingSVD(const std::vector< cv::Point3d > &fixedPoints, const std::vector< cv::Point3d > &fixedNormals, const std::vector< cv::Point3d > &movingPoints, const std::vector< cv::Point3d > &movingNormals, cv::Matx44d &outputMatrix)
Does Point Based Registration of two same sized, corresponding point sets.
Definition: niftkLiuLeastSquaresWithNormalsRegistration.cxx:23
Definition: niftkExceptionObject.h:21