Searched defs:sum_dist (Results 1 - 2 of 2) sorted by relevance

/external/opencv3/modules/calib3d/test/
H A Dtest_cornerssubpix.cpp73 double sum_dist = 0.0; local
104 sum_dist += min_dist*min_dist;
107 mean_dist = sqrt(sum_dist/set1.size());
108 // printf("sum_dist = %f, set1.size() = %d, mean_dist = %f\n", sum_dist, (int)set1.size(), mean_dist);
133 double sum_dist = 0.0; local
201 sum_dist += dist2;
215 sum_dist /= count;
216 ts->printf(cvtest::TS::LOG, "Average error after findCornerSubpix: %f\n", sum_dist);
/external/opencv3/modules/calib3d/src/
H A Dcalibinit.cpp473 float sum_dist = 0; local
480 sum_dist += avgi*ni;
483 prev_sqr_size = cvRound(sum_dist/MAX(total, 1));

Completed in 150 milliseconds