A stereo vision system for real-time automotive obstacle detection