Integration of Segmentation and Stereo Matching