Method and system for lane departure warning
First Claim
1. A method for lane departure warning, applicable to an electronic device, the method comprising:
- segmenting an original image into a plurality of regional images;
analyzing a plurality of characteristics of each of the regional images, and accordingly removing at least one non-lane line region from the regional images, so as to obtain a plurality of lane line candidates;
determining a plurality of lane lines from the lane line candidates according to a location of each of the lane line candidates in the original image;
distinguishing the lane lines into at least one left lane line and at least one right lane line; and
analyzing a variation of an angle between each of the at least one left lane line and the at least one right lane line and a horizontal line, so as to judge whether the electronic device departs from a lane and send a lane departure warning, wherein the step of analyzing the variation of the angle between each of the at least one left lane line and the at least one right lane line and the horizontal line, so as to judge whether the electronic device departs from the lane comprises;
comparing the angle of each of the at least one left lane line and the angle of each of the at least one right lane line with a first angle threshold and a second angle threshold respectively;
when the angle of the left lane line is greater than the first angle threshold and the angle of the right lane line is smaller than the second angle threshold, determining that departure to the left occurs; and
when the angle of the right lane line is greater than the first angle threshold and the angle of the left lane line is smaller than the second angle threshold, determining that departure to the right occurs.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system for lane departure warning are provided. The method is as follows. An original image is segmented into a plurality of regional images. Next, characteristics of each regional image are analyzed, and accordingly non-lane line regions are removed from the regional images, so as to obtain a plurality of lane line candidates. Then, a plurality of lane lines are determined from the lane line candidates according to a location of each lane line candidate in the original image. Finally, the lane lines are distinguished into left lane lines and right lane lines, and a variation of an angle between each left lane line and a horizontal line and a variation of an angle between each right lane line and the horizontal line are analyzed, so as to judge whether a vehicle departs from a lane and send a lane departure warning.
12 Citations
18 Claims
-
1. A method for lane departure warning, applicable to an electronic device, the method comprising:
-
segmenting an original image into a plurality of regional images; analyzing a plurality of characteristics of each of the regional images, and accordingly removing at least one non-lane line region from the regional images, so as to obtain a plurality of lane line candidates; determining a plurality of lane lines from the lane line candidates according to a location of each of the lane line candidates in the original image; distinguishing the lane lines into at least one left lane line and at least one right lane line; and analyzing a variation of an angle between each of the at least one left lane line and the at least one right lane line and a horizontal line, so as to judge whether the electronic device departs from a lane and send a lane departure warning, wherein the step of analyzing the variation of the angle between each of the at least one left lane line and the at least one right lane line and the horizontal line, so as to judge whether the electronic device departs from the lane comprises; comparing the angle of each of the at least one left lane line and the angle of each of the at least one right lane line with a first angle threshold and a second angle threshold respectively; when the angle of the left lane line is greater than the first angle threshold and the angle of the right lane line is smaller than the second angle threshold, determining that departure to the left occurs; and when the angle of the right lane line is greater than the first angle threshold and the angle of the left lane line is smaller than the second angle threshold, determining that departure to the right occurs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for lane departure warning, comprising:
-
an image segmentation module, for segmenting an original image into a plurality of regional images; a lane line region detection module, for analyzing a plurality of characteristics of each of the regional images, and accordingly removing at least one non-lane line region from the regional images, so as to obtain a plurality of lane line candidates; a lane line determination module, for determining a plurality of lane lines from the lane line candidates according to a location of each of the lane line candidates in the original image; a lane departure judgment module, for distinguishing the lane lines into at least one left lane line and at least one right lane line, and analyzing a variation of an angle between each of the at least one left lane line and the at least one right lane line and a horizontal line, so as to judge whether departure from a lane occurs, wherein the lane departure judgment module comprises comparing the angle of each of the at least one left lane line and the angle of each of the at least one right lane line with a first angle threshold and a second angle threshold respectively, wherein when the angle of the left lane line is greater than the first angle threshold and the angle of the right lane line is smaller than the second angle threshold, it is determined that departure to the left occurs; and
when the angle of the right lane line is greater than the first angle threshold and the angle of the left lane line is smaller than the second angle threshold, it is determined that departure to the right occurs; anda warning module, for sending a lane departure warning when the lane departure judgment module judges that departure from the lane occurs. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification