Optimal disparity estimation in stereo-images of natural scenes