Daytime and nighttime image recognizing method and apparatus
First Claim
1. A daytime and nighttime image recognizing method, comprising:
- inputting an image captured by a camera apparatus;
predefining an air region and a terrestrial region for the input image captured by the camera apparatus;
calculating a lightness value histogram for the air region of the input image;
determining a lighting condition of a photo environment of the camera apparatus based on the lightness value histogram for the air region of the input image, wherein determining the lighting condition further includes;
judging whether a ratio of a number of pixels with lightness values larger than a first lightness value (T1) in the air region of the input image to the total number of pixels in the air region of the input image is greater than a first ratio; and
determining the photo environment of the camera apparatus as a daytime lighting condition if the judgment result is affirmative; and
wherein calculating the lightness value histogram and determining the lighting condition require no vehicle lane lines in the input image.
1 Assignment
0 Petitions
Accused Products
Abstract
In a daytime and nighttime image recognizing method and apparatus, the method comprises predefining an air region and a terrestrial region for each image captured by a camera apparatus; inputting an image captured by the camera apparatus; calculating a lightness value histogram for the air region of the input image; and determining a lighting condition of a photo environment of the camera apparatus based on the lightness value histogram for the air region of the input image. The daytime and nighttime image recognizing method and apparatus are able to correctly recognize the lighting condition of the environment even if the air region in an image is obstructed by a background or there are no lane lines in an image. Moreover, when an erroneous recognition occurs for an individual image, the interference caused by the erroneous recognition can be precluded efficiently.
9 Citations
20 Claims
-
1. A daytime and nighttime image recognizing method, comprising:
-
inputting an image captured by a camera apparatus; predefining an air region and a terrestrial region for the input image captured by the camera apparatus; calculating a lightness value histogram for the air region of the input image; determining a lighting condition of a photo environment of the camera apparatus based on the lightness value histogram for the air region of the input image, wherein determining the lighting condition further includes; judging whether a ratio of a number of pixels with lightness values larger than a first lightness value (T1) in the air region of the input image to the total number of pixels in the air region of the input image is greater than a first ratio; and determining the photo environment of the camera apparatus as a daytime lighting condition if the judgment result is affirmative; and wherein calculating the lightness value histogram and determining the lighting condition require no vehicle lane lines in the input image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A daytime and nighttime image recognizing method, comprising:
-
inputting an image captured by a camera apparatus; predefining an air region and a terrestrial region for the input image captured by the camera apparatus; calculating a lightness value histogram for the air region of the input image; determining a lighting condition of a photo environment of the camera apparatus based on the lightness value histogram for the air region of the input image; wherein determining the lighting condition further comprises; judging whether a ratio of a number of pixels with lightness values larger than a first lightness value (T1) in the air region of the input image to the total number of pixels in the air region of the input image is greater than a first ratio; and determining the photo environment of the camera apparatus as a daytime lighting condition if the judgment result is affirmative. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification