Home | History | Annotate | Download | only in src

Lines Matching defs:points

82     CvPoint3D32f *object_points = NULL; // real-world coordinates of checkerboard points
83 CvPoint2D32f *points = NULL; // 2d coordinates of checkerboard points as seen by a camera
128 CV_CALL(points = (CvPoint2D32f *)cvAlloc(num_points * sizeof(CvPoint2D32f)));
130 // fill in the real-world coordinates of the checkerboard points
172 etalon_size, points, &count) != 0;
176 // If found is true, it means all the points were found (count = num_points).
177 // If found is false but count is non-zero, it means that not all points were found.
179 cvFindCornerSubPix(img, points, count, cvSize(5,5), cvSize(-1,-1),
187 points[i].y = samples[c]->height - 1 - points[i].y;
196 if (points[0].x > points[1].x)
198 // reverse points in each row
201 CvPoint2D32f *row = &points[j*etalon_size.width];
207 if (points[0].y < points[etalon_size.width].y)
209 // reverse points in each column
213 std::swap(points[i+j*etalon_size.width],
214 points[i+(etalon_size.height-j-1)*etalon_size.width]);
219 DrawEtalon(samples[c], points, count, etalon_size, found);
230 points,
303 cvFree(&points);
308 // fill in the real-world coordinates of the checkerboard points
325 // Mark the points found on the input image
326 // The marks are drawn multi-colored if all the points were found.
377 // Find the midpoint of the line segment between two points.
476 // find the intersection of the two lines (or the points of closest
519 // the points of closest approach.