How can I calculate the actual distance in real world of an object from its picture that picked up by a camera?
Mostrar comentarios más antiguos
i want to calculate or know the distance in the real world between an object and the camera during taking a photo for this object ....what the function or code that can i use to calculate this distance from its picture that picked up by the camera?
Respuestas (2)
Image Analyst
el 11 de Mzo. de 2016
0 votos
If you have the Computer Vision System Toolbox, see this link on camera calibration:
2 comentarios
marwan hasan
el 11 de Mzo. de 2016
Image Analyst
el 12 de Mzo. de 2016
Yeah, so? Do you have a kinect camera or something?
Dima Lisin
el 14 de Mzo. de 2016
0 votos
With one camera, you may be able to compute the distance if you have a calibrated camera, and you know the actual size of the object. If you do not know the size of the object, then you would need a calibrated stereo camera, or an RGB-D camera.
Categorías
Más información sobre MATLAB Support Package for USB Webcams en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!