cvFindChessboardCorners finding some of the corners in the wrong places (Bug #488)
Description
Hello,
I have noticed that in some cases such as the ones in the images I am attaching, the cvFindChessboardCorners reports finding the correct number of corners although the corners are outside of the image. This tends to happen when the calibration target is right next to the edge of the image, so I am wondering if there is an easy way to add a a check for this.
I generated the images I am attaching with OpenCV 2.1, using the CV_CALIB_CB_ADAPTIVE_THRESH |
CV_CALIB_CB_NORMALIZE_IMAGE |
CV_CALIB_CB_FILTER_QUADS
flags for the function call.
In case I am breaking any rules about ticket submissions, I apologize in advance.
Thanks, Cris.
Associated revisions
Merge pull request #488 from AnnaKogan8:updated-ABI-compliance-descriptor-script
History
Updated by Alexander Shishkov about 13 years ago
- Description changed from Hello, I have noticed that in some cases such as the ones in the images I am... to Hello, I have noticed that in some cases such as the ones in the images I am... More
Updated by Alexander Shishkov almost 13 years ago
- Target version deleted ()
Updated by Andrey Kamaev almost 13 years ago
- Category changed from imgproc, video to calibration, 3d
Updated by Alexander Shishkov almost 13 years ago
- Priority changed from Normal to Low
Updated by Ilya Lysenkov almost 13 years ago
- Assignee set to Ilya Lysenkov
Updated by Ilya Lysenkov almost 13 years ago
Thank you for the report.
In fact, OpenCV performs such a check that corners should be at least 8 pixels away from the border. So now it works correctly on your images and findChessboardCorners returns zero, that is the chessboard is not detected because some corners are not seen. I've added your images to the OpenCV test system in r7690 to ensure that it will work correctly in future too.
Don't you mind about usage of your images in the OpenCV public repository?
- Status changed from Open to Done
Updated by Alexander Shishkov almost 13 years ago
- Target version set to 2.4.0