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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160413/image.png)
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.
0 个评论
采纳的回答
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 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File 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!