Home
last modified time | relevance | path

Searched refs:CvPoint (Results 1 – 25 of 95) sorted by relevance

1234

/external/opencv/cv/include/
Dcv.hpp67 CvPoint _anchor=cvPoint(-1,-1),
84 CvPoint _anchor=cvPoint(-1,-1),
107 CvPoint _dst_origin=cvPoint(0,0), int _flags=0 );
113 CvPoint get_anchor() const { return anchor; } in get_anchor()
151 CvPoint anchor;
170 CvPoint _anchor=cvPoint(-1,-1),
177 CvPoint _anchor=cvPoint(-1,-1),
188 CvPoint _anchor=cvPoint(-1,-1),
218 CvPoint _anchor=cvPoint(-1,-1),
225 CvPoint _anchor=cvPoint(-1,-1),
[all …]
Dcvtypes.h103 CvPoint pt;
119 CvPoint p1; /* the first point of the binary tree root segment */
120 CvPoint p2; /* the last point of the binary tree root segment */
127 CvPoint* start; /* point of the contour where the defect begins */
128 CvPoint* end; /* point of the contour where the defect ends */
129 CvPoint* depth_point; /* the farthest from the convex hull point within the defect */
/external/opencv/cvaux/src/
D_cvvectrack.h74 int CmpPoints(const CvPoint& p1, const CvPoint& p2, int err) in CmpPoints()
81 int PointInRect(const CvPoint& p, const CvRect& r) in PointInRect()
90 CvPoint plt = {r1.x, r1.y}; in RectInRect()
91 CvPoint prb = {r1.x + r1.width, r1.y + r1.height}; in RectInRect()
107 CvPoint Increase(const CvPoint& p, int decr) in Increase()
109 CvPoint point; in Increase()
123 void Move(CvPoint& p, int dx, int dy) in Move()
139 CvPoint Center(const CvRect& r) in Center()
141 CvPoint p; in Center()
Dcvfindhandregion.cpp71 CvPoint *tmp_number = 0, *pt; in icvFindHandRegion()
126 tmp_number = (CvPoint *) cvAlloc( count * sizeof( CvPoint )); in icvFindHandRegion()
163 pt = (CvPoint*)cvGetSeqElem( indexs, i ); in icvFindHandRegion()
180 *numbers = cvCreateSeq( CV_SEQ_POINT_SET, sizeof( CvSeq ), sizeof( CvPoint ), storage ); in icvFindHandRegion()
293 CvPoint *tmp_number = 0, *pt; in icvFindHandRegionA()
351 tmp_number = (CvPoint *) cvAlloc( count * sizeof( CvPoint )); in icvFindHandRegionA()
422 pt = (CvPoint*)cvGetSeqElem( indexs, i ); in icvFindHandRegionA()
534 *numbers = cvCreateSeq( CV_SEQ_POINT_SET, sizeof( CvSeq ), sizeof( CvPoint ), storage ); in icvFindHandRegionA()
Dcvlines.cpp46 uchar * dst, int *dst_num, CvSize src_size, CvPoint start, CvPoint end )
125 uchar * dst, int dst_step, CvSize dst_size, CvPoint start, CvPoint end )
205 CvPoint start; in icvPreWarpImage8uC3R()
206 CvPoint end; in icvPreWarpImage8uC3R()
251 CvPoint start; in icvPostWarpImage8uC3R()
252 CvPoint end; in icvPostWarpImage8uC3R()
Dcvvecfacetracking.cpp70 inline int GetEnergy(CvTrackingRect** ppNew, const CvTrackingRect* pPrev, CvPoint* ptTempl, CvRect*…
71 inline int GetEnergy2(CvTrackingRect** ppNew, const CvTrackingRect* pPrev, CvPoint* ptTempl, CvRect…
72 inline double CalculateTransformationLMS3_0( CvPoint* pTemplPoints, CvPoint* pSrcPoints);
73 inline double CalculateTransformationLMS3( CvPoint* pTemplPoints,
74 CvPoint* pSrcPoints,
83 CvPoint ptCenter;
113 CvPoint ptRotate;
115 CvPoint ptTempl[NUM_FACE_ELEMENTS];
461 cvTrackFace(CvFaceTracker* pFaceTracker, IplImage* imgGray, CvRect* pRects, int nRects, CvPoint* pt… in cvTrackFace()
753CvPoint templ_v01 = {pTF->ptTempl[element[1]].x - pTF->ptTempl[element[0]].x, pTF->ptTempl[element… in ChoiceTrackingFace2()
[all …]
Dextendededges.cpp134 cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvCutContourRaster()
143 CvPoint cur; in icvCutContourRaster()
156 CvPoint cur; in icvCutContourRaster()
166 … cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvCutContourRaster()
Dcvmorphcontours.cpp553 CvPoint* point1; // array of first contour point in icvBlendContours()
554 CvPoint* point2; // array of second contour point in icvBlendContours()
556 CvPoint point_output; // intermediate storage of ouput point in icvBlendContours()
563 sizeof(CvPoint), in icvBlendContours()
570 point1 = (CvPoint* )malloc( Ni*sizeof(CvPoint) ); in icvBlendContours()
571 point2 = (CvPoint* )malloc( Nj*sizeof(CvPoint) ); in icvBlendContours()
633 CvPoint* point1; // array of first contour point in icvCalcContoursCorrespondence()
634 CvPoint* point2; // array of second contour point in icvCalcContoursCorrespondence()
658 point1 = (CvPoint* )malloc( Ni*sizeof(CvPoint) ); in icvCalcContoursCorrespondence()
659 point2 = (CvPoint* )malloc( Nj*sizeof(CvPoint) ); in icvCalcContoursCorrespondence()
D_cvvm.h111 CvPoint start,
112 CvPoint end );
118 CvPoint start,
119 CvPoint end );
Dcvsubdiv2.cpp111 CvPoint local_buf[100]; in draw_subdiv_facet()
112 CvPoint *buf = local_buf; in draw_subdiv_facet()
124 buf = (CvPoint *) malloc( count * sizeof( buf[0] )); in draw_subdiv_facet()
143 CvPoint ip = cvPoint( cvRound( pt->pt.x ), cvRound( pt->pt.y )); in draw_subdiv_facet()
Dcvface.cpp120 inline bool RFace::isPointInRect(CvPoint p,CvRect rect) in isPointInRect()
306 CvPoint p1 = cvPoint(rect.x,rect.y); in Show()
307 CvPoint p2 = cvPoint(rect.x + rect.width,rect.y + rect.height); in Show()
320 CvPoint p1 = cvPoint(Rect.x,Rect.y); in ShowIdeal()
321 CvPoint p2 = cvPoint(Rect.x + Rect.width,Rect.y + Rect.height); in ShowIdeal()
/external/opencv/cv/src/
Dcvconvhull.cpp45 icvSklansky_32s( CvPoint** array, int start, int end, int* stack, int nsign, int sign2 ) in icvSklansky_32s()
190 typedef int (*sklansky_func)( CvPoint** points, int start, int end,
195 static CV_IMPLEMENT_QSORT( icvSortPointsByPointers_32s, CvPoint*, cmp_pts ) in CV_IMPLEMENT_QSORT() argument
199 icvCalcAndWritePtIndices( CvPoint** pointer, int* stack, int start, int end, in CV_IMPLEMENT_QSORT()
211 CvPoint* ptr = (CvPoint*)pointer[stack[i]]; in CV_IMPLEMENT_QSORT()
213 while( (unsigned)(idx = (int)(ptr - (CvPoint*)block->data)) >= (unsigned)block->count ) in CV_IMPLEMENT_QSORT()
232 CvPoint** pointer = 0; in cvConvexHull2()
279 sizeof(CvContour), sizeof(CvPoint),(CvMemStorage*)hull_storage )); in cvConvexHull2()
286 sizeof(CvContour), sizeof(CvPoint*), (CvMemStorage*)hull_storage )); in cvConvexHull2()
332 CV_CALL( pointer = (CvPoint**)cvAlloc( ptseq->total*sizeof(pointer[0]) )); in cvConvexHull2()
[all …]
Dcvcontourtree.cpp51 icvCalcTriAttr( const CvSeq * contour, CvPoint t2, CvPoint t1, int n1,
52 CvPoint t3, int n3, double *s, double *s_c,
71 CvPoint *pt_p; /* pointer to previos points */ in icvCreateContourTree()
72 CvPoint *pt_n; /* pointer to next points */ in icvCreateContourTree()
73 CvPoint *pt1, *pt2; /* pointer to current points */ in icvCreateContourTree()
75 CvPoint t, tp1, tp2, tp3, tn1, tn2, tn3; in icvCreateContourTree()
115 pt_p = (CvPoint *) cvAlloc( lpt * sizeof( CvPoint )); in icvCreateContourTree()
116 pt_n = (CvPoint *) cvAlloc( lpt * sizeof( CvPoint )); in icvCreateContourTree()
595 icvCalcTriAttr( const CvSeq * contour, CvPoint t2, CvPoint t1, int n1, in icvCalcTriAttr()
596 CvPoint t3, int n3, double *s, double *s_c, in icvCalcTriAttr()
[all …]
Dcvshapedescr.cpp90 CV_NEXT_SEQ_ELEM( sizeof(CvPoint), reader ); in cvArcLength()
98 CvPoint* pt = (CvPoint*)reader.ptr; in cvArcLength()
99 CvPoint* prev_pt = (CvPoint*)reader.prev_elem; in cvArcLength()
328 CvPoint *pt_left, *pt_right, *pt_top, *pt_bottom; in cvMinEnclosingCircle()
329 CvPoint pt; in cvMinEnclosingCircle()
330 pt_left = pt_right = pt_top = pt_bottom = (CvPoint *)(reader.ptr); in cvMinEnclosingCircle()
335 CvPoint* pt_ptr = (CvPoint*)reader.ptr; in cvMinEnclosingCircle()
393 ptfl.x = (float)((CvPoint*)reader.ptr)->x; in cvMinEnclosingCircle()
394 ptfl.y = (float)((CvPoint*)reader.ptr)->y; in cvMinEnclosingCircle()
426 ptfl.x = (float)((CvPoint*)reader.ptr)->x; in cvMinEnclosingCircle()
[all …]
Dcvcontours.cpp50 static const CvPoint icvCodeDeltas[8] =
84 CV_IMPL CvPoint
89 CvPoint pt = { 0, 0 }; in cvReadChainPoint()
135 CvPoint origin; /* origin point (where the contour was traced from) */
159 CvPoint offset; /* ROI offset: coordinates, added to each contour point */
160 CvPoint pt; /* current scanner position */
161 CvPoint lnbd; /* position of the last met contour */
195 int method, CvPoint offset ) in cvStartFindContours()
272 scanner->elem_size1 = sizeof( CvPoint ); in cvStartFindContours()
285 scanner->elem_size2 = sizeof( CvPoint ); in cvStartFindContours()
[all …]
D_cvipp.h94 int nChannel, CvPoint roiOffset, double* value ))
296 int dststep, CvSize roi, CvSize esize, CvPoint anchor, void* buffer )) \
331 CvSize esize, CvPoint anchor, void** morphstate ))
357 CvSize roi, CvSize ksize, CvPoint anchor ))
367 CvSize roi, CvSize ksize, CvPoint anchor ))
481 IPCV_FILTER( _8u, 32f_8u, 1, CvSize, CvPoint )
482 IPCV_FILTER( _8u, 32f_8u, 3, CvSize, CvPoint )
483 IPCV_FILTER( _8u, 32f_8u, 4, CvSize, CvPoint )
485 IPCV_FILTER( _16s, 32f_16s, 1, CvSize, CvPoint )
486 IPCV_FILTER( _16s, 32f_16s, 3, CvSize, CvPoint )
[all …]
D_cvimgproc.h76 CvArr* _corr, CvPoint anchor=cvPoint(0,0) );
86 CvSize ksize, CvPoint anchor );
89 const CvMat* kernelY, CvPoint anchor );
/external/opencv3/modules/imgproc/include/opencv2/imgproc/
Dimgproc_c.h88 CVAPI(void) cvCopyMakeBorder( const CvArr* src, CvArr* dst, CvPoint offset,
132 CvPoint anchor CV_DEFAULT(cvPoint(-1,-1)));
382 CVAPI(int) cvSampleLine( const CvArr* image, CvPoint pt1, CvPoint pt2, void* buffer,
436 CvPoint offset CV_DEFAULT(cvPoint(0,0)));
450 CvPoint offset CV_DEFAULT(cvPoint(0,0)));
505 CVAPI(CvPoint) cvReadChainPoint( CvChainPtReader* reader );
871 CVAPI(void) cvFloodFill( CvArr* image, CvPoint seed_point,
993 CVAPI(void) cvLine( CvArr* img, CvPoint pt1, CvPoint pt2,
1002 CVAPI(void) cvRectangle( CvArr* img, CvPoint pt1, CvPoint pt2,
1021 CVAPI(void) cvCircle( CvArr* img, CvPoint center, int radius,
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_approxpoly.cpp71 int check_slice( CvPoint StartPt, CvPoint EndPt,
131 CvPoint center; in get_contour()
134 CvPoint pt; in get_contour()
141 seq = cvCreateSeq( CV_SEQ_POLYGON, sizeof(CvContour), sizeof(CvPoint), storage ); in get_contour()
166 int CV_ApproxPolyTest::check_slice( CvPoint StartPt, CvPoint EndPt, in check_slice()
171 CvPoint Pt; in check_slice()
235 CvPoint StartPt, EndPt; in check()
/external/opencv/cxcore/src/
Dcxdrawing.cpp63 int shift, CvPoint offset=cvPoint(0,0) );
69 icvPolyLine( CvMat* img, CvPoint *v, int count, int closed,
73 icvFillConvexPoly( CvMat* img, CvPoint* v, int npts,
81 cvClipLine( CvSize img_size, CvPoint* pt1, CvPoint* pt2 ) in cvClipLine()
160 cvInitLineIterator( const CvArr* img, CvPoint pt1, CvPoint pt2, in cvInitLineIterator()
256 icvLine( CvMat* mat, CvPoint pt1, CvPoint pt2, in icvLine()
296 icvLineAA( CvMat* img, CvPoint pt1, CvPoint pt2, in icvLineAA()
561 icvLine2( CvMat* img, CvPoint pt1, CvPoint pt2, const void* color ) in icvLine2()
851 cvEllipse2Poly( CvPoint center, CvSize axes, int angle, in cvEllipse2Poly()
852 int arc_start, int arc_end, CvPoint* pts, int delta ) in cvEllipse2Poly()
[all …]
Dcxminmaxloc.cpp90 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \
110 CvPoint* minLoc, CvPoint* maxLoc ) \
218 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ), \
238 extrtype* minVal, extrtype* maxVal, CvPoint* minLoc, CvPoint* maxLoc ) \
288 CvPoint* _minLoc, CvPoint* _maxLoc, const void* mask ) in CV_DEF_INIT_FUNC_TAB_2D()
302 CvPoint minloc, maxloc; in CV_DEF_INIT_FUNC_TAB_2D()
/external/opencv3/modules/imgproc/src/
Dconvhull.cpp427 sizeof(CvContour), sizeof(CvPoint),(CvMemStorage*)hull_storage ); in cvConvexHull2()
434 … sizeof(CvContour), sizeof(CvPoint*), (CvMemStorage*)hull_storage ); in cvConvexHull2()
520 CvPoint* hull_cur; in cvConvexityDefects()
603 CvPoint* pos = *CV_SEQ_ELEM( hull, CvPoint*, 0 ); in cvConvexityDefects()
606 pos = *CV_SEQ_ELEM( hull, CvPoint*, 1 ); in cvConvexityDefects()
609 pos = *CV_SEQ_ELEM( hull, CvPoint*, 2 ); in cvConvexityDefects()
631 hull_cur = *(CvPoint**)hull_reader.prev_elem; in cvConvexityDefects()
637 hull_cur = CV_GET_SEQ_ELEM( CvPoint, ptseq, index ); in cvConvexityDefects()
649 CvPoint* hull_next; in cvConvexityDefects()
652 hull_next = *(CvPoint**)hull_reader.ptr; in cvConvexityDefects()
[all …]
Dcontours.cpp50 static const CvPoint icvCodeDeltas[8] =
51 …{ CvPoint(1, 0), CvPoint(1, -1), CvPoint(0, -1), CvPoint(-1, -1), CvPoint(-1, 0), CvPoint(-1, 1),
76 CV_IMPL CvPoint
81 CvPoint pt; in cvReadChainPoint()
121 CvPoint origin; /* origin point (where the contour was traced from) */
145 CvPoint offset; /* ROI offset: coordinates, added to each contour point */
146 CvPoint pt; /* current scanner position */
147 CvPoint lnbd; /* position of the last met contour */
184 int method, CvPoint offset ) in cvStartFindContours()
253 scanner->elem_size1 = sizeof( CvPoint ); in cvStartFindContours()
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dtypes_c.h866 typedef struct CvPoint struct
872 CvPoint(int _x = 0, int _y = 0): x(_x), y(_y) {} in x() argument
874 CvPoint(const cv::Point_<_Tp>& pt): x((int)pt.x), y((int)pt.y) {} in CvPoint() function
879 CvPoint; typedef
882 CV_INLINE CvPoint cvPoint( int x, int y ) in cvPoint()
884 CvPoint p; in cvPoint()
920 CV_INLINE CvPoint2D32f cvPointTo32f( CvPoint point ) in cvPointTo32f()
926 CV_INLINE CvPoint cvPointFrom32f( CvPoint2D32f point ) in cvPointFrom32f()
928 CvPoint ipt; in cvPointFrom32f()
1369 CvPoint origin;
[all …]
/external/opencv/cxcore/include/
Dcxtypes.h909 typedef struct CvPoint struct
914 CvPoint; argument
917 CV_INLINE CvPoint cvPoint( int x, int y ) in cvPoint()
919 CvPoint p; in cvPoint()
947 CV_INLINE CvPoint2D32f cvPointTo32f( CvPoint point ) in cvPointTo32f()
953 CV_INLINE CvPoint cvPointFrom32f( CvPoint2D32f point ) in cvPointFrom32f()
955 CvPoint ipt; in cvPointFrom32f()
1337 CvPoint origin;
1601 #define CV_CURRENT_POINT( reader ) (*((CvPoint*)((reader).ptr)))
1602 #define CV_PREV_POINT( reader ) (*((CvPoint*)((reader).prev_elem)))
[all …]

1234