- d1 - distance to object in [m]
- s1 - size of the object in [m]
- p1 - size of the object ix [px]
How to measure object size from an image in real world if distance is known ?
11 次查看(过去 30 天)
显示 更早的评论
I have a task where I have to calculate the size of an object lets say box from image taken through camera. The image resolution and distance between camera and object is known. From what I have seen and undertsand is to first calculate the intrinsic parameters of camera but for that there should be some reference image lets say checkerboard which I found in most examples, to measure the intrinsic parameters .. Based on these parameters we can calculate the object size in real world using parameters from images but I dont get it how will we measure the size of object.
Is there any other way to measure the object size from image or someone who came across the same problem.
Any help will be really appreciated!
2 个评论
darova
2019-11-18
Why not just scale?
Suppose you have a reference object:
Try this relationship:
回答(1 个)
Philippe Lebel
2019-11-18
编辑:Philippe Lebel
2019-11-18
here is the answer:
scroll to where there is a diagram with the lense, size of sensor and object (arround the bottom of the page.)
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!