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

조회 수: 3 (최근 30일)
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?

답변 (2개)

Image Analyst
Image Analyst 2016년 3월 11일
If you have the Computer Vision System Toolbox, see this link on camera calibration:
  댓글 수: 2
marwan hasan
marwan hasan 2016년 3월 11일
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 .

댓글을 달려면 로그인하십시오.


Dima Lisin
Dima Lisin 2016년 3월 14일
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.

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by