Home | History | Annotate | Download | only in src

Lines Matching refs:contour

1246 /**************** helper macros and functions for sequence/contour processing ***********/
2415 cvDrawContours( void* img, CvSeq* contour,
2420 CvSeq *contour0 = contour, *h_next = 0;
2440 if( !contour )
2454 h_next = contour->h_next;
2455 contour->h_next = 0;
2461 if( contour->storage )
2462 st = cvCreateChildMemStorage( contour->storage );
2471 cvInitTreeNodeIterator( &iterator, contour, maxLevel );
2473 while( (contour = (CvSeq*)cvNextTreeNode( &iterator )) != 0 )
2476 int i, count = contour->total;
2477 int elem_type = CV_MAT_TYPE(contour->flags);
2478 void* clr = (contour->flags & CV_SEQ_FLAG_HOLE) == 0 ? ext_buf : hole_buf;
2480 cvStartReadSeq( contour, &reader, 0 );
2482 if( CV_IS_SEQ_CHAIN_CONTOUR( contour ))
2484 CvPoint pt = ((CvChain*)contour)->origin;
2525 icvThickLine( mat, prev_pt, ((CvChain*)contour)->origin,
2535 else if( CV_IS_SEQ_POLYLINE( contour ))
2542 count -= !CV_IS_SEQ_CLOSED(contour);
2579 CV_CALL( icvCollectPolyEdges( mat, contour, edges, ext_buf, line_type, 0, offset ));