Home
last modified time | relevance | path

Searched refs:CvContour (Results 1 – 25 of 39) sorted by relevance

12

/external/opencv/cv/src/
Dcvconvhull.cpp231 union { CvContour* c; CvSeq* s; } hull; in cvConvexHull2()
245 CvContour contour_header; in cvConvexHull2()
246 union { CvContour c; CvSeq s; } hull_header; in cvConvexHull2()
279 sizeof(CvContour), sizeof(CvPoint),(CvMemStorage*)hull_storage )); in cvConvexHull2()
286 sizeof(CvContour), sizeof(CvPoint*), (CvMemStorage*)hull_storage )); in cvConvexHull2()
498 ptseq->header_size < (int)sizeof(CvContour) || in cvConvexHull2()
533 CvContour contour_header; in cvConvexityDefects()
534 union { CvContour c; CvSeq s; } hull_header; in cvConvexityDefects()
588 sizeof(CvContour), CV_ELEM_SIZE(mat->type), mat->data.ptr, in cvConvexityDefects()
741 CvContour contour_header; in cvCheckContourConvexity()
Dcvshapedescr.cpp58 CvContour contour_header; in cvArcLength()
298 CvContour contour_header; in cvMinEnclosingCircle()
736 CvContour contour_header; in cvContourArea()
987 CvContour contour_header; in cvFitEllipse2()
1132 CvContour contour_header; in cvBoundingRect()
1150 if( ptseq->header_size < (int)sizeof(CvContour)) in cvBoundingRect()
1179 rect = ((CvContour*)ptseq)->rect; in cvBoundingRect()
1348 ((CvContour*)ptseq)->rect = rect; in cvBoundingRect()
Dcvapprox.cpp89 if( header_size < (int)sizeof(CvContour) ) in icvApproximateChainTC89()
447 sizeof( CvContour ), storage, in cvApproxChains()
932 CvContour contour_header; in cvApproxPoly()
985 if( header_size < (int)sizeof(CvContour) ) in cvApproxPoly()
1019 if( header_size >= (int)sizeof(CvContour)) in cvApproxPoly()
Dcvcalibinit.cpp1633 CvRect rect = ((CvContour*)src_contour)->rect; in icvGenerateQuads()
1642 dst_contour = cvApproxPoly( src_contour, sizeof(CvContour), temp_storage, in icvGenerateQuads()
1646 dst_contour = cvApproxPoly( dst_contour, sizeof(CvContour), temp_storage, in icvGenerateQuads()
1757 CvRect a = (*((CvContour**)_a))->rect; in is_equal_quad()
1758 CvRect b = (*((CvContour**)_b))->rect; in is_equal_quad()
1824 CvRect rect = ((CvContour*)src_contour)->rect; in icvGenerateQuadsEx()
1833 dst_contour = cvApproxPoly( src_contour, sizeof(CvContour), temp_storage, in icvGenerateQuadsEx()
1837 dst_contour = cvApproxPoly( dst_contour, sizeof(CvContour), temp_storage, in icvGenerateQuadsEx()
1915 CvContour* cnt = *(CvContour**)cvGetSeqElem(root_tmp, j); in icvGenerateQuadsEx()
Dcvgeometry.cpp173 CvContour header; in cvPointPolygonTest()
188 if( contour->header_size == sizeof(CvContour) && !measure_dist ) in cvPointPolygonTest()
190 CvRect r = ((CvContour*)contour)->rect; in cvPointPolygonTest()
Dcvrotcalipers.cpp362 CvContour contour_header; in cvMinAreaRect2()
405 sizeof(CvContour), CV_ELEM_SIZE(ptseq->v_prev->flags), in cvMinAreaRect2()
Dcvcontours.cpp223 if( header_size < (int) (method == CV_CHAIN_CODE ? sizeof( CvChain ) : sizeof( CvContour ))) in cvStartFindContours()
271 header_size : sizeof( CvContour ); in cvStartFindContours()
821 ((CvContour*)contour)->rect = rect; in icvFetchContourEx()
1187 if( contourHeaderSize < (int)sizeof(CvContour)) in icvFindContoursInInterval()
Dcvutils.cpp45 CvContour* contour_header, CvSeqBlock* block ) in cvPointSeqFromMat()
74 sizeof(CvContour), CV_ELEM_SIZE(eltype), mat->data.ptr, in cvPointSeqFromMat()
Dcvlinefit.cpp649 union { CvContour contour; CvSeq seq; } header; in cvFitLine()
681 CV_SEQ_KIND_GENERIC|type, sizeof(CvContour), CV_ELEM_SIZE(type), mat->data.ptr, in cvFitLine()
/external/opencv/cvaux/src/
Dextendededges.cpp56 …cvFindContours( image, tmp_storage, &contours, sizeof(CvContour), CV_RETR_LIST, CV_CHAIN_APPROX_NO… in cvExtractSingleEdges()
134 cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvCutContourRaster()
166 … cvStartWriteSeq( current->flags, sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvCutContourRaster()
Dcvbgfg_common.cpp87 sizeof(CvContour), CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE, offset ); in cvSegmentFGMask()
99 newC = cvApproxPoly( c, sizeof(CvContour), tempStorage, CV_POLY_APPROX_DP, 2, 0 ); in cvSegmentFGMask()
Dcvbgfg_gaussmix.cpp324 …cvFindContours( bg_model->foreground, bg_model->storage, &first_seq, sizeof(CvContour), CV_RETR_LI… in icvUpdateGaussianBGModel()
327 CvContour* cnt = (CvContour*)seq; in icvUpdateGaussianBGModel()
Dcvbgfg_acmmm2003.cpp439 … cvFindContours( model->foreground, model->storage, &first_seq, sizeof(CvContour), CV_RETR_LIST ); in icvUpdateFGDStatModel()
442 CvContour* cnt = (CvContour*)seq; in icvUpdateFGDStatModel()
Dcvsegment.cpp389 sizeof(CvContour), sizeof(CvPoint), storage, &writer ); in icvGetComponent()
557 … ((CvContour*)tmpseq)->color = avgVal[0] + (avgVal[1] << 8) + (avgVal[2] << 16); in cvSegmentImage()
Dcvlcm.cpp588 pLCMNode->contour = (CvContour*)cvCreateSeq(0, sizeof(CvContour), in _cvCreateLCMNode()
/external/opencv3/modules/imgproc/src/
Dutils.cpp45 CvContour* contour_header, CvSeqBlock* block ) in cvPointSeqFromMat()
72 sizeof(CvContour), CV_ELEM_SIZE(eltype), mat->data.ptr, in cvPointSeqFromMat()
Dconvhull.cpp398 union { CvContour* c; CvSeq* s; } hull; in cvConvexHull2()
402 CvContour contour_header; in cvConvexHull2()
427 sizeof(CvContour), sizeof(CvPoint),(CvMemStorage*)hull_storage ); in cvConvexHull2()
434 … sizeof(CvContour), sizeof(CvPoint*), (CvMemStorage*)hull_storage ); in cvConvexHull2()
503 ptseq->header_size < (int)sizeof(CvContour) || in cvConvexHull2()
525 CvContour contour_header; in cvConvexityDefects()
578 sizeof(CvContour), CV_ELEM_SIZE(mat->type), mat->data.ptr, in cvConvexityDefects()
717 CvContour contour_header; in cvCheckContourConvexity()
Dcontours.cpp207 if( header_size < (int) (method == CV_CHAIN_CODE ? sizeof( CvChain ) : sizeof( CvContour ))) in cvStartFindContours()
252 header_size : sizeof( CvContour ); in cvStartFindContours()
789 ((CvContour*)contour)->rect = rect; in icvFetchContourEx()
978 ((CvContour*)contour)->rect = rect; in icvFetchContourEx_32s()
1341 if( contourHeaderSize < (int)sizeof(CvContour)) in icvFindContoursInInterval()
1720 cvFindContours(&_cimage, storage, &_ccontours, sizeof(CvContour), mode, method, offset); in findContours()
1733 ((CvContour*)c)->color = (int)i; in findContours()
1749 int h_next = c->h_next ? ((CvContour*)c->h_next)->color : -1; in findContours()
1750 int h_prev = c->h_prev ? ((CvContour*)c->h_prev)->color : -1; in findContours()
1751 int v_next = c->v_next ? ((CvContour*)c->v_next)->color : -1; in findContours()
[all …]
Dapprox.cpp75 CV_Assert( header_size >= (int)sizeof(CvContour) ); in icvApproximateChainTC89()
409 … contour = icvApproximateChainTC89( (CvChain *) src_seq, sizeof( CvContour ), storage, method ); in cvApproxChains()
712 CvContour contour_header; in cvApproxPoly()
761 if( header_size < (int)sizeof(CvContour) ) in cvApproxPoly()
810 if( header_size >= (int)sizeof(CvContour)) in cvApproxPoly()
Dshapedescr.cpp918 CvContour contour_header; in cvContourArea()
959 CvContour contour_header; in cvArcLength()
1049 CvContour contour_header; in cvBoundingRect()
1062 if( ptseq->header_size < (int)sizeof(CvContour)) in cvBoundingRect()
1086 return ((CvContour*)ptseq)->rect; in cvBoundingRect()
1098 ((CvContour*)ptseq)->rect = rect; in cvBoundingRect()
/external/opencv3/modules/calib3d/src/
Dcheckchessboard.cpp151 cvFindContours(thresh, storage, &first, sizeof(CvContour), CV_RETR_CCOMP); in cvCheckChessboard()
161 cvFindContours(thresh, storage, &first, sizeof(CvContour), CV_RETR_CCOMP); in cvCheckChessboard()
/external/opencv/cxcore/src/
Dcxdrawing.cpp61 icvCollectPolyEdges( CvMat* img, CvSeq* v, CvContour* edges,
66 icvFillEdgeCollection( CvMat* img, CvContour* edges, const void* color );
943 CvContour* edges; in icvEllipseEx()
948 CV_CALL( edges = (CvContour*)cvCreateSeq( 0, sizeof(CvContour), sizeof(CvPolyEdge), st )); in icvEllipseEx()
1149 icvCollectPolyEdges( CvMat* img, CvSeq* v, CvContour* edges, in icvCollectPolyEdges()
1249 icvFillEdgeCollection( CvMat* img, CvContour* edges, const void* color ) in icvFillEdgeCollection()
1985 CvContour* edges = 0; in cvFillPoly()
1990 CV_CALL( edges = (CvContour*)cvCreateSeq( 0, sizeof(CvContour), in cvFillPoly()
2423 CvContour* edges = 0; in cvDrawContours()
2465 tseq = cvCreateSeq( 0, sizeof(CvContour), sizeof(CvPoint), st ); in cvDrawContours()
[all …]
/external/opencv3/modules/cudalegacy/src/
Dfgd.cpp360 ((CvContour*)c)->color = (int)i; in seqToContours()
379 cvFindContours(&ipl_foreground, storage, &first_seq, sizeof(CvContour), CV_RETR_LIST); in findForegroundRegions()
383 CvContour* cnt = reinterpret_cast<CvContour*>(seq); in findForegroundRegions()
/external/opencv3/modules/imgproc/include/opencv2/imgproc/
Dimgproc_c.h433 int header_size CV_DEFAULT(sizeof(CvContour)),
447 int header_size CV_DEFAULT(sizeof(CvContour)),
602 CvContour* contour_header,
/external/opencv3/modules/imgproc/test/
Dtest_approxpoly.cpp141 seq = cvCreateSeq( CV_SEQ_POLYGON, sizeof(CvContour), sizeof(CvPoint), storage ); in get_contour()

12