Added detection of asymmetric circles' pattern

This commit is contained in:
Ilya Lysenkov
2011-02-07 07:57:32 +00:00
parent 885cef7660
commit f8e9f65ea8
5 changed files with 674 additions and 247 deletions

View File

@@ -543,10 +543,12 @@ CV_EXPORTS void drawChessboardCorners( Mat& image, Size patternSize,
const vector<Point2f>& corners,
bool patternWasFound );
enum { CALIB_CB_SYMMETRIC_GRID = 1, CALIB_CB_ASYMMETRIC_GRID = 2 };
//! finds circles' grid pattern of the specified size in the image
CV_EXPORTS_W bool findCirclesGrid( const Mat& image, Size patternSize,
CV_OUT vector<Point2f>& centers,
int flags=0 );
int flags=CALIB_CB_SYMMETRIC_GRID );
enum
{