Ask Your Question
0

initUndistortRectifyMap - crop

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

basti gravatar image

Hello,

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
0

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

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

Stats

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

Seen: 1,126 times

Last updated: Jun 25 '14