Stereo as energy minimization
What defines a good stereo correspondence?
1. Match quality
Want each pixel to find a good match in the other image
2. Smoothness
If two pixels are adjacent, they should (usually) move about
the same amount