简体   繁体   中英

Camera Calibration and 3D reconstruction: Scaling factor

I am following this documentation: http://docs.opencv.org/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html

在此处输入图片说明

In the expression above, I have managed to obtain all the matrices except the scaling factor 's'. I am assuming that my object is planar and hence Z = 0. I tried to solve for 's' by substituting a known 2D to 3D map, and I got a value. However, this value seems to give me a correct mapping only for some points, and not for all. Am I doing anything wrong?

Any help will be appreciated! Thanks!

Do you know the physical size of the object, and is it the same in all images? Then the scale is exactly one, because you are in a calibrated setup.

If either condition above does not apply, then you cannot recover a physically meaningful scaling factor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM