Restored findCirclesGridDefault() for backward compatibility
This commit is contained in:
parent
e0b772a392
commit
207e46b425
@ -548,6 +548,9 @@ CV_EXPORTS_W bool findCirclesGrid( InputArray image, Size patternSize,
|
|||||||
OutputArray centers, int flags=CALIB_CB_SYMMETRIC_GRID,
|
OutputArray centers, int flags=CALIB_CB_SYMMETRIC_GRID,
|
||||||
const Ptr<FeatureDetector> &blobDetector = new SimpleBlobDetector());
|
const Ptr<FeatureDetector> &blobDetector = new SimpleBlobDetector());
|
||||||
|
|
||||||
|
//! the deprecated function. Use findCirclesGrid() instead of it.
|
||||||
|
CV_EXPORTS_W bool findCirclesGridDefault( InputArray image, Size patternSize,
|
||||||
|
OutputArray centers, int flags=CALIB_CB_SYMMETRIC_GRID );
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
CALIB_USE_INTRINSIC_GUESS = CV_CALIB_USE_INTRINSIC_GUESS,
|
CALIB_USE_INTRINSIC_GUESS = CV_CALIB_USE_INTRINSIC_GUESS,
|
||||||
|
@ -1589,3 +1589,8 @@ size_t CirclesGridFinder::getFirstCorner(vector<Point> &largeCornerIndices, vect
|
|||||||
return cornerIdx;
|
return cornerIdx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool cv::findCirclesGridDefault( InputArray image, Size patternSize,
|
||||||
|
OutputArray centers, int flags )
|
||||||
|
{
|
||||||
|
return findCirclesGrid(image, patternSize, centers, flags);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user