Matching and synthesizing stereo images through OpenCV