What are the "maps" returned by the initUndistortRectifyMap() function?

asked 2019-05-13 11:13:21 -0500

Hello everyone,

I need to calibrate 2 cameras in order to do some image processing (stereoscopy). For that I use the function initUndistortRectifyMap() which returns 2 "maps", after calling stereoCalibrate() and stereoRectify() . What do these 2 maps represent ?

My initial guess, was that they represent transformation maps used to transform every pixel of an image with the remap() function. However, if this was the case, why would there be 2 maps returned by the function ?

Thank you.

edit retag flag offensive close merge delete