CA-BSN: Mural Image Denoising Based on Cross–Attention Blind Spot Network
Abstract
:1. Introduction
- (1)
- In order to further extract the feature information utilizing the image denoising process, we design the densely dilated residual block (DDR) and non-local attention mechanism (NLA) to extract the local and global feature information, respectively. The denoising performance is enhanced while preserving the texture and structure information of the image as much as possible.
- (2)
- We construct local and global cross attention block (LGCA) and feature fusion cross attention block (FFCA) for fusing the local and global information of feature extraction and the feature before and after feature processing, respectively. In this way, the interaction between feature information is enhanced.
- (3)
- Our method is evaluated on two mainstream image denoising datasets and a homemade mural images dataset, and our method achieves commendable performance.
2. Related Works
2.1. Supervised Image Denoising
2.2. Unsupervised Image Denoising
3. Methods
3.1. Feature Extraction Network Construction
3.1.1. Densely Dilated Residual Block Construction
3.1.2. Non-Local Attention Mechanism Introduction
3.2. Cross Attention Network Construction
3.2.1. Local and Global Cross Attention Block Construction
3.2.2. Feature Fusion Cross Attention Block Construction
3.3. Feed Forward Network Introduction
4. Experiments
4.1. Dataset and Evaluation Metric
4.2. Implementation Details
4.3. Comparison Experiment
4.4. Ablation Study
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Hou, X.B. Changes and development of ancient Chinese murals from the use of materials and production process. Relics Museolgy 2011, 4, 59–64. [Google Scholar]
- Hu, Y. Research on protection technology of cultural relics in mural painting category. Orient. Collect. 2022, 5, 104–106. [Google Scholar]
- Wang, L.M. Ancient mural digital restoration method. Orient. Collect. 2021, 23, 67–68. [Google Scholar]
- Liang, G.X. Research on intelligent digital restoration of mural images. Identif. Apprec. Cult. Relics 2022, 16, 42–45. [Google Scholar]
- Du, C.; Shi, X.Y. Research on digital protection and scientific and technological innovation of Ming and Qing murals in Weixian County, Hebei Province. Pop. Lit. Art 2023, 12, 34–36. [Google Scholar]
- Cao, J.F.; Zhang, Q.; Cui, H.Y.; Zhang, Z.B. Application of improved GrabCut algorithm in ancient mural segmentation. J. Hunan Univ. Sci. Technol. (Nat. Sci. Ed.) 2020, 2, 83–89. [Google Scholar]
- Cheng, S.; Wang, Y.Z.; Huang, H.B.; Liu, D.H.; Fan, H.Q.; Liu, S.C. Nbnet: Noise basis learning for image denoising with subspace projection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Online, 19–25 June 2021; pp. 4896–4906. [Google Scholar]
- Liu, D.; Wen, B.H.; Jiao, J.B.; Liu, X.M.; Wang, Z.Y.; Huang, T.S. Connecting image denoising and high-level vision tasks via deep learning. IEEE Trans. Image Process. 2020, 29, 3695–3706. [Google Scholar] [CrossRef] [PubMed]
- Wu, J.N.; Shi, M.H.; Xing, Z. Image denoising method based on PDTDFB transform domain anisotropic bivariate model and nonlocal mean filtering. Infrared Technol. 2018, 8, 798–804. [Google Scholar]
- Wang, H.Y.; You, M.J.; Li, Q.; Zhou, G.M.; Yu, Z.R.; He, L.M.; Wang, S.G. An improved algorithm for median filter image denoising. China Sci. Technol. Inf. 2019, 1, 84–85. [Google Scholar]
- Zhang, S.Y.; Liu, Z.Y.; Shi, R.C. Wavelet transform image denoising based on improved thresholding and hierarchical thresholding. Mod. Comput. 2020, 32, 52–58+62. [Google Scholar]
- Liu, L.P.; Qiao, L.L.; Jiang, L.C. Overview of image denoising methods. J. Front. Comput. Sci. Technol. 2021, 8, 1418–1431. [Google Scholar]
- Lee, W.; Son, S.; Lee, K.M. AP-BSN: Self-supervised denoising for real-world images via asymmetric pd and blind-spot network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–24 June 2022; pp. 17725–17734. [Google Scholar]
- Abdelhamed, A.; Lin, S.; Brown, M.S. A high-quality denoising dataset for smartphone cameras. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 1692–1700. [Google Scholar]
- Plotz, T.; Roth, S. Benchmarking denoising algorithms with real photographs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 1586–1595. [Google Scholar]
- Zhang, K.; Zuo, W.; Chen, Y.; Meng, D.; Zhang, L. Beyond a gaussian denoiser: Residual learning of deep cnn for image denoising. IEEE Trans. Image Process. 2017, 7, 3142–3155. [Google Scholar] [CrossRef] [PubMed]
- Zhang, K.; Zuo, W.; Zhang, L. FFDNet: Toward a fast and flexible solution for CNN-based image denoising. IEEE Trans. Image Process. 2018, 9, 4608–4622. [Google Scholar] [CrossRef] [PubMed]
- Guo, S.; Yan, Z.; Zhang, K.; Zuo, W.; Zhang, L. Toward convolutional blind denoising of real photographs. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019; pp. 1712–1722. [Google Scholar]
- Anwar, S.; Barnes, N. Real image denoising with feature attention. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 3155–3164. [Google Scholar]
- Ren, C.; He, X.; Wang, C.; Zhao, Z. Adaptive consistency prior based deep network for image denoising. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Online, 19–25 June 2021; pp. 8596–8606. [Google Scholar]
- Lehtinen, J.; Munkberg, J.; Hasselgren, J.; Laine, S.; Karras, T.; Aittala, M.; Aila, T. Noise2Noise: Learning Image Restoration without Clean Data. In Proceedings of the International Conference on Machine Learning, PMLR, Stockholmsmässan, Stockholm, Sweden, 10–15 July 2018; pp. 2965–2974. [Google Scholar]
- Krull, A.; Buchholz, T.O.; Jug, F. Noise2void-learning denoising from single noisy images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019; pp. 2129–2137. [Google Scholar]
- Laine, S.; Karras, T.; Lehtinen, J.; Aila, T. High-quality self-supervised deep image denoising. arXiv 2019, arXiv:1901.10277. [Google Scholar]
- Wu, X.; Liu, M.; Cao, Y.; Zuo, W. Unpaired learning of deep image denoising. In Proceedings of the European Conference on Computer Vision, Glasgow, UK, 23–28 August 2020; pp. 352–368. [Google Scholar]
- Hong, Z.; Fan, X.; Jiang, T.; Feng, J. End-to-end unpaired image denoising with conditional adversarial networks. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; pp. 4140–4149. [Google Scholar]
- Wang, Z.; Liu, J.; Li, G.; Han, H. Blind2unblind: Self-supervised image denoising with visible blind spots. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–24 June 2022; pp. 2027–2036. [Google Scholar]
- Neshatavar, R.; Yavartanoo, M.; Son, S.; Lee, K.M. CVF-SID: Cyclic multi-variate function for self-supervised image denoising by disentangling noise from image. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–24 June 2022; pp. 17583–17591. [Google Scholar]
- Zhou, Y.Q.; Jiao, J.B.; Huang, H.B.; Wang, Y.; Wang, J.; Shi, H.H.; Huang, T. When awgn-based denoiser meets real noises. In Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA, 7–12 February 2020; pp. 13074–13081. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30, 6000–6010. [Google Scholar]
- Guo, M.H.; Xu, T.X.; Liu, J.J.; Liu, Z.N.; Jiang, P.T.; Mu, T.J.; Zhang, S.H.; Martin, R.R.; Cheng, M.M.; Hu, S.M. Attention mechanisms in computer vision: A survey. Comput. Vis. Media 2022, 3, 331–368. [Google Scholar] [CrossRef]
- Pang, T.Y.; Zheng, H.; Quan, Y.H.; Ji, H. Recorrupted-to-recorrupted: Unsupervised deep learning for image denoising. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Online, 19–25 June 2021; pp. 2043–2052. [Google Scholar]
- Dabov, K.; Foi, A.; Katkovnik, V.; Egiazarian, K. Image denoising by sparse 3-D transform-domain collaborative filtering. IEEE Trans. Image Process. 2007, 8, 2080–2095. [Google Scholar] [CrossRef] [PubMed]
- Chen, J.W.; Chen, J.W.; Chao, H.Y.; Yang, M. Image blind denoising with generative adversarial network based noise modeling. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 3155–3164. [Google Scholar]
Method | SIDD | DND | |||
---|---|---|---|---|---|
PSNR (dB) | SSIM | PSNR (dB) | SSIM | ||
Non-learning based | BM3D [32] | 26.65 | 0.685 | 34.51 | 0.851 |
Supervised | DnCNN [16] | 23.66 | 0.583 | 32.43 | 0.790 |
CBDNet [18] | 33.28 | 0.868 | 38.05 | 0.942 | |
RIDNet [19] | 38.70 | 0.950 | 39.25 | 0.952 | |
Unsupervised | GCBD [33] | - | - | 35.58 | 0.922 |
Noise2Void R [22] | 27.98 | 0.668 | - | - | |
UIDNet [25] | 32.48 | 0.897 | - | - | |
CVF-SID [27] | 34.71 | 0.917 | 36.50 | 0.924 | |
AP-BSN † [13] | 35.64 | 0.929 | - | - | |
AP-BSN [13] | 35.97 | 0.925 | 38.09 | 0.937 | |
Ours | 36.92 | 0.932 | 38.24 | 0.939 |
Method | PSNR (dB) | SSIM |
---|---|---|
Noise2Void [22] | 27.98 | 0.667 |
CVF-SID [19] | 35.27 | 0.904 |
AP-BSN [15] | 36.90 | 0.915 |
Ours | 37.02 | 0.927 |
Masked Conv1 | Masked Conv2 | Masked Conv3 | PSNR (dB) | SSIM | Params (M) | |||
---|---|---|---|---|---|---|---|---|
Kernel | Masked | Kernel | Masked | Kernel | Masked | |||
5 × 5 | 1 × 1 | 5 × 5 | 1 × 1 | 5 × 5 | 1 × 1 | 35.50 | 0.926 | 0.94 |
3 × 3 | 1 × 1 | 3 × 3 | 1 × 1 | 5 × 5 | 1 × 1 | 35.67 | 0.930 | 0.88 |
3 × 3 | 1 × 1 | 5 × 5 | 1 × 1 | 3 × 3 | 1 × 1 | 35.77 | 0.929 | 0.86 |
3 × 3 | 1 × 1 | 5 × 5 | 1 × 1 | 5 × 5 | 2 × 2 | 36.62 | 0.920 | 0.82 |
3 × 3 | 1 × 1 | 5 × 5 | 1 × 1 | 5 × 5 | 1 × 1 | 36.62 | 0.932 | 0.91 |
Cases | FEN | CAN | PSNR (dB) | SSIM | FLOPS (G) | Params (M) | ||
---|---|---|---|---|---|---|---|---|
(a) | NLA | NLA | LGCA | FFCA | 36.80 | 0.912 | 32.8 | 0.94 |
(b) | DDR | DDR | LGCA | FFCA | 36.52 | 0.898 | 28.3 | 0.82 |
(c) | DDR | NLA | concat | FFCA | 36.71 | 0.920 | 27.2 | 0.88 |
(d) | DDR | NLA | LGCA | concat | 36.77 | 0.892 | 27.7 | 0.90 |
(e) | DDR | NLA | LGCA | FFCA | 36.92 | 0.932 | 30.4 | 0.91 |
Method | PSNR (dB) | SSIM | Params (M) |
---|---|---|---|
1 × Conv | 35.50 | 0.926 | 0.95 |
2 × Conv | 35.67 | 0.932 | 0.94 |
4 × Conv | 36.92 | 0.932 | 0.96 |
6 × Conv | 36.87 | 0.929 | 0.97 |
Cases | LGCA | FFCA | FFN | PSNR (dB) | SSIM |
---|---|---|---|---|---|
(a) | √ | × | × | 32.25 | 0.733 |
(b) | √ | × | √ | 32.51 | 0.787 |
(c) | √ | √ | × | 36.42 | 0.894 |
(d) | √ | √ | √ | 36.92 | 0.932 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Cai, X.; Liu, Y.; Liu, S.; Zhang, H.; Sun, H. CA-BSN: Mural Image Denoising Based on Cross–Attention Blind Spot Network. Appl. Sci. 2024, 14, 741. https://doi.org/10.3390/app14020741
Cai X, Liu Y, Liu S, Zhang H, Sun H. CA-BSN: Mural Image Denoising Based on Cross–Attention Blind Spot Network. Applied Sciences. 2024; 14(2):741. https://doi.org/10.3390/app14020741
Chicago/Turabian StyleCai, Xingquan, Yao Liu, Shike Liu, Haoyu Zhang, and Haiyan Sun. 2024. "CA-BSN: Mural Image Denoising Based on Cross–Attention Blind Spot Network" Applied Sciences 14, no. 2: 741. https://doi.org/10.3390/app14020741
APA StyleCai, X., Liu, Y., Liu, S., Zhang, H., & Sun, H. (2024). CA-BSN: Mural Image Denoising Based on Cross–Attention Blind Spot Network. Applied Sciences, 14(2), 741. https://doi.org/10.3390/app14020741