How to get the camera scale factor

38 次查看(过去 30 天)
I want to obtain the scale factor by calibration, so as to obtain the relationship between the length of the object in the image and the actual length.
However, when I complete the calibration, I can get the intrinsic and extrinsic parameters, but it seems that I still lack some information (distance between the sensor plane and lens center) to get the scale factor.
Please also provide suggestions from professionals in this area, thank you.

采纳的回答

Matt J
Matt J 2021-10-14
编辑:Matt J 2021-10-14
To get that, you need to image an object of known length at some known reference depth from the camera. You would also need to know the depth of any object you later wished to apply it to.
  1 个评论
chihyu
chihyu 2021-10-15
Dear Matt, what do you mean is that if my subject is a 15 cm ruler (I know the exact length), then how many pixels does the length of the subject occupies in the captured image.
Then calculate the pixel/ unit length, but how do I get the reference depth from the camera

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by