How can I calculate the actual distance in real world of an object from its picture that picked up by a camera?

2 Ansichten (letzte 30 Tage)
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?

Antworten (2)

Image Analyst
Image Analyst am 11 Mär. 2016
If you have the Computer Vision System Toolbox, see this link on camera calibration:
  2 Kommentare
marwan hasan
marwan hasan am 11 Mär. 2016
i want to do my processes on the image itself that i picked it up through the camera and calculate the distance by the aid of the image .

Melden Sie sich an, um zu kommentieren.


Dima Lisin
Dima Lisin am 14 Mär. 2016
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.

Kategorien

Mehr zu MATLAB Support Package for USB Webcams finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by