Is there any method to get the depth of the object from an image

I an image where in i have a window, can i get the dimensions or the depth of the window from this image.

Answers (1)

Depends on what kind of image it is. If it's a depth image, yes. You can get these kinds of images from profilometers or stereo cameras. See the first two submissions here: http://www.mathworks.com/matlabcentral/fileexchange/index?term=authorid%3A29180
If it's just a flat 2D image, then no. That image of the moon could be a real telescopic image or it could be a photo of a poster on your wall. In the first case the depth of the crater could be 100 meters, but in the case of a poster, it might be 30 micrometers. You can't tell just from the image alone.

2 Comments

I have attached a image. Actually it is a side window and what i require is the actual dimensions of that window and to know the angle subtended by it at the center of the image.

Sign in to comment.

Asked:

on 19 Nov 2013

Commented:

on 20 Nov 2013

Community Treasure Hunt

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

Start Hunting!