Clear Filters
Clear Filters

Getting problem in (rectifySt​ereoImages​(frameLeft​, frameRight, stereoParams); )

9 views (last 30 days)
Hello Everyone,
After callibrating images from stereo camera calibrator i am having this error.
Error using vision.internal.inputValidation.checkImageSize (line 14)
Image size is not consistent with camera intrinsics. It is likely that the image is not generated by the specified camera.
Error in rectifyStereoImages (line 126)
vision.internal.inputValidation.checkImageSize(I1, stereoParams.CameraParameters1.ImageSize);
Error in Depthestimationfromstereovideolenovocameratest5 (line 54)
rectifyStereoImages(frameLeft, frameRight, stereoParams);
It would be really helpful if someone could help me with this.
Thank you

Answers (1)

yanqi liu
yanqi liu on 6 Oct 2021
Edited: yanqi liu on 6 Oct 2021
sir, may be use
I1 = imresize(I1,stereoParams.CameraParameters1.ImageSize, 'bilinear');
to make the same size

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!