- 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 ?
조회 수: 47 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!