A discrete spatial representation for lateral motion stereo