How can I find an object distance in an image??

조회 수: 1 (최근 30일)
Tomas
Tomas 2012년 12월 8일
Hi,To find the an object distance (working distance) in an image, I can do this
object distance = focal length*((1/magnification) + 1)
thanks
  댓글 수: 1
Jan
Jan 2012년 12월 8일
Currently I do not see the relation between your question and Matlab. Because this is a Matlab forum, your problem might be off-topic.

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

답변 (1개)

Jürgen
Jürgen 2012년 12월 8일
편집: Jürgen 2012년 12월 8일
hi, first Your question is not clear? second, on a single image you can not extract object distance,=> you need stereovision, or other techniques like depth from focus or special cameras( Time Of Flight) I suppose you refer to the thin lens equation but this is only for an object in focus
regards, J
  댓글 수: 3
Jürgen
Jürgen 2012년 12월 8일
Hi, to be honnest I do not have the time to read the link but for me: image distance is the distance between the plane where the image is formed and the lens center, and object distance is the distance between the object in focus and the lens center , camera distance is not so clear define for me , I do not use it actually, if you want to do measurements on images start by looking at the pinhole camera model , there you have the image plane at focal length of the lens center
Jan
Jan 2012년 12월 8일
편집: Jan 2012년 12월 8일
@Thomas: Please read the text of the posted link again. The term "camera distance" is defined and in the previous chapter you find "image distance" also.

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

카테고리

Help CenterFile Exchange에서 Camera Calibration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by