Method and apparatus for glare detection
First Claim
Patent Images
1. A glare detection method for detection of at least one glare region within an image, said method comprising:
- aggregating image pixels of the image having a high luminance intensity into bright image areas within the image, the high luminance intensity being an intensity above a predetermined threshold;
calculating for image pixels around each bright image area gradient directions expected in case of a glare and actual gradient directions;
increasing a glare diameter of a glare region around the respective bright image area as long as the calculated actual gradients match the calculated expected gradients;
computing similarity metrics between the calculated actual gradient directions and the calculated expected gradient directions; and
computing an average similarity value of the computed similarity values for image pixels being located in a neighboring image area around the respective bright image area and being equidistant to the respective bright image area;
wherein the average similarity value is calculated with a stepwise increased distance between the equidistant image pixels of the neighboring image area and the respective bright image area until the respective calculated average similarity value becomes smaller than a predetermined threshold value, and wherein the equidistant image pixels of the last incrementing step define the outer boundary of the glare region within the image.
1 Assignment
0 Petitions
Accused Products
Abstract
A glare detection apparatus for detection of at least one glare region within an image includes a processing unit configured to aggregate image pixels of the image having a high luminance intensity to bright image areas within the image and to calculate for image pixels around each bright image area gradients expected in case of a glare and actual gradients and configured to increase a glare diameter of a glare region around the respective bright image area as long as the calculated actual gradients match the calculated expected gradients.
15 Citations
9 Claims
-
1. A glare detection method for detection of at least one glare region within an image, said method comprising:
-
aggregating image pixels of the image having a high luminance intensity into bright image areas within the image, the high luminance intensity being an intensity above a predetermined threshold; calculating for image pixels around each bright image area gradient directions expected in case of a glare and actual gradient directions; increasing a glare diameter of a glare region around the respective bright image area as long as the calculated actual gradients match the calculated expected gradients; computing similarity metrics between the calculated actual gradient directions and the calculated expected gradient directions; and computing an average similarity value of the computed similarity values for image pixels being located in a neighboring image area around the respective bright image area and being equidistant to the respective bright image area; wherein the average similarity value is calculated with a stepwise increased distance between the equidistant image pixels of the neighboring image area and the respective bright image area until the respective calculated average similarity value becomes smaller than a predetermined threshold value, and wherein the equidistant image pixels of the last incrementing step define the outer boundary of the glare region within the image. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A glare detection apparatus for detection of at least one glare region within an image, said apparatus comprising:
-
a processing unit configured to aggregate image pixels of the image having a high luminance intensity to bright image areas within the image, the high luminance intensity being an intensity above a predetermined threshold, and to calculate for image pixels around each bright image area gradient directions expected in case of a glare and actual gradient directions and configured to increase a glare diameter of a glare region around the respective bright image area as long as the calculated actual gradient directions match the calculated expected gradient directions; wherein said processing unit is further configured to compute similarity metrics between the calculated actual gradient directions and the calculated expected gradient directions and is configured to calculate an average similarity value of the computed similarity values for image pixels being located in a neighboring image area around the respective bright image area and being equidistant to the respective bright image area; wherein said processing unit is configured to calculate an average similarity value with a stepwise increased distance between the equidistant image pixels of the neighboring image area and the respective bright image area until the respective calculated average similarity value becomes smaller than a predetermined threshold value; and wherein the equidistant image pixels of the last incrementing step define the outer boundary of the glare region within the image. - View Dependent Claims (9)
-
Specification