Matching/Rectify Images with different Sizes

asked 2015-03-18 09:53:26 -0600

Tankard gravatar image

Hi,

I want to match the Pixels of two different Cameras.

I already have the camera matrix of both cameras and the rvecs and tvecs. I also have the images undistorted. Now, after I have the matrices R and T, i would call cv::stereoRectify. The problem is, that this functions needs a image size as parameter but my cameras have different image sizes and worse, different aspect ratios.

Is there a way to rectify/match the images with different sizes and aspect ratios? I cannot just scale one image up to the size of the other, because this would deform the image (due to the aspect ratio).

~Tankard

edit retag flag offensive close merge delete