Is there any method to get the depth of the object from an image
2 views (last 30 days)
Show older comments
I an image where in i have a window, can i get the dimensions or the depth of the window from this image.
0 Comments
Answers (1)
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.
2 Comments
Image Analyst
on 19 Nov 2013
You can get depth from shading if you have multiple images. See http://iris.usc.edu/Vision-Notes/bibliography/contentsshapefrom.html#3-D%20Shape%20from%20X%20--%20Shading,%20Textures,%20Lasers,%20Structured%20Light,%20Focus,%20Line%20Drawings
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!