- 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 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
darova
le 18 Nov 2019
Why not just scale?
Suppose you have a reference object:
Try this relationship:
Réponses (1)
Philippe Lebel
le 18 Nov 2019
Modifié(e) : Philippe Lebel
le 18 Nov 2019
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 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!