<p>No, it's not. The way many of the 3D sensors work is by projecting an infrared pattern onto the surface and measuring how it distorts. But with a 2D image, the pattern will simply be projected onto the flat 2D image, not onto the objects in the scene. So the 3D sensor will only sense a flat card.</p>

<p>Other methods work by combining 2 images taken with different cameras at different angles. This will have the same result as above. The 2D photo will be interpreted as a 2D surface by the combination of the 2 cameras.</p>

CC BY-SA 3.0
2018-03-04T06:40:23.607Z
2018-03-04T06:40:23.607Z
user1118321
<p>My question is oriented towards the generation of depth map using any of the state of the art <a href="https://en.wikipedia.org/wiki/Structured-light_3D_scanner" rel="nofollow noreferrer">depth sensor</a>.</p>

<p>However, each of these method required the presence of an 3-D object in front of the sensor. Is it possible the generate a depth map even if a 2-D image is presented to the sensor?</p>

<image-processing><camera><depth-map>
Creating depth map from a 2-D image?
Virange
# Creating depth map from a 2-D image?

(Asked by: username_0 on 2018-03-03)

My question is oriented towards the generation of depth map using any of the state of the art [depth sensor](https://en.wikipedia.org/wiki/Structured-light_3D_scanner).

However, each of these method required the presence of an 3-D object in front of the sensor. Is it possible the generate a depth map even if a 2-D image is presented to the sensor?

**Tags:** image-processing, camera, depth-map


---

## 1 answers

### Answer by username_1 on 2018-03-04. Score: 3

No, it's not. The way many of the 3D sensors work is by projecting an infrared pattern onto the surface and measuring how it distorts. But with a 2D image, the pattern will simply be projected onto the flat 2D image, not onto the objects in the scene. So the 3D sensor will only sense a flat card.

Other methods work by combining 2 images taken with different cameras at different angles. This will have the same result as above. The 2D photo will be interpreted as a 2D surface by the combination of the 2 cameras.


---

