1. A method comprising: computing a minimum cost path in a stereo disparity model between a scan line of a first image and a corresponding scan line of a second image of a stereo image pair, the stereo disparity model distinguishing between non-fronto-parallel matched pixels in each scan line and occluded pixels in each scan line.