Lines Matching refs:contour
85 icvContourMoments( CvSeq* contour, CvMoments* moments )
87 int is_float = CV_SEQ_ELTYPE(contour) == CV_32FC2;
89 if( contour->total )
94 int lpt = contour->total;
98 cvStartReadSeq( contour, &reader, 0 );
110 CV_NEXT_SEQ_ELEM( contour->elem_size, reader );
127 CV_NEXT_SEQ_ELEM( contour->elem_size, reader );
386 CvSeq* contour = 0;
391 contour = (CvSeq*)array;
392 if( !CV_IS_SEQ_POLYGON( contour ))
393 CV_ERROR( CV_StsBadArg, "The passed sequence is not a valid contour" );
408 if( !contour )
415 CV_CALL( contour = cvPointSeqFromMat(
421 if( contour )
423 icvContourMoments( contour, moments );