Possible bug in cv::findCirclesGrid

asked 2014-10-10 08:36:16 -0500

updated 2014-10-10 08:43:06 -0500


I am currently trying to calibrate my camera with the asymetric pattern of size(4,10). I created my own pattern similar to the standard pattern. The pattern is detected but the points are not ordered as you can see in the attached img


here is the original image:


I use the standard detector with an adapted blob detector:

    SimpleBlobDetector::Params params;
    params.maxArea = 1e4;
    Ptr<FeatureDetector> blobDetector = new SimpleBlobDetector(params);

    grid_visible = cv::findCirclesGrid(img, m_markersize, positions, cv::CALIB_CB_ASYMMETRIC_GRID, blobDetector);

Is this just a bug or is there a some constraint on how the pattern has look like?

edit retag flag offensive close merge delete