/external/opencv/cv/src/ |
cvconvhull.cpp | 200 CvSeq* ptseq, CvSeqWriter* writer ) 207 int idx, first_idx = ptseq->first->start_index; 212 CvSeqBlock* block = ptseq->first; 216 if( block == ptseq->first ) 248 CvSeq* ptseq = 0; local 260 ptseq = (CvSeq*)array; 261 if( !CV_IS_SEQ_POINT_SET( ptseq )) 264 hull_storage = ptseq->storage; 268 CV_CALL( ptseq = cvPointSeqFromMat( 277 CV_SEQ_KIND_CURVE|CV_SEQ_ELTYPE(ptseq)| 536 CvSeq *ptseq = (CvSeq*)array, *hull = (CvSeq*)hullarray; local [all...] |
cvrotcalipers.cpp | 364 CvSeq* ptseq = (CvSeq*)array; local 367 if( CV_IS_SEQ(ptseq) ) 369 if( !CV_IS_SEQ_POINT_SET(ptseq) && 370 (CV_SEQ_KIND(ptseq) != CV_SEQ_KIND_CURVE || !CV_IS_SEQ_CONVEX(ptseq) || 371 CV_SEQ_ELTYPE(ptseq) != CV_SEQ_ELTYPE_PPOINT )) 375 storage = ptseq->storage; 379 CV_CALL( ptseq = cvPointSeqFromMat( 392 if( !CV_IS_SEQ_CONVEX( ptseq )) 394 CV_CALL( ptseq = cvConvexHull2( ptseq, temp_storage, CV_CLOCKWISE, 1 )) [all...] |
cvshapedescr.cpp | 988 CvSeq* ptseq = 0; local 994 ptseq = (CvSeq*)array; 995 if( !CV_IS_SEQ_POINT_SET( ptseq )) 1000 CV_CALL( ptseq = cvPointSeqFromMat( 1004 n = ptseq->total; 1008 icvFitEllipse_F( ptseq, &box ); 1028 cvStartReadSeq( ptseq, &reader ); 1029 is_float = CV_SEQ_ELTYPE(ptseq) == CV_32FC2; 1133 CvSeq* ptseq = 0; local 1146 ptseq = (CvSeq*)array [all...] |
cvlinefit.cpp | 651 CvSeq* ptseq = (CvSeq*)array; 657 if( CV_IS_SEQ(ptseq) ) 659 type = CV_SEQ_ELTYPE(ptseq); 660 if( ptseq->total == 0 ) 663 CV_ELEM_SIZE(type) != ptseq->elem_size ) 680 CV_CALL( ptseq = cvMakeSeqHeaderForArray( 688 if( CV_MAT_DEPTH(type) == CV_32F && ptseq->first->next == ptseq->first ) 691 points = ptseq->first->data; 695 CV_CALL( buffer = points = (schar*)cvAlloc( ptseq->total*CV_ELEM_SIZE(type) )) [all...] |
/external/opencv3/modules/imgproc/src/ |
convhull.cpp | 405 CvSeq* ptseq = 0; local 410 ptseq = (CvSeq*)array; 411 if( !CV_IS_SEQ_POINT_SET( ptseq )) 414 hull_storage = ptseq->storage; 418 ptseq = cvPointSeqFromMat( CV_SEQ_KIND_GENERIC, array, &contour_header, &block ); 425 hullseq = cvCreateSeq(CV_SEQ_KIND_CURVE|CV_SEQ_ELTYPE(ptseq)| 448 if( mat->cols + mat->rows - 1 < ptseq->total ) 451 if( CV_MAT_TYPE(mat->type) != CV_SEQ_ELTYPE(ptseq) && 464 int total = ptseq->total; 475 cv::convexHull(cv::cvarrToMat(ptseq, false, false, 0, &_ptbuf), h0 528 CvSeq *ptseq = (CvSeq*)array, *hull = (CvSeq*)hullarray; local [all...] |
shapedescr.cpp | 1050 CvSeq* ptseq = 0; local 1058 ptseq = (CvSeq*)array; 1059 if( !CV_IS_SEQ_POINT_SET( ptseq )) 1062 if( ptseq->header_size < (int)sizeof(CvContour)) 1074 ptseq = cvPointSeqFromMat(CV_SEQ_KIND_GENERIC, mat, &contour_header, &block); 1086 return ((CvContour*)ptseq)->rect; 1092 else if( ptseq->total ) 1095 rect = cv::pointSetBoundingRect(cv::cvarrToMat(ptseq, false, false, 0, &abuf)); 1098 ((CvContour*)ptseq)->rect = rect;
|
/external/opencv3/modules/imgproc/test/ |
test_convhull.cpp | 290 CvSeq* ptseq = (CvSeq*)pointsSet; local 291 total = ptseq->total; 292 point_type = CV_SEQ_ELTYPE(ptseq); 293 cvStartReadSeq( ptseq, &reader ); 547 CvSeq header, hheader, *ptseq, *hseq; local 551 ptseq = points1; 553 ptseq = cvMakeSeqHeaderForArray( CV_MAT_TYPE(points2->type), 556 point_count = ptseq->total; 595 idx = cvSeqElemIdx( ptseq, *(uchar**)ptr ); 1182 CvSeq* ptseq = (CvSeq*)pointsSet; local 1473 CvSeq* ptseq = (CvSeq*)pointsSet; local 1649 CvSeq* ptseq = (CvSeq*)points; local [all...] |