#? rahul swaminathan (T-Labs) & professor patrick baudisch hci2 hasso-plattner institute determining...
-
Upload
collin-moody -
Category
Documents
-
view
217 -
download
0
Transcript of #? rahul swaminathan (T-Labs) & professor patrick baudisch hci2 hasso-plattner institute determining...
#? rahul swaminathan (T-Labs) & professor patrick baudisch
hci2
hasso-plattner institute
determining depth
two subproblems
Matching
Finding corresponding elements in the two images
Reconstruction
Establishing 3-D coordinates from the 2-D image correspondences found during matching
scene
the camera sees a red pixellet’s assume it correctly classifies it as“glass of red wine”
screen
but, the red wine could be anywhere along this line
two subproblems
Matching
Finding corresponding elements in the two images
Reconstruction: done
Establishing 3-D coordinates from the 2-D image correspondences found during matching
two subproblems
Matching: harder
Finding corresponding elements in the two images
Reconstruction: done
Establishing 3-D coordinates from the 2-D image correspondences found during matching
problems
Camera-related problems
- Image noise, differing gain, contrast, etc..
Viewpoint-related problems:
- Perspective distortions
- Occlusions
- Specular reflections
More matching heuristics
Always valid:
(Epipolar line)
Uniqueness
Minimum/maximum disparity
Sometimes valid:
Ordering
Local continuity (smoothness)
Area-based matching
Finding pixel-to-pixel correspondences
For each pixel in the left image, search for the most similar pixel in the right image
Area-based matching
Finding pixel-to-pixel correspondences
For each pixel in the left image, search for the most similar pixel in the right image
Using neighbourhood windows
Area-based matching
Similarity measures for two windows
SAD (sum of absolute differences)
SSD (sum of squared differences)
CC (cross-correlation)
…
Correspondence via Correlation
Rectified images
Left Right
scanline
SSD error
disparity
(Same as max-correlation / max-cosine for normalized image patch)
Image NormalizationEven when the cameras are identical models, there can be
differences in gain and sensitivity.The cameras do not see exactly the same surfaces, so
their overall light levels can differ.For these reasons and more, it is a good idea to normalize
the pixels in each window:
pixel Normalized ),(
),(ˆ
magnitude Window )],([
pixel Average ),(
),(
),(),(
2
),(
),(),(),(
1
yxW
yxWvuyxW
yxWvuyxW
m
mm
m
m
II
IyxIyxI
vuII
vuII