Mask-Q attention network for flare removal

IF 5.5 2区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Zihao Li , Junming Feng , Siyao Hao , Yuze Wang , Weibang Bai
{"title":"Mask-Q attention network for flare removal","authors":"Zihao Li ,&nbsp;Junming Feng ,&nbsp;Siyao Hao ,&nbsp;Yuze Wang ,&nbsp;Weibang Bai","doi":"10.1016/j.neucom.2025.130100","DOIUrl":null,"url":null,"abstract":"<div><div>Lens flare is a common optical phenomenon that is typically undesirable because it significantly degrades image quality, thus affecting certain visual tasks. The existing main methods using CNN-based models and transformer-based models aimed at removing lens flare, however, perform poorly in removing large-scale flares because they lack the inductive bias for spatial equivariance and the ability to capture both global and local features simultaneously. This deficiency prevents networks from quickly pinpointing the locations of flares and from fully learning the contextual content necessary for repairing contaminated areas, and they also struggle with restoring uncontaminated regions. In this paper, we introduce the Mask-Q Attention Network, a multi-scale framework designed to address the flare removal problem. Our approach focuses on extracting both global and local features, leveraging ResBlock for local feature extraction and Mask-Q Attention for capturing global features. In the Mask-Q Attention, we enhance the localization capability of the attention mechanism by integrating the flare mask with the query vector (Q) in the self-attention process. The flare mask is obtained by binarizing the initial image. This integration with the flare mask effectively resolves the issue of the lack of spatial equivariance in Transformer blocks, providing the network with prior knowledge of the flare locations. Extensive experiments demonstrate MQANet’s superiority, achieving minimum gains of 0.5% PSNR and 0.6% SSIM on synthetic datasets, alongside a 0.1% SSIM improvement on real-world data. It also performs well in terms of the LPIPS metric.</div></div>","PeriodicalId":19268,"journal":{"name":"Neurocomputing","volume":"637 ","pages":"Article 130100"},"PeriodicalIF":5.5000,"publicationDate":"2025-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neurocomputing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925231225007726","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Lens flare is a common optical phenomenon that is typically undesirable because it significantly degrades image quality, thus affecting certain visual tasks. The existing main methods using CNN-based models and transformer-based models aimed at removing lens flare, however, perform poorly in removing large-scale flares because they lack the inductive bias for spatial equivariance and the ability to capture both global and local features simultaneously. This deficiency prevents networks from quickly pinpointing the locations of flares and from fully learning the contextual content necessary for repairing contaminated areas, and they also struggle with restoring uncontaminated regions. In this paper, we introduce the Mask-Q Attention Network, a multi-scale framework designed to address the flare removal problem. Our approach focuses on extracting both global and local features, leveraging ResBlock for local feature extraction and Mask-Q Attention for capturing global features. In the Mask-Q Attention, we enhance the localization capability of the attention mechanism by integrating the flare mask with the query vector (Q) in the self-attention process. The flare mask is obtained by binarizing the initial image. This integration with the flare mask effectively resolves the issue of the lack of spatial equivariance in Transformer blocks, providing the network with prior knowledge of the flare locations. Extensive experiments demonstrate MQANet’s superiority, achieving minimum gains of 0.5% PSNR and 0.6% SSIM on synthetic datasets, alongside a 0.1% SSIM improvement on real-world data. It also performs well in terms of the LPIPS metric.

Abstract Image

求助全文
约1分钟内获得全文 求助全文
来源期刊
Neurocomputing
Neurocomputing 工程技术-计算机:人工智能
CiteScore
13.10
自引率
10.00%
发文量
1382
审稿时长
70 days
期刊介绍: Neurocomputing publishes articles describing recent fundamental contributions in the field of neurocomputing. Neurocomputing theory, practice and applications are the essential topics being covered.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信