1. A method for linking edges in stereo images into chains which correspond to physical contours in a scene, comprising: detecting edges in the stereo images; matching edges between the stereo images, such that each edge has associated stereo matches; linking the edges into chains, such that each chained edge has a single associated stereo match, and neighboring edges in a chain have matches with a substantial similar stereo disparity.