Jump to content

Depth Estimation: Difference between revisions

no edit summary
No edit summary
Line 1: Line 1:
Depth Estimation<br>
Depth Estimation<br>
Goal: Generate an image of depths from one or two images.
Goal: Generate an depth values from one or two images.




==Background==
==Background==
[[File:Depth definitions.png|500px|thumb | Here reported distance is the z-distance.]]
===Z-depth vs Euclidean depth===
For standard (rectilinear) images, people typically use z-depth.
This is the depth to the camera projected along the z-axis.
The depth to the camera is called Euclidean depth.
You can convert between z-depth and euclidean depth by multiplying or dividing by the cosine of the angle from each pixel to the center of the image. 
This angle is calculated by first computing the 2D distance from the pixel to the center of the image and converting this distance to an angle using the known field of view.
===Depth vs. Disparity===
===Depth vs. Disparity===
For stereo methods, people usually estimate pixel disparity rather than depth.   
For stereo methods, people usually estimate pixel disparity rather than depth.