I would like to find the depth or disparity map for an image pair, but the images don't have the exactly same dimensions...
So I have this (strange) error:
error: /..../opencv/modules/calib3d/src/stereobm.cpp:1069: error: (-209) All the images must have the same size in function compute
From this points, three questions:
- Is it possible to run
StereoBM_create.compute()
on images with different sizes? - Does it make sense to reshape one image to fit the smaller?
- Is there any other tool to perform a depth computation that could work on image with different sizes?
(I run cv2 on Python 2.7)