Minimizing optical attribute errors for a lane departure warning system using an ultra-wide-angle camera