Home
last modified time | relevance | path

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

123

/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()
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()
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 …]
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()
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()
D_cvvm.h111 CvPoint start,
112 CvPoint end );
118 CvPoint start,
119 CvPoint end );
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()
Ddecomppoly.cpp140 bool icvEarCutTriangulation( CvPoint* contour,
327 inline bool icvFindTwoNeighbourEdges( CvPoint* contour,
428 bool icvFindReferences( CvPoint* contour,
533 CvPoint* contour;
556 contour = ( CvPoint* )memory;
Dcvsegment.cpp86 CvSize /*roi*/, CvPoint seed, in icvSegmFloodFill_Stage1()
331 const CvPoint icvCodeDeltas[8] =
369 CvPoint pt = { x, y }; in icvGetComponent()
389 sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvGetComponent()
496 CvPoint pt; in cvSegmentImage()
/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/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_cvimgproc.h76 CvArr* _corr, CvPoint anchor=cvPoint(0,0) );
86 CvSize ksize, CvPoint anchor );
89 const CvMat* kernelY, CvPoint anchor );
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 …]
Dcvpgh.cpp192 CvPoint pt1, pt2; in icvCalcPGH()
214 CvPoint pt1, pt2; in icvCalcPGH()
236 CvPoint pt3, pt4; in icvCalcPGH()
Dcvapprox.cpp49 CvPoint pt;
78 CvPoint pt = chain->origin; in icvApproximateChainTC89()
93 header_size, sizeof( CvPoint ), storage, &writer ); in icvApproximateChainTC89()
162 CvPoint pt0; in icvApproximateChainTC89()
526 CvPoint start_pt = {INT_MIN, INT_MIN}, end_pt = {0, 0}, pt = {0,0}; in icvApproxPolyDP_32s()
552 end_pt = *(CvPoint*)(reader.ptr); in icvApproxPolyDP_32s()
553 start_pt = *(CvPoint*)cvGetSeqElem( src_contour, -1 ); in icvApproxPolyDP_32s()
697 *((CvPoint*)reader2.ptr) = start_pt = end_pt; in icvApproxPolyDP_32s()
703 *((CvPoint*)reader2.ptr) = start_pt = pt; in icvApproxPolyDP_32s()
709 *((CvPoint*)reader2.ptr) = pt; in icvApproxPolyDP_32s()
/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/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 …]
Dcxcore.h850 CvPoint* min_loc CV_DEFAULT(NULL),
851 CvPoint* max_loc CV_DEFAULT(NULL),
1286 CVAPI(void) cvLine( CvArr* img, CvPoint pt1, CvPoint pt2,
1292 CVAPI(void) cvRectangle( CvArr* img, CvPoint pt1, CvPoint pt2,
1299 CVAPI(void) cvCircle( CvArr* img, CvPoint center, int radius,
1306 CVAPI(void) cvEllipse( CvArr* img, CvPoint center, CvSize axes,
1324 CVAPI(void) cvFillConvexPoly( CvArr* img, CvPoint* pts, int npts, CvScalar color,
1328 CVAPI(void) cvFillPoly( CvArr* img, CvPoint** pts, int* npts, int contours, CvScalar color,
1332 CVAPI(void) cvPolyLine( CvArr* img, CvPoint** pts, int* npts, int contours,
1345 CVAPI(int) cvClipLine( CvSize img_size, CvPoint* pt1, CvPoint* pt2 );
[all …]

123