no checkerboards detected in the images

16 views (last 30 days)
Hi there,
I am using the stereoCameraCalibrator app in MATLAB. I have used it a number of times before with no issues. However, today I am encountering the error: "no checkerboards detected in the images". This is weird because I have double checked to see that both folders have the necessary frames/images. And that each of the images have the necessary checkerboard. I am using the same checkerboard that I have used successfully in the past, under the same lighting conditions and the checkerboard is at the exact same distance from the exact same cameras I have used in the past.
May you please assist me. This is weird. I may be doing something stupid but I can't seem to figure it out. Googling and checking for solutions from people who have encountered this in the past did not help. Thank you.
  5 Comments
Kukhokuhle Tsengwa
Kukhokuhle Tsengwa on 16 Mar 2022
corresponding image from the other camera

Sign in to comment.

Accepted Answer

Kukhokuhle Tsengwa
Kukhokuhle Tsengwa on 16 Mar 2022
When there is too much lighting (which was the case in my images) it seems detectCheckerboardPoints() fails to detect corners. They appear to be "non-contact"/"non-crossing".
I fixed this by setting the value of the HighDistortion parameter to 'true' in detectCheckerboardPoints().

More Answers (1)

Benjamin Thompson
Benjamin Thompson on 16 Mar 2022
The other camera looks a little washed out in sections due to lighting glare. Try running both images through the single camera calibrator separately to verify which one is causing the problem.
  1 Comment
Kukhokuhle Tsengwa
Kukhokuhle Tsengwa on 16 Mar 2022
Hi Benjamin,
Thank you for responding to my query.
You got the source of the problem right.
When there is too much lighting (which was the case in my images) it seems detectCheckerboardPoints() fails to detect corners. They appear to be "non-contact"/"non-crossing".
I fixed this by setting the value of the HighDistortion parameter to 'true' in detectCheckerboardPoints().
Thank you!

Sign in to comment.

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!