Restored findCirclesGridDefault() for backward compatibility

pull/13383/head
Ilya Lysenkov 13 years ago
parent e0b772a392
commit 207e46b425
  1. 3
      modules/calib3d/include/opencv2/calib3d/calib3d.hpp
  2. 5
      modules/calib3d/src/circlesgrid.cpp

@ -548,6 +548,9 @@ CV_EXPORTS_W bool findCirclesGrid( InputArray image, Size patternSize,
OutputArray centers, int flags=CALIB_CB_SYMMETRIC_GRID,
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
{
CALIB_USE_INTRINSIC_GUESS = CV_CALIB_USE_INTRINSIC_GUESS,

@ -1589,3 +1589,8 @@ size_t CirclesGridFinder::getFirstCorner(vector<Point> &largeCornerIndices, vect
return cornerIdx;
}
bool cv::findCirclesGridDefault( InputArray image, Size patternSize,
OutputArray centers, int flags )
{
return findCirclesGrid(image, patternSize, centers, flags);
}

Loading…
Cancel
Save