c++ - reverse UndistortRectifyMap -
i'm making multicamera-stereo calibration program.
my idea rectify each pair of cameras separately.
for example: given 3 cameras compute undistortion , rectification maps (using stereorectify() , initundistortrectifymap()) separately {camera[1] , camera[2]}, {camera[2] , camera[3]} , {camera[1] , camera[3]}.
using remap(), can transform original image (from, lets say, camera[1]) 1 of 2 different rectified images: rectified[1][2] , rectified[1][3].
now, using remap(), point original image, can compute new coordinates separately in rectified[1][2] , rectified[1][3] images.
it works well, need compute these coordinates in opposite direction: point of rectified images need find original coordinates in original image.
how can this?
Comments
Post a Comment