Home
last modified time | relevance | path

Searched refs:prev_pt (Results 1 – 12 of 12) sorted by relevance

/external/opencv/cv/src/
Dcvconvhull.cpp766 CvPoint *prev_pt = (CvPoint*)reader.prev_elem; in cvCheckContourConvexity() local
769 int dx0 = cur_pt->x - prev_pt->x; in cvCheckContourConvexity()
770 int dy0 = cur_pt->y - prev_pt->y; in cvCheckContourConvexity()
779 prev_pt = cur_pt; in cvCheckContourConvexity()
782 dx = cur_pt->x - prev_pt->x; in cvCheckContourConvexity()
783 dy = cur_pt->y - prev_pt->y; in cvCheckContourConvexity()
807 CvPoint2D32f *prev_pt = (CvPoint2D32f*)reader.prev_elem; in cvCheckContourConvexity() local
810 float dx0 = cur_pt->x - prev_pt->x; in cvCheckContourConvexity()
811 float dy0 = cur_pt->y - prev_pt->y; in cvCheckContourConvexity()
820 prev_pt = cur_pt; in cvCheckContourConvexity()
[all …]
Dcvshapedescr.cpp99 CvPoint* prev_pt = (CvPoint*)reader.prev_elem; in cvArcLength() local
101 dx = (float)pt->x - (float)prev_pt->x; in cvArcLength()
102 dy = (float)pt->y - (float)prev_pt->y; in cvArcLength()
107 CvPoint2D32f* prev_pt = (CvPoint2D32f*)reader.prev_elem; in cvArcLength() local
109 dx = pt->x - prev_pt->x; in cvArcLength()
110 dy = pt->y - prev_pt->y; in cvArcLength()
Dcvcalibinit.cpp2045 CvPoint prev_pt = {0, 0}; in cvDrawChessboardCorners() local
2075 cvLine( image, prev_pt, pt, color, 1, line_type, shift ); in cvDrawChessboardCorners()
2082 prev_pt = pt; in cvDrawChessboardCorners()
/external/opencv3/samples/python2/
Dcommon.py79 self.prev_pt = None
93 self.prev_pt = pt
95 self.prev_pt = None
97 if self.prev_pt and flags & cv2.EVENT_FLAG_LBUTTON:
99 cv2.line(dst, self.prev_pt, pt, color, 5)
101 self.prev_pt = pt
/external/opencv3/modules/imgproc/src/
Dconvhull.cpp343 Point_<_Tp> prev_pt = p[(n-2+n) % n]; in isContourConvex_() local
346 _Tp dx0 = cur_pt.x - prev_pt.x; in isContourConvex_()
347 _Tp dy0 = cur_pt.y - prev_pt.y; in isContourConvex_()
355 prev_pt = cur_pt; in isContourConvex_()
358 dx = cur_pt.x - prev_pt.x; in isContourConvex_()
359 dy = cur_pt.y - prev_pt.y; in isContourConvex_()
Dshapedescr.cpp1000 CvPoint* prev_pt = (CvPoint*)reader.prev_elem; in cvArcLength() local
1002 dx = (float)pt->x - (float)prev_pt->x; in cvArcLength()
1003 dy = (float)pt->y - (float)prev_pt->y; in cvArcLength()
1008 CvPoint2D32f* prev_pt = (CvPoint2D32f*)reader.prev_elem; in cvArcLength() local
1010 dx = pt->x - prev_pt->x; in cvArcLength()
1011 dy = pt->y - prev_pt->y; in cvArcLength()
Ddrawing.cpp2413 cv::Point prev_pt = pt; in cvDrawContours() local
2416 prev_pt += offset; in cvDrawContours()
2429 cv::ThickLine( img, prev_pt, pt, clr, thickness, line_type, 2, 0 ); in cvDrawContours()
2432 prev_pt = pt; in cvDrawContours()
2440 cv::ThickLine( img, prev_pt, in cvDrawContours()
/external/opencv/cvaux/src/
Dcv3dtracker.cpp333 CvPoint prev_pt = { 0, 0 }; in DrawEtalon() local
364 cvLine(img, prev_pt, pt, color, 1, CV_AA); in DrawEtalon()
365 prev_pt = pt; in DrawEtalon()
Dcvcalibfilter.cpp548 CvPoint prev_pt = { 0, 0}; in DrawPoints() local
564 cvLine( dst, prev_pt, pt, color, 1, CV_AA ); in DrawPoints()
575 prev_pt = pt; in DrawPoints()
/external/opencv/cxcore/src/
Dcxdrawing.cpp2485 CvPoint prev_pt = pt; in cvDrawContours() local
2495 prev_pt.x += offset.x; in cvDrawContours()
2496 prev_pt.y += offset.y; in cvDrawContours()
2510 icvThickLine( mat, prev_pt, pt, clr, thickness, line_type, 2, 0 ); in cvDrawContours()
2516 prev_pt = pt; in cvDrawContours()
2525 icvThickLine( mat, prev_pt, ((CvChain*)contour)->origin, in cvDrawContours()
/external/opencv3/modules/imgproc/test/
Dtest_convhull.cpp1093 CvPoint2D32f prev_pt, pt, *ptr; in validate_test_results() local
1102 prev_pt = ptr[(is_closed ? slice.start_index+len-1 : slice.start_index) % total]; in validate_test_results()
1107 double dx = pt.x - prev_pt.x, dy = pt.y - prev_pt.y; in validate_test_results()
1109 prev_pt = pt; in validate_test_results()
/external/opencv3/modules/calib3d/src/
Dcalibinit.cpp1859 CvPoint prev_pt; in cvDrawChessboardCorners() local
1889 cvLine( image, prev_pt, pt, color, 1, line_type, shift ); in cvDrawChessboardCorners()
1896 prev_pt = pt; in cvDrawChessboardCorners()