- 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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
darova
el 18 de Nov. de 2019
Why not just scale?
Suppose you have a reference object:
Try this relationship:
Respuestas (1)
Philippe Lebel
el 18 de Nov. de 2019
Editada: Philippe Lebel
el 18 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre MATLAB Support Package for USB Webcams en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!