{"title":"基于fpga的弱光增强自校准注意力算法及其实现","authors":"Jin Han, Haoyu Jiang","doi":"10.1002/cpe.70255","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Image enhancement methods in extreme low-light scenarios face noise amplification, insufficient brightness restoration, and high model complexity. Moreover, existing methods often fail to balance enhancement performance and efficiency on resource-constrained edge devices. To address these issues, we propose an ASCLE (Attention-based Self-Calibrating Low-light Enhancement) algorithm with FPGA-based hardware-software co-optimization. Building upon a self-calibrating illumination framework, ASCLE employs an attention mechanism and dual-path denoising to suppress noise in dark regions while sharpening edge details. An illumination correction module, with a brightness-aware mask and color fidelity loss constraint, is introduced to address insufficient brightness and color distortion. To reduce computational and storage demands, we employ optimization strategies such as BN layer fusion and approximate activation functions to improve the hardware adaptability of the core modules. For FPGA deployment, tiled computation and ping-pong double buffering optimize data flow, while parallel pipelining boosts hardware resource use and computational efficiency. Experimental results demonstrate that the ASCLE algorithm achieves PSNR and SSIM scores of 19.88 dB and 0.784 on the LOL dataset, outperforming baseline methods. On FPGA, the inference time for a single frame is 10.64 ms, surpassing that of an Intel i7-12800HX CPU (1.414 s) and an ARM Cortex-A9 processor (9.088 s), while system power consumption is reduced to 2.07 W.</p>\n </div>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"37 23-24","pages":""},"PeriodicalIF":1.5000,"publicationDate":"2025-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"FPGA-Based Self-Calibrating Attention Algorithm for Low-Light Enhancement and Implementation\",\"authors\":\"Jin Han, Haoyu Jiang\",\"doi\":\"10.1002/cpe.70255\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n <p>Image enhancement methods in extreme low-light scenarios face noise amplification, insufficient brightness restoration, and high model complexity. Moreover, existing methods often fail to balance enhancement performance and efficiency on resource-constrained edge devices. To address these issues, we propose an ASCLE (Attention-based Self-Calibrating Low-light Enhancement) algorithm with FPGA-based hardware-software co-optimization. Building upon a self-calibrating illumination framework, ASCLE employs an attention mechanism and dual-path denoising to suppress noise in dark regions while sharpening edge details. An illumination correction module, with a brightness-aware mask and color fidelity loss constraint, is introduced to address insufficient brightness and color distortion. To reduce computational and storage demands, we employ optimization strategies such as BN layer fusion and approximate activation functions to improve the hardware adaptability of the core modules. For FPGA deployment, tiled computation and ping-pong double buffering optimize data flow, while parallel pipelining boosts hardware resource use and computational efficiency. Experimental results demonstrate that the ASCLE algorithm achieves PSNR and SSIM scores of 19.88 dB and 0.784 on the LOL dataset, outperforming baseline methods. On FPGA, the inference time for a single frame is 10.64 ms, surpassing that of an Intel i7-12800HX CPU (1.414 s) and an ARM Cortex-A9 processor (9.088 s), while system power consumption is reduced to 2.07 W.</p>\\n </div>\",\"PeriodicalId\":55214,\"journal\":{\"name\":\"Concurrency and Computation-Practice & Experience\",\"volume\":\"37 23-24\",\"pages\":\"\"},\"PeriodicalIF\":1.5000,\"publicationDate\":\"2025-09-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Concurrency and Computation-Practice & Experience\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70255\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70255","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
摘要
极端弱光场景下的图像增强方法面临噪声放大、亮度恢复不足、模型复杂度高等问题。此外,在资源受限的边缘设备上,现有的方法往往无法平衡增强性能和效率。为了解决这些问题,我们提出了一种基于fpga的软硬件协同优化的ASCLE(基于注意力的自校准低光增强)算法。在自校准照明框架的基础上,ASCLE采用注意机制和双路径去噪来抑制黑暗区域的噪声,同时锐化边缘细节。为了解决亮度不足和色彩失真的问题,提出了一种具有亮度感知掩模和色彩保真度损失约束的照度校正模块。为了减少计算和存储需求,我们采用了BN层融合和近似激活函数等优化策略来提高核心模块的硬件适应性。对于FPGA部署,平铺计算和乒乓双缓冲优化数据流,并行流水线提高硬件资源利用率和计算效率。实验结果表明,ASCLE算法在LOL数据集上的PSNR和SSIM得分分别为19.88 dB和0.784,优于基线方法。在FPGA上,单帧推理时间为10.64 ms,超过了Intel i7-12800HX CPU (1.414 s)和ARM Cortex-A9处理器(9.088 s),而系统功耗降至2.07 W。
FPGA-Based Self-Calibrating Attention Algorithm for Low-Light Enhancement and Implementation
Image enhancement methods in extreme low-light scenarios face noise amplification, insufficient brightness restoration, and high model complexity. Moreover, existing methods often fail to balance enhancement performance and efficiency on resource-constrained edge devices. To address these issues, we propose an ASCLE (Attention-based Self-Calibrating Low-light Enhancement) algorithm with FPGA-based hardware-software co-optimization. Building upon a self-calibrating illumination framework, ASCLE employs an attention mechanism and dual-path denoising to suppress noise in dark regions while sharpening edge details. An illumination correction module, with a brightness-aware mask and color fidelity loss constraint, is introduced to address insufficient brightness and color distortion. To reduce computational and storage demands, we employ optimization strategies such as BN layer fusion and approximate activation functions to improve the hardware adaptability of the core modules. For FPGA deployment, tiled computation and ping-pong double buffering optimize data flow, while parallel pipelining boosts hardware resource use and computational efficiency. Experimental results demonstrate that the ASCLE algorithm achieves PSNR and SSIM scores of 19.88 dB and 0.784 on the LOL dataset, outperforming baseline methods. On FPGA, the inference time for a single frame is 10.64 ms, surpassing that of an Intel i7-12800HX CPU (1.414 s) and an ARM Cortex-A9 processor (9.088 s), while system power consumption is reduced to 2.07 W.
期刊介绍:
Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of:
Parallel and distributed computing;
High-performance computing;
Computational and data science;
Artificial intelligence and machine learning;
Big data applications, algorithms, and systems;
Network science;
Ontologies and semantics;
Security and privacy;
Cloud/edge/fog computing;
Green computing; and
Quantum computing.