Clear Filters
Clear Filters

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

2 views (last 30 days)
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)

Image Analyst
Image Analyst on 19 Nov 2013
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.

Community Treasure Hunt

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

Start Hunting!