Home | History | Annotate | Download | only in src

Lines Matching refs:rmse

121         int npoints, Point2f *points0, Point2f *points1, float *rmse)
132 if (rmse)
134 *rmse = 0;
136 *rmse += sqr(points1[i].x - points0[i].x - M(0,2)) +
138 *rmse = std::sqrt(*rmse / npoints);
146 int npoints, Point2f *points0, Point2f *points1, float *rmse)
170 if (rmse)
171 *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints)));
182 int npoints, Point2f *points0, Point2f *points1, float *rmse)
209 if (rmse)
211 *rmse = 0;
216 *rmse += sqr(p1.x - M(0,0)*p0.x - M(0,1)*p0.y) +
219 *rmse = std::sqrt(*rmse / npoints);
226 int npoints, Point2f *points0, Point2f *points1, float *rmse)
263 if (rmse)
265 *rmse = 0;
270 *rmse += sqr(pt1.x - M(0,0)*pt0.x - M(0,1)*pt0.y - M(0,2)) +
273 *rmse = std::sqrt(*rmse / npoints);
281 int npoints, Point2f *points0, Point2f *points1, float *rmse)
305 if (rmse)
306 *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints)));
320 int npoints, Point2f *points0, Point2f *points1, float *rmse)
344 if (rmse)
345 *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints)));
357 InputOutputArray points0, InputOutputArray points1, int model, float *rmse)
375 return impls[model](npoints, points0_, points1_, rmse);
381 float *rmse, int *ninliers)
452 // compute RMSE
453 bestM = estimateGlobalMotionLeastSquares(subset0best, subset1best, model, rmse);
471 bestM = estimateGlobalMotionLeastSquares(subset0, subset1, model, rmse);