46
#ifndef __OPENCV_SURFACE_MATCHING_ICP_HPP__
47
#define __OPENCV_SURFACE_MATCHING_ICP_HPP__
49
#include <opencv2/core.hpp>
56
namespace
ppf_match_3d
80
class
CV_EXPORTS_W
ICP
86
ICP_SAMPLING_TYPE_UNIFORM = 0,
87
ICP_SAMPLING_TYPE_GELFAND = 1
93
m_rejectionScale = 2.5f;
94
m_maxIterations = 250;
96
m_sampleType = ICP_SAMPLING_TYPE_UNIFORM;
97
m_numNeighborsCorr = 1;
117
CV_WRAP
ICP(
const
int
iterations,
const
float
tolerence = 0.05f,
const
float
rejectionScale = 2.5f,
const
int
numLevels = 6,
const
int
sampleType = ICP::ICP_SAMPLING_TYPE_UNIFORM,
const
int
numMaxCorr = 1)
119
m_tolerance = tolerence;
120
m_numNeighborsCorr = numMaxCorr;
121
m_rejectionScale = rejectionScale;
122
m_maxIterations = iterations;
123
m_numLevels = numLevels;
124
m_sampleType = sampleType;
139
CV_WRAP
int
registerModelToScene(
const
Mat& srcPC,
const
Mat& dstPC, CV_OUT
double& residual, CV_OUT
Matx44d& pose);
152
CV_WRAP
int
registerModelToScene(
const
Mat& srcPC,
const
Mat& dstPC, CV_IN_OUT std::vector<Pose3DPtr>& poses);
157
float
m_rejectionScale;
158
int
m_numNeighborsCorr;
n-dimensional dense array class
Definition:
mat.hpp:802
Template class for small matrices whose type and size are known at compilation time
Definition:
matx.hpp:100
This class implements a very efficient and robust variant of the iterative closest point (ICP) algori...
Definition:
icp.hpp:81
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75