Robust color correction in stereo vision