A STEREO ALGORITHM FOR FLAT OBJECTS