Ask Your Question

initUndistortRectifyMap - crop

asked 2013-04-26 04:44:31 -0500

basti gravatar image


i have a question regarding the rectification and the reprojectImageTo3D method:

in the function initUndistortRectifyMap the image gets undistorted, rectified and cropped... if i calculate the disparity map afterwards the disparity depends on the crop process, is that correct? Does anybody know by what criteria the algorithm cuts the image? Because by computing the 3D data (reprojectImageTo3D) i will get coordinates according to the crop process.

It would be nice, if anybody can help me.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-25 15:18:25 -0500

bennygato gravatar image

My experience is that you should use the origin image after undistortion, which means don't do the cropping. The reason is after cropping, two new cropped images are not row-aligned.

edit flag offensive delete link more

Question Tools


Asked: 2013-04-26 04:44:31 -0500

Seen: 748 times

Last updated: Jun 25 '14