Home
last modified time | relevance | path

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

/external/opencv/cv/src/
Dcvconvhull.cpp200 CvSeq* ptseq, CvSeqWriter* writer ) in CV_IMPLEMENT_QSORT()
207 int idx, first_idx = ptseq->first->start_index; in CV_IMPLEMENT_QSORT()
212 CvSeqBlock* block = ptseq->first; in CV_IMPLEMENT_QSORT()
216 if( block == ptseq->first ) in CV_IMPLEMENT_QSORT()
248 CvSeq* ptseq = 0; in cvConvexHull2() local
260 ptseq = (CvSeq*)array; in cvConvexHull2()
261 if( !CV_IS_SEQ_POINT_SET( ptseq )) in cvConvexHull2()
264 hull_storage = ptseq->storage; in cvConvexHull2()
268 CV_CALL( ptseq = cvPointSeqFromMat( in cvConvexHull2()
277 CV_SEQ_KIND_CURVE|CV_SEQ_ELTYPE(ptseq)| in cvConvexHull2()
[all …]
Dcvrotcalipers.cpp364 CvSeq* ptseq = (CvSeq*)array; in cvMinAreaRect2() local
367 if( CV_IS_SEQ(ptseq) ) in cvMinAreaRect2()
369 if( !CV_IS_SEQ_POINT_SET(ptseq) && in cvMinAreaRect2()
370 (CV_SEQ_KIND(ptseq) != CV_SEQ_KIND_CURVE || !CV_IS_SEQ_CONVEX(ptseq) || in cvMinAreaRect2()
371 CV_SEQ_ELTYPE(ptseq) != CV_SEQ_ELTYPE_PPOINT )) in cvMinAreaRect2()
375 storage = ptseq->storage; in cvMinAreaRect2()
379 CV_CALL( ptseq = cvPointSeqFromMat( in cvMinAreaRect2()
392 if( !CV_IS_SEQ_CONVEX( ptseq )) in cvMinAreaRect2()
394 CV_CALL( ptseq = cvConvexHull2( ptseq, temp_storage, CV_CLOCKWISE, 1 )); in cvMinAreaRect2()
396 else if( !CV_IS_SEQ_POINT_SET( ptseq )) in cvMinAreaRect2()
[all …]
Dcvlinefit.cpp651 CvSeq* ptseq = (CvSeq*)array; in cvFitLine() local
657 if( CV_IS_SEQ(ptseq) ) in cvFitLine()
659 type = CV_SEQ_ELTYPE(ptseq); in cvFitLine()
660 if( ptseq->total == 0 ) in cvFitLine()
663 CV_ELEM_SIZE(type) != ptseq->elem_size ) in cvFitLine()
680 CV_CALL( ptseq = cvMakeSeqHeaderForArray( in cvFitLine()
688 if( CV_MAT_DEPTH(type) == CV_32F && ptseq->first->next == ptseq->first ) in cvFitLine()
691 points = ptseq->first->data; in cvFitLine()
695 CV_CALL( buffer = points = (schar*)cvAlloc( ptseq->total*CV_ELEM_SIZE(type) )); in cvFitLine()
696 CV_CALL( cvCvtSeqToArray( ptseq, points, CV_WHOLE_SEQ )); in cvFitLine()
[all …]
Dcvshapedescr.cpp988 CvSeq* ptseq = 0; in cvFitEllipse2() local
994 ptseq = (CvSeq*)array; in cvFitEllipse2()
995 if( !CV_IS_SEQ_POINT_SET( ptseq )) in cvFitEllipse2()
1000 CV_CALL( ptseq = cvPointSeqFromMat( in cvFitEllipse2()
1004 n = ptseq->total; in cvFitEllipse2()
1008 icvFitEllipse_F( ptseq, &box ); in cvFitEllipse2()
1028 cvStartReadSeq( ptseq, &reader ); in cvFitEllipse2()
1029 is_float = CV_SEQ_ELTYPE(ptseq) == CV_32FC2; in cvFitEllipse2()
1133 CvSeq* ptseq = 0; in cvBoundingRect() local
1146 ptseq = (CvSeq*)array; in cvBoundingRect()
[all …]