- 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 ?
85 ビュー (過去 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 で Camera Calibration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!