Lines Matching full:points
66 void generate3DPointCloud(vector<Point3f>& points, Point3f pmin = Point3f(-1,
70 for (size_t i = 0; i < points.size(); i++)
78 points[i] = p;
115 virtual bool runTest(RNG& rng, int mode, int method, const vector<Point3f>& points, const double* epsilon, double& maxError)
130 projectedPoints.resize(points.size());
131 projectPoints(Mat(points), trueRvec, trueTvec, intrinsics, distCoeffs, projectedPoints);
136 projectedPoints[i] = projectedPoints[rng.uniform(0,(int)points.size()-1)];
140 solvePnPRansac(points, projectedPoints, intrinsics, distCoeffs, rvec, tvec,
143 bool isTestSuccess = inliers.size() >= points.size()*0.95;
159 vector<Point3f> points, points_dls;
161 points.resize(pointsCount);
162 generate3DPointCloud(points);
176 if (runTest(rng, mode, method, points, eps, maxError))
211 virtual bool runTest(RNG& rng, int mode, int method, const vector<Point3f>& points, const double* epsilon, double& maxError)
227 opoints = std::vector<Point3f>(points.begin(), points.begin()+4);
231 opoints = std::vector<Point3f>(points.begin(), points.begin()+50);
234 opoints = points;