Stereoscopic depth mapping
Provided is a method and apparatus for linear depth mapping. Linear depth mapping includes using algorithms to correct the distorted depth mapping of stereoscopic capture and display systems.
1 . A method for positioning cameras for capturing a stereoscopic image of a scene comprising a left image and a right image, the method comprising:
determining a minimum separation between the left image and the right image for a nearest object in the stereoscopic image;
determining a maximum separation between the left image and the right image for a most distant object in the stereoscopic image; and
calculating a camera separation based on the minimum separation and the maximum separation.
2 . The method of claim 1 , wherein calculating the camera separation comprises using the equation:
A
=
2
·
tan
θ
·
Z
max
·
Z
min
·
(
Ds
max
-
Ds
min
)
W
·
(
Z
max
-
Z
min
)
.
3 . The method of claim 1 , further comprising:
calculating a disparity based on the minimum separation and the maximum separation.
4 . The method of claim 3 , wherein calculating the disparity comprises using the equation:
D
=
(
Z
max
·
Ds
max
-
Z
min
·
Ds
min
)
(
Z
max
-
Z
min
)
.
5 . The method of claim 1 , wherein the determining the minimum separation and the determining the maximum separation comprises choosing the minimum separation and the maximum separation to satisfy scaled-depth.
6 . The method of claim 5 , wherein scaled-depth comprises a condition in which a perceived depth of the scene is directly proportional to an actual depth of the scene.
7 . A method for positioning cameras for capturing a stereoscopic image of a scene comprising a left image and a right image, the method comprising:
determining whether a scaled-depth mapping condition is met; and
setting a perceived depth of the scene directly proportional to an actual depth of the scene.
8 . The method of claim 7 , wherein the determining whether the scaled-depth mapping condition is met comprises:
Ds
min
≥
Z
max
·
Ds
max
-
(
Z
max
-
Z
min
)
·
E
Z
min
.
9 . The method of claim 8 , further comprising determining camera separation
10 . A method for positioning cameras for capturing a stereoscopic image of a scene comprising a left image and a right image, the method comprising:
determining the camera separation as a function of depth of an object in the scene.
11 . The method of claim 10 , wherein the determining the camera separation as a function of depth comprises determining the camera separation using a linear mapping equation.
12 . The method of claim 11 , wherein the linear mapping equation comprises:
A
(
Z
)
=
2
·
tan
θ
W
·
(
D
-
E
)
·
Z
+
2
·
tan
θ
·
s
·
E
·
Z
W
·
(
α
·
Z
+
β
)
.
13 . A method for positioning cameras for capturing a stereoscopic image of a scene comprising a left image and a right image, the method comprising:
determining whether a scaled-depth mapping condition is met;
when the scaled-depth mapping condition is met, setting a perceived depth of the scene directly proportional to an actual depth of the scene; and
when the scaled-depth mapping condition is not met, setting the camera separation as a function of depth of an object in the scene.