Home
last modified time | relevance | path

Searched refs:src_contour (Results 1 – 4 of 4) sorted by relevance

/external/opencv/cv/src/
Dcvapprox.cpp518 icvApproxPolyDP_32s( CvSeq* src_contour, int header_size, in icvApproxPolyDP_32s() argument
527 int i = 0, j, count = src_contour->total, new_count; in icvApproxPolyDP_32s()
528 int is_closed = CV_IS_SEQ_CLOSED( src_contour ); in icvApproxPolyDP_32s()
533 assert( CV_SEQ_ELTYPE(src_contour) == CV_32SC2 ); in icvApproxPolyDP_32s()
534 cvStartWriteSeq( src_contour->flags, header_size, sizeof(pt), storage, &writer ); in icvApproxPolyDP_32s()
536 if( src_contour->total == 0 ) in icvApproxPolyDP_32s()
544 assert( src_contour->first != 0 ); in icvApproxPolyDP_32s()
547 cvStartReadSeq( src_contour, &reader, 0 ); in icvApproxPolyDP_32s()
553 start_pt = *(CvPoint*)cvGetSeqElem( src_contour, -1 ); in icvApproxPolyDP_32s()
673 is_closed = CV_IS_SEQ_CLOSED( src_contour ); in icvApproxPolyDP_32s()
[all …]
Dcvcalibinit.cpp1610 CvSeq *src_contour = 0; in icvGenerateQuads() local
1630 while( (src_contour = cvFindNextContour( scanner )) != 0 ) in icvGenerateQuads()
1633 CvRect rect = ((CvContour*)src_contour)->rect; in icvGenerateQuads()
1636 if( CV_IS_SEQ_HOLE(src_contour) && rect.width*rect.height >= min_size ) in icvGenerateQuads()
1642 dst_contour = cvApproxPoly( src_contour, sizeof(CvContour), temp_storage, in icvGenerateQuads()
1685 CvContourEx* parent = (CvContourEx*)(src_contour->v_prev); in icvGenerateQuads()
1708 src_contour = *(CvSeq**)cvGetSeqElem( root, idx ); in icvGenerateQuads()
1709 if( (flags & CV_CALIB_CB_FILTER_QUADS) && src_contour->v_prev != (CvSeq*)board ) in icvGenerateQuads()
1715 assert( src_contour->total == 4 ); in icvGenerateQuads()
1718 CvPoint2D32f pt = cvPointTo32f(*(CvPoint*)cvGetSeqElem(src_contour, i)); in icvGenerateQuads()
[all …]
/external/opencv3/modules/imgproc/src/
Dapprox.cpp476 approxPolyDP_( const Point_<T>* src_contour, int count0, Point_<T>* dst_contour, in approxPolyDP_() argument
489 pt = src_contour[pos]; \ in approxPolyDP_()
517 end_pt = src_contour[0]; in approxPolyDP_()
518 start_pt = src_contour[count-1]; in approxPolyDP_()
581 end_pt = src_contour[slice.end]; in approxPolyDP_()
612 start_pt = src_contour[slice.start]; in approxPolyDP_()
629 WRITE_PT( src_contour[count-1] ); in approxPolyDP_()
/external/opencv3/modules/calib3d/src/
Dcalibinit.cpp1663 CvSeq *src_contour = 0; in icvGenerateQuads() local
1683 while( (src_contour = cvFindNextContour( scanner )) != 0 ) in icvGenerateQuads()
1686 CvRect rect = ((CvContour*)src_contour)->rect; in icvGenerateQuads()
1689 if( CV_IS_SEQ_HOLE(src_contour) && rect.width*rect.height >= min_size ) in icvGenerateQuads()
1695 dst_contour = cvApproxPoly( src_contour, sizeof(CvContour), temp_storage, in icvGenerateQuads()
1741 CvContourEx* parent = (CvContourEx*)(src_contour->v_prev); in icvGenerateQuads()
1764 src_contour = *(CvSeq**)cvGetSeqElem( root, idx ); in icvGenerateQuads()
1765 if( (flags & CV_CALIB_CB_FILTER_QUADS) && src_contour->v_prev != (CvSeq*)board ) in icvGenerateQuads()
1771 assert( src_contour->total == 4 ); in icvGenerateQuads()
1774 CvPoint2D32f pt = cvPointTo32f(*(CvPoint*)cvGetSeqElem(src_contour, i)); in icvGenerateQuads()