摘要 |
Disclosed is a road modeling method for a lane drifting system. The method includes the steps of extracting an edge of lane markers of a lane in which a vehicle is being driven by a camera collecting images of the lane markers and outputting corresponding image signals, removing noise from the lane marker image signals, and dividing the image signals into multiple resolutions; performing road modeling by inputting a minimum number of possible marking points of lane edges, and extracting two straight lines most closely defining the lane by using the least squares method on the points, then determining if the road modeling is completed; calculating a width of the lane if the road modeling is completed by calculating a camera parameter according to a positioning of the camera, and by determining a distance between pixels of image coordinates; and determining if the vehicle is veering from the lane using information of the width of the lane, and outputting a warning if it is determined that the vehicle is veering from the lane. <IMAGE> |