Deep Learning Accelerator Design for Lens Flare Attenuation using High-Level Synthesis

Abstract Lens flare artifacts, caused by stray light, significantly degrade image quality, posing challenges in sectors like automotive and surveillance. Recent advances in artificial intelligence, especially deep learning, offer promising solutions. This study introduces FlareNet, a compact, lightweight U-Net-based model for lens flare reduction. Using an iterative training process, including evaluating transfer learning, FlareNet was developed using a synthetic dataset of flare-containing images. Despite having fewer than 150,000 parameters and only 0.5% of the weights of state-of-the-art models, FlareNet significantly enhances image quality, effectively reducing flare artifacts in both synthetic and real-world scenarios. Furthermore, our work shows the Structural Similarity Index (SSIM) to be a more suitable loss metric compared to the Mean Absolute Error (MAE) or Mean Squared Error (MSE) for resource constrained networks. FlareNet flare reduction has the potential to improve the performance of computer vision algorithms, such as edge detectors and object detectors (YOLOv3), when using flare-attenuated images. The model is implemented in C++ using Vitis HLS to validate its feasibility as a hardware accelerator, evaluating various optimization directives and image sizes for resource utilization and latency, providing a detailed exploration of each layer’s contribution to overall performance while analyzing potential optimization improvements. The tests reveal a resource utilization of less than 20% on a Zeus Zynq UltraScale FPGA. Although further optimization is needed for real-time deployment, this work provides a detailed guide to designing, training, and implementing the model, with the relevant code available as open source.

Authors

Institutions

Publication Details

Journal
Journal of Signal Processing Systems
Published
2025-07-01
DOI
https://doi.org/10.1007/s11265-025-01958-7
Citations
1
Primary Topic
Adaptive optics and wavefront sensing
Type
article
Field-Weighted Citation Impact
1.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deep Learning Accelerator Design for Lens Flare Attenuation using High-Level Synthesis

Henrik Sundbeck, Per Gunnar Kjeldsberg, David Fosca Gamarra
1 citations
Journal of Signal Processing Systems
Adaptive optics and wavefront sensing
1.25
article

Deep Learning Accelerator Design for Lens Flare Attenuation using High-Level Synthesis

Henrik Sundbeck, Per Gunnar Kjeldsberg, David Fosca Gamarra
article en
1 citations

Abstract

Abstract Lens flare artifacts, caused by stray light, significantly degrade image quality, posing challenges in sectors like automotive and surveillance. Recent advances in artificial intelligence, especially deep learning, offer promising solutions. This study introduces FlareNet, a compact, lightweight U-Net-based model for lens flare reduction. Using an iterative training process, including evaluating transfer learning, FlareNet was developed using a synthetic dataset of flare-containing images. Despite having fewer than 150,000 parameters and only 0.5% of the weights of state-of-the-art models, FlareNet significantly enhances image quality, effectively reducing flare artifacts in both synthetic and real-world scenarios. Furthermore, our work shows the Structural Similarity Index (SSIM) to be a more suitable loss metric compared to the Mean Absolute Error (MAE) or Mean Squared Error (MSE) for resource constrained networks. FlareNet flare reduction has the potential to improve the performance of computer vision algorithms, such as edge detectors and object detectors (YOLOv3), when using flare-attenuated images. The model is implemented in C++ using Vitis HLS to validate its feasibility as a hardware accelerator, evaluating various optimization directives and image sizes for resource utilization and latency, providing a detailed exploration of each layer’s contribution to overall performance while analyzing potential optimization improvements. The tests reveal a resource utilization of less than 20% on a Zeus Zynq UltraScale FPGA. Although further optimization is needed for real-time deployment, this work provides a detailed guide to designing, training, and implementing the model, with the relevant code available as open source.

Journal of Signal Processing SystemsVol. 97(2-4)
Norwegian University of Science and Technology (NO)
Openalex Percentile: Top 20%
Adaptive optics and wavefront sensing
1.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.