Definition
The disparity is the horizontal displacement between a pair of corresponding pixels in the left and right image of a rectified stereo pair: .
Depth from disparity
: focal length (px), : baseline, : disparity (px).
Intuition
Close objects shift a lot, far objects hardly move: . A small disparity error causes a depth error of roughly , so a short baseline and far points give large errors.
Our brain uses the disparity between the two eyes to perceive depth. In the simple stereo system of Lecture 2.1 the disparity is , the same formula.
Appears in
- Lecture 4, Disparity and Depth
- Lecture 4, Limitations: foreshortening
- Lecture 4, Worked Examples
- Lecture 2.1, Simple stereo system