Getting zero ROIs from stereoRectify function
I ran cv2.stereoCalibrate and it returned error 0.97 pixels.
Now I am trying to rectify my images. cv2.stereoRectify seems very sensitive to alpha: many values of alpha return (0,0,0,0) in both returned ROIs. Some return nonzero values in one ROI. Others return nonzero values in both ROIs.
Is there any reason to this?
that's too large. try again with better images / coverage of the scene. err < 0.5 would be ok.
Any details on why stereoRectify fails with this larger error?
I have full coverage of the scene: I think this about the best I can do, unfortunately. The scene is underwater so the lighting isn't ideal.
@berak err = 0.526 after some improvements and I continue to get all black images from stereorectify. Any thoughts?
update: err = 0.320 after removing outliers. Fully black remapped images persist.
what methods did you use to reduce the reprojection erros?