EAAI Journal 2026 Journal Article
Flare detection and detail compensation for nighttime flare removal
- Yuzhen Niu
- Bolin Zhang
- Yuezhou Li
- Jingyuan Zheng
Images captured at nighttime are often impaired by flares of varying sizes and shapes, which degrade visual perception and hinder image quality. Distinguishing these flares from light sources for effective removal is challenging due to the complex pattern. In addition, the image regions affected by the flare show insufficient texture details, resulting in poor visual perception at nighttime. In this paper, we propose the flare detection and detail compensation for nighttime flare removal. Our method consists of two stages: the flare detection stage and the flare removal with detail compensation stage. Specifically, in the flare detection stage, the flare perception feature is extracted through an encoder–decoder structure composed of Multi-receptive Field Collaborative Perception Blocks (MCPBs), and then a flare mask that can distinguish flares, light sources, and other regions is generated. In the flare removal with detail compensation stage, the flare perception feature obtained in the previous stage and the edge detail information of the input image are first fused. Based on the fused informative feature, another encoder–decoder structure composed of residual blocks and MCPBs is used to achieve flare removal, light source preservation, and detail compensation at the same time. Experiments on the Flare7K dataset confirm that our method outperforms state-of-the-art models in both quantitative and qualitative evaluations, delivering superior image quality and more visually appealing results. To summarize, experimental results suggest the potential for our approach to improve nighttime imaging by removing flare degradation in various applications. Future research on the nighttime flare removal requires further improvement of its generalization capabilities, particularly in scenarios with extreme illumination conditions or severe flare interference.