Patent ID: 11887382
Assignee: SUBARU CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 2:
3. A lane-line recognizing apparatus for a vehicle, the lane-line recognizing apparatus comprising circuitry configured to
detect edge points on a basis of brightness variation in a horizontal direction within a detection region for a lane line, the detection region being set in an image obtained by imaging of a traveling environment of the vehicle; and
calculate an approximate line of a point group including the edge points, and recognize the approximate line of the point group as an approximate line representing the lane line, wherein
the lane-line recognizing apparatus has a first mode and a second mode,
the first mode being a mode in which the lane-line recognizing apparatus is configured to mainly search for standard edge candidate points, each of the standard edge candidate points being one of the edge points having brightness that is relatively high with respect to brightness of a road surface on which the vehicle is traveling,
the second mode being a mode in which the lane-line recognizing apparatus is configured to mainly search for opposite edge candidate points, each of the opposite edge candidate points being one of the edge points having brightness that is relatively low with respect to the brightness of the road surface, and

the lane-line recognizing apparatus is configured to selectively perform switching between the first mode and the second mode in accordance with a number of the detected opposite edge candidate points, wherein
in a case where the first mode is selected, the lane-line recognizing apparatus is configured to:
set a first segment in a predetermined range on the image, the first segment being a segment in which the lane-line recognizing apparatus is configured to alternately search for the standard edge candidate points in first search lines in odd-numbered rows and the opposite edge candidate points in second search lines in even-numbered rows;
count the number of the detected opposite edge candidate points; and
perform switching from the first mode to the second mode in a case where a counter value of the number of the opposite edge candidate points is a first threshold or greater, and

in a case where the second mode is selected, the lane-line recognizing apparatus is configured to:
set a second segment in a range greater than the first segment in the image, the second segment being a segment in which the lane-line recognizing apparatus is configured to alternately search for the standard edge candidate points in the first search lines in the odd-numbered rows and the opposite edge candidate points in the second search lines in the even-numbered rows;
count the number of the detected opposite edge candidate points; and
perform switching from the second mode to the first mode in a case where the counter value of the number of the opposite edge candidate points is a second threshold or less, wherein,

in a case where a standard edge point is a start point of any of the opposite edge candidate points and an opposite edge point of the any of the opposite edge candidate points is an end point and where a distance from the start point to the end point is a predetermined value or greater, the lane-line recognizing apparatus refrains from counting the any of the opposite edge candidate point.