Lines Matching refs:pattern_size
142 CvCBCorner **out_corners, CvSize pattern_size );
145 CvCBQuad **quads, CvSize pattern_size );
149 CvSize pattern_size, CvMemStorage* storage );
162 static int icvCheckBoardMonotony( CvPoint2D32f* corners, CvSize pattern_size );
200 int cvFindChessboardCorners( const void* arr, CvSize pattern_size,
220 int expected_corners_num = (pattern_size.width/2+1)*(pattern_size.height/2+1);
238 if( pattern_size.width <= 2 || pattern_size.height <= 2 )
386 pattern_size, storage );
422 CV_CALL( count = icvCleanFoundConnectedQuads( count, quad_group, pattern_size ));
425 CV_CALL( count = icvCheckQuadGroup( quad_group, count, corner_group, pattern_size ));
430 int n = count > 0 ? pattern_size.width * pattern_size.height : -count;
431 n = MIN( n, pattern_size.width * pattern_size.height );
465 found = icvCheckBoardMonotony( out_corners, pattern_size );
467 if( found && pattern_size.height % 2 == 0 && pattern_size.width % 2 == 0 )
469 int last_row = (pattern_size.height-1)*pattern_size.width;
473 int i, n = pattern_size.width*pattern_size.height;
497 icvCheckBoardMonotony( CvPoint2D32f* corners, CvSize pattern_size )
503 for( i = 0; i < (k == 0 ? pattern_size.height : pattern_size.width); i++ )
505 CvPoint2D32f a = k == 0 ? corners[i*pattern_size.width] : corners[i];
506 CvPoint2D32f b = k == 0 ? corners[(i+1)*pattern_size.width-1] :
507 corners[(pattern_size.height-1)*pattern_size.width + i];
511 for( j = 1; j < (k == 0 ? pattern_size.width : pattern_size.height) - 1; j++ )
513 CvPoint2D32f c = k == 0 ? corners[i*pattern_size.width + j] :
514 corners[j*pattern_size.width + i];
541 CvSize pattern_size, CvMemStorage* storage )
629 int w = pattern_size.width - 1;
630 int h = pattern_size.height - 1;
638 h = pattern_size.width - 1;
639 w = pattern_size.height - 1;
1019 icvCleanFoundConnectedQuads( int quad_count, CvCBQuad **quad_group, CvSize pattern_size )
1031 int count = ((pattern_size.width + 1)*(pattern_size.height + 1) + 1)/2;
1187 CvCBCorner **out_corners, CvSize pattern_size )
1255 if( corner_count != pattern_size.width*pattern_size.height )
1278 hist[3] != (pattern_size.width + pattern_size.height)*2 - 8 )
1313 if( right->count != 3 || out_corner_count >= MAX(pattern_size.width,pattern_size.height) )
1335 if( width == pattern_size.width )
1336 height = pattern_size.height;
1337 else if( width == pattern_size.height )
1338 height = pattern_size.width;
1394 if( width != pattern_size.width )
1406 CvPoint2D32f p0 = out_corners[0]->pt, p1 = out_corners[pattern_size.width-1]->pt,
1407 p2 = out_corners[pattern_size.width]->pt;
1431 corner_count = MIN( corner_count, pattern_size.width*pattern_size.height );
1436 if (result == -pattern_size.width*pattern_size.height)
1980 cvDrawChessboardCorners( CvArr* _image, CvSize pattern_size,
2058 for( y = 0, i = 0; y < pattern_size.height; y++ )
2068 for( x = 0; x < pattern_size.width; x++, i++ )