Camera Calibration: Tilt image to make camera and image plane perpendicular

2 次查看(过去 30 天)
I am currently working in the fields of computer vision and camera calibration. I use the Stereo Camera Calibrator App provided by the Computer Vision System Toolbox which gives me the following screenshot:
As you can see, the cameras are not positioned directly above the image plane meaning that distant parts of the image appear smaller than they actually are. I have to compare the images to a reference which means that I have to tilt and rotate the images, respectively, so that the image plane is first perpendicular to camera 1 and then to camera 2. I exported the cameraParameters object which gives me a ton of information about the stereo camera setup, unfortunately I do not know how to figure out the angle or where I can find it to transform the images. Does anybody know how to achieve that? Thank you for your efforts.

采纳的回答

Tohru Kikawada
Tohru Kikawada 2017-2-21
The easist way to compare the two images in same plance is to use rectifyStereoImages function, but if you want to know more what the function does e.g. what transformation matrix is used, you'll need to take a look at Bradski's book which is cited in this document.
Hope this helps,
Tohru
  1 个评论
Sebastian
Sebastian 2017-2-27
编辑:Sebastian 2017-2-27
Thank you for your answer. I thought that rectifyStereoImages only corrects lens distortion. I need to transform the images in a way that they look like they were taken directly from above the object plane. I will check this function and see if I get the desired result.

请先登录,再进行评论。

更多回答(1 个)

Guangshen Ma
Guangshen Ma 2018-2-9
Hello Sebastian,
Have you solved this problem? I am facing the same problem and I am going to use binocular camera calibration method in MATLAB.

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for USB Webcams 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by