Lines Matching refs:pt
101 CvPoint2D32f pt; // Coordinates of the corner member
347 pt1 = quads[i].corners[k]->pt; in cvFindChessboardCorners()
348 pt2 = quads[i].corners[(k+1)%4]->pt; in cvFindChessboardCorners()
403 pt1 = quads[i].corners[k]->pt; in cvFindChessboardCorners()
404 pt2 = quads[i].corners[(k+1)%4]->pt; in cvFindChessboardCorners()
435 out_corners[i] = corner_group[i]->pt; in cvFindChessboardCorners()
807 CvPoint2D32f pt = quad->corners[i]->pt; in icvAddOuterQuad() local
809 float dx = pt.x - quad->corners[j]->pt.x; in icvAddOuterQuad()
810 float dy = pt.y - quad->corners[j]->pt.y; in icvAddOuterQuad()
814 pt = quad->corners[k]->pt; in icvAddOuterQuad()
816 corner->pt = pt; in icvAddOuterQuad()
818 corner->pt.x += dx; in icvAddOuterQuad()
819 corner->pt.y += dy; in icvAddOuterQuad()
991 if (quad->corners[tc]->pt.x == corner->pt.x && in icvOrderQuad()
992 quad->corners[tc]->pt.y == corner->pt.y) in icvOrderQuad()
1049 CvPoint2D32f pt = q->corners[j]->pt; in icvCleanFoundConnectedQuads() local
1050 ci.x += pt.x; in icvCleanFoundConnectedQuads()
1051 ci.y += pt.y; in icvCleanFoundConnectedQuads()
1406 CvPoint2D32f p0 = out_corners[0]->pt, p1 = out_corners[pattern_size.width-1]->pt, in icvCheckQuadGroup()
1407 p2 = out_corners[pattern_size.width]->pt; in icvCheckQuadGroup()
1469 CvPoint2D32f pt; in icvFindQuadNeighbors() local
1478 pt = cur_quad->corners[i]->pt; in icvFindQuadNeighbors()
1491 dx = pt.x - quads[k].corners[j]->pt.x; in icvFindQuadNeighbors()
1492 dy = pt.y - quads[k].corners[j]->pt.y; in icvFindQuadNeighbors()
1529 dx = closest_corner->pt.x - cur_quad->corners[j]->pt.x; in icvFindQuadNeighbors()
1530 dy = closest_corner->pt.y - cur_quad->corners[j]->pt.y; in icvFindQuadNeighbors()
1559 dx = closest_corner->pt.x - q->corners[j]->pt.x; in icvFindQuadNeighbors()
1560 dy = closest_corner->pt.y - q->corners[j]->pt.y; in icvFindQuadNeighbors()
1572 closest_corner->pt.x = (pt.x + closest_corner->pt.x) * 0.5f; in icvFindQuadNeighbors()
1573 closest_corner->pt.y = (pt.y + closest_corner->pt.y) * 0.5f; in icvFindQuadNeighbors()
1656 CvPoint pt[4]; in icvGenerateQuads() local
1662 pt[i] = *(CvPoint*)cvGetSeqElem(dst_contour, i); in icvGenerateQuads()
1664 dx = pt[0].x - pt[2].x; in icvGenerateQuads()
1665 dy = pt[0].y - pt[2].y; in icvGenerateQuads()
1668 dx = pt[1].x - pt[3].x; in icvGenerateQuads()
1669 dy = pt[1].y - pt[3].y; in icvGenerateQuads()
1675 dx = pt[0].x - pt[1].x; in icvGenerateQuads()
1676 dy = pt[0].y - pt[1].y; in icvGenerateQuads()
1678 dx = pt[1].x - pt[2].x; in icvGenerateQuads()
1679 dy = pt[1].y - pt[2].y; in icvGenerateQuads()
1718 CvPoint2D32f pt = cvPointTo32f(*(CvPoint*)cvGetSeqElem(src_contour, i)); in icvGenerateQuads() local
1722 corner->pt = pt; in icvGenerateQuads()
1728 float dx = q->corners[i]->pt.x - q->corners[(i+1)&3]->pt.x; in icvGenerateQuads()
1729 float dy = q->corners[i]->pt.y - q->corners[(i+1)&3]->pt.y; in icvGenerateQuads()
1847 CvPoint pt[4]; in icvGenerateQuadsEx() local
1853 pt[i] = *(CvPoint*)cvGetSeqElem(dst_contour, i); in icvGenerateQuadsEx()
1858 if( pt[i].x <= eps || pt[i].y <= eps || in icvGenerateQuadsEx()
1859 pt[i].x >= image->width - eps || in icvGenerateQuadsEx()
1860 pt[i].y >= image->height - eps ) edge_flag = 1; in icvGenerateQuadsEx()
1862 dx = pt[0].x - pt[2].x; in icvGenerateQuadsEx()
1863 dy = pt[0].y - pt[2].y; in icvGenerateQuadsEx()
1866 dx = pt[1].x - pt[3].x; in icvGenerateQuadsEx()
1867 dy = pt[1].y - pt[3].y; in icvGenerateQuadsEx()
1873 dx = pt[0].x - pt[1].x; in icvGenerateQuadsEx()
1874 dy = pt[0].y - pt[1].y; in icvGenerateQuadsEx()
1876 dx = pt[1].x - pt[2].x; in icvGenerateQuadsEx()
1877 dy = pt[1].y - pt[2].y; in icvGenerateQuadsEx()
1944 CvPoint2D32f pt = cvPointTo32f(*(CvPoint*)cvGetSeqElem(src_contour, i)); in icvGenerateQuadsEx() local
1948 corner->pt = pt; in icvGenerateQuadsEx()
1954 float dx = q->corners[i]->pt.x - q->corners[(i+1)&3]->pt.x; in icvGenerateQuadsEx()
1955 float dy = q->corners[i]->pt.y - q->corners[(i+1)&3]->pt.y; in icvGenerateQuadsEx()
2032 CvPoint pt; in cvDrawChessboardCorners() local
2033 pt.x = cvRound(corners[i].x*(1 << shift)); in cvDrawChessboardCorners()
2034 pt.y = cvRound(corners[i].y*(1 << shift)); in cvDrawChessboardCorners()
2035 cvLine( image, cvPoint( pt.x - r, pt.y - r ), in cvDrawChessboardCorners()
2036 cvPoint( pt.x + r, pt.y + r ), color, 1, line_type, shift ); in cvDrawChessboardCorners()
2037 cvLine( image, cvPoint( pt.x - r, pt.y + r), in cvDrawChessboardCorners()
2038 cvPoint( pt.x + r, pt.y - r), color, 1, line_type, shift ); in cvDrawChessboardCorners()
2039 cvCircle( image, pt, r+(1<<shift), color, 1, line_type, shift ); in cvDrawChessboardCorners()
2070 CvPoint pt; in cvDrawChessboardCorners() local
2071 pt.x = cvRound(corners[i].x*(1 << shift)); in cvDrawChessboardCorners()
2072 pt.y = cvRound(corners[i].y*(1 << shift)); in cvDrawChessboardCorners()
2075 cvLine( image, prev_pt, pt, color, 1, line_type, shift ); in cvDrawChessboardCorners()
2077 cvLine( image, cvPoint(pt.x - r, pt.y - r), in cvDrawChessboardCorners()
2078 cvPoint(pt.x + r, pt.y + r), color, 1, line_type, shift ); in cvDrawChessboardCorners()
2079 cvLine( image, cvPoint(pt.x - r, pt.y + r), in cvDrawChessboardCorners()
2080 cvPoint(pt.x + r, pt.y - r), color, 1, line_type, shift ); in cvDrawChessboardCorners()
2081 cvCircle( image, pt, r+(1<<shift), color, 1, line_type, shift ); in cvDrawChessboardCorners()
2082 prev_pt = pt; in cvDrawChessboardCorners()