Skip to main content
QUICK REVIEW

[Paper Review] Robust Glare Detection: Review, Analysis, and Dataset Release

Mahdi Abolfazli Esfahani, Han Wang|arXiv (Cornell University)|Oct 12, 2021
Impact of Light on Environment and HealthEnvironmental Science14 references7 citations
TL;DR

This paper proposes a robust glare detection method using a modified U-Net architecture trained on multiple image representations—RGB, HSV, chromaticity (C), and gradient (G)—to improve segmentation accuracy. The key contribution is the release of the first publicly available glare detection dataset and the finding that combining RGB and gradient representations yields the best F1 score (0.4927), outperforming individual or full combinations of representations due to complementary feature information.

ABSTRACT

Sun Glare widely exists in the images captured by unmanned ground and aerial vehicles performing in outdoor environments. The existence of such artifacts in images will result in wrong feature extraction and failure of autonomous systems. Humans will try to adapt their view once they observe a glare (especially when driving), and this behavior is an essential requirement for the next generation of autonomous vehicles. The source of glare is not limited to the sun, and glare can be seen in the images captured during the nighttime and in indoor environments, which is due to the presence of different light sources; reflective surfaces also influence the generation of such artifacts. The glare's visual characteristics are different on images captured by various cameras and depend on several factors such as the camera's shutter speed and exposure level. Hence, it is challenging to introduce a general - robust and accurate - algorithm for glare detection that can perform well in various captured images. This research aims to introduce the first dataset for glare detection, which includes images captured by different cameras. Besides, the effect of multiple image representations and their combination in glare detection is examined using the proposed deep network architecture. The released dataset is available at https://github.com/maesfahani/glaredetection

Motivation & Objective

  • To address the challenge of glare in images captured by autonomous vehicles, which degrades visual feature extraction and compromises navigation and localization.
  • To develop a robust, generalizable glare detection method applicable across diverse cameras and lighting conditions.
  • To evaluate the effectiveness of different image representations—RGB, HSV, chromaticity, and gradient—for glare segmentation.
  • To release a new, diverse dataset of glare-affected images captured under real-world conditions for benchmarking.
  • To identify the optimal combination of image representations that maximizes detection performance in terms of precision, recall, and F1 score.

Proposed method

  • A modified U-Net architecture is used for pixel-wise segmentation of glare regions in images.
  • Multiple image representations are used as input: RGB, HSV, chromaticity (C), and gradient (G), each highlighting different visual characteristics of glare.
  • The gradient representation (G) is derived from image intensity differences, emphasizing edges and transitions common in glare artifacts.
  • Chromaticity (C) is computed from RGB to emphasize color saturation and brightness variations associated with glare.
  • The network is trained using 8-fold cross-validation on a newly collected dataset of 200 annotated glare images.
  • Performance is evaluated using standard metrics: precision, recall, F1 score, and accuracy, with standard deviations reported.

Experimental results

Research questions

  • RQ1Which image representation—RGB, HSV, chromaticity, or gradient—yields the highest performance in glare detection?
  • RQ2How does combining multiple image representations affect the robustness and accuracy of glare segmentation?
  • RQ3What is the optimal combination of image representations that maximizes F1 score and minimizes false positives?
  • RQ4Does the inclusion of all representations lead to improved performance, or does it introduce noise?
  • RQ5Can a deep learning model trained on diverse camera data generalize across different glare types and environmental conditions?

Key findings

  • The combination of RGB and gradient (I_RGB & I_G) representations achieves the highest F1 score of 0.4927, indicating the best balance between precision and recall.
  • The highest recall (0.7616) is achieved with the I_RGB & I_G combination, showing strong detection of actual glare regions.
  • The highest precision (0.5083) and accuracy (0.8950) are achieved with the I_G & I_HSV combination, indicating better background suppression.
  • Using all four representations together (I_RGB & I_HSV & I_G & I_C) results in a drop in F1 score to 0.4662, indicating that redundant or conflicting information degrades performance.
  • The I_G representation alone achieves the highest F1 score (0.4635), suggesting it captures key glare features such as sharp intensity transitions.
  • The I_HSV representation yields the highest recall (0.6636), indicating strong sensitivity to glare regions, especially in high-contrast areas.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.