HomeSort by relevance Sort by last modified time
    Searched refs:nearestIdx (Results 1 - 2 of 2) sorted by null

  /external/opencv3/samples/cpp/
select3dobj.cpp 231 int nearestIdx = npt-1;
234 nearestIdx = 0;
236 if( norm(m - imgpt[i]) < norm(m - imgpt[nearestIdx]) )
237 nearestIdx = i;
244 tempobj[0] = Point3f(dy*len + box[nearestIdx].x,
245 -dx*len + box[nearestIdx].y, 0.f);
248 tempobj[0] = Point3f(box[nearestIdx].x, box[nearestIdx].y, 1.f);
252 Point2f a = imgpt[nearestIdx], b = tempimg[0], d1 = b - a, d2 = m - a;
  /external/opencv3/modules/features2d/test/
test_detectors_regression.cpp 145 int nearestIdx = -1;
155 nearestIdx = (int)c;
160 if( !isSimilarKeypoints( validKeypoints[v], calcKeypoints[nearestIdx] ) )

Completed in 454 milliseconds