stereo camera calibration loading failed

When I load the images for stereo calibration it gives error and does not load a single image. the error come is:
1. Warning: Error occurred while evaluating listener callback.
Error using vision.internal.calibration.tool.StereoBoardThumbnails/resizeToThumbnailStereo (line 134)
Dimensions of arrays being concatenated are not consistent.
2.Warning: Error occurred while evaluating listener callback.
Error using vision.internal.calibration.tool.BoardThumbnails/updateBlockWithPlaceholder (line 186)
Brace indexing is not supported for variables of this type.
It shows that it has passed all my images to skipped images.
I have taken images many time again. and they are successfully calibrated on python with opencv. it means the images are clear they have no problem. please guide me that what mistake I am making with matlab loading.

4 Comments

Can you attach the images here so that we can try on our side? Also, which releae of MATLAB are you using?
I have attached 5 pairs from each left and right camera. I am using matlab R2020b version. please see it.
I am having this same problem on MATLAB R2020b.
Same here... any solution?

Sign in to comment.

 Accepted Answer

it's a bug in MATLAB R2020b and our developers are aware about it. We will try to fix it in future releases.

4 Comments

Thank you for informing. I have tried with R2017b version and it works.
Thanks Nitin.
Could you please provide the bug ID number so that we can follow the progress?
I can't seem to find it listed in Bug Reports
I am finding the same issue with R2020b. Using Stereo Camera Calibrator app. All images have same dimensions. But always get Loading Failed message 'Dimensions of arrays being concatenated are not consistent'. Any update as to when this will be resolved?
As a workaround, convert the calibration images to grayscale (rgb2gray) before passing it on to the Stereo Calibrator App.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!