journal article·2025-03-03Open access

Attention-Based Color Difference Perception for Photographic Images

Hua Qiang, Xuande Zhang, Jinliang Hou

Applied Sciences· Volume 15· Issue 5

Abstract

Traditional color difference (CD) measurement methods cannot adapt to large sizes and complex content of photographic images. Existing deep learning-based CD measurement algorithms only focus on local features and cannot accurately simulate the human perception of CD. The objective of this paper is to propose a high-precision image CD measurement model that simulates the perceptual process of the human visual system and apply it to the CD perception of smartphone photography images. Based on this, a CD measurement network called CD-Attention is proposed, which integrates CNN and Vision Transformer features. First, a CNN and the ViT are used separately to extract local features and global semantic features from the reference image and the distorted image. Secondly, deformable convolution is used for attention guidance, utilizing the global semantic features of the ViT to direct CNN to focus on salient regions of the image, enhancing the transformation modeling capability of CNN features. Thirdly, through the feature fusion module, the CNN features that have been guided by attention are fused with the global semantic features of the ViT. Finally, a dual-branch network for high-frequency and low-frequency predictions is used for score estimation, and the final score is obtained through a weighted sum. Validated on the large-scale SPCD dataset, the CD-Attention model has achieved state-of-the-art performance, outperforming 30 existing CD measurement methods and demonstrating useful generalization ability. It has been demonstrated that CD-Attention can achieve CD measurement for large-sized and content-complex smartphone photography images. At the same time, the effectiveness of CD-Attention’s feature extraction and attention guidance are verified by ablation experiments.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Color Science and Applications · Visual Attention and Saliency Detection · Image Enhancement Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Electronic Information and Artificial Intelligence, Shaanxi University of Science and Technology, Xi’an 710021, China

School of Electrical Engineering, Shaanxi Polytechnic Institute, Xianyang 712000, China

School of Electronic Information and Artificial Intelligence, Xi’an Technological University, Xi’an 710021, China

Funding

Xianyang Bureau of Science and Technology · Shaanxi Provincial Department of Education · Shaanxi University Youth Innovation Team

References (46)

Show source-provided references
1. ElAzzaby, F., Sabour, K., Elakkad, N., El-Shafai, W., Torki, A., and Rajkumar, S. (2023). Color image encryption using a Zigzag Transformation and sine-cosine maps. Sci. Afr., 22.10.1016/j.sciaf.2023.e01955 ↗
2. Smart technologies used as smart tools in the management of cardiovascular disease and their future perspective10.1016/j.cpcardiol.2023.101922 ↗
3. Mobile computational photography: A tour10.1146/annurev-vision-093019-115521 ↗
4. The CIE 1976 color-difference formulae10.1002/j.1520-6378.1977.tb00104.x ↗
5. British Standards Institution (1998). Method for Calculation of Small Colour Differences, American National Standards Institute.
6. The development of the CIE2000 colour-difference formula: CIEDE200010.1002/col.1049 ↗
7. A spatial extension of CIELAB for digital color-image reproduction10.1889/1.1985127 ↗
8. Perceptual color difference metric for complex images based on Mahalanobis distance10.1117/1.1350559 ↗
9. A new universal colour image fidelity metric10.1016/j.displa.2004.01.006 ↗
10. Evaluation of image similarity by histogram intersection10.1002/col.20122 ↗
11. New algorithm for calculating perceived colour difference of images10.1179/174313106X98737 ↗
12. Ouni, S., Zagrouba, E., Chambah, M., and Herbin, M. (2008, January 15–17). A new spatial colour metric for perceptual comparison. Proceedings of the International Conference on Computing and E-Systems, Hammamet, Tunisia.
13. Simone, G., Oleari, C., and Farup, I. (2009). An alternative color difference formula for computing image difference. Gjøvik Color Imaging Symposium, Høgskolen i Gjøviks Rapportserie; Gjøvik University College.
14. Lee, D., and Plataniotis, K.N. (2014, January 4–9). Towards a novel perceptual color difference metric using circular processing of hue components. Proceedings of the IEEE International Conference on Acoustics, Speech, & Signal Processing, Florence, Italy.10.1109/ICASSP.2014.6853579 ↗
15. Evaluation of color differences in natural scene color images10.1016/j.image.2018.11.009 ↗
16. Image-difference prediction: From grayscale to color10.1109/TIP.2012.2216279 ↗
17. Alakuijala, J., Obryk, R., Stoliarchuk, O., Szabadka, Z., Vandevenne, L., and Wassenberg, J. (2017). Guetzli: Perceptually guided JPEG encoder. arXiv.
18. Image quality assessment: From error visibility to structural similarity10.1109/TIP.2003.819861 ↗
19. VSI: A visual saliency-induced index for perceptual image quality assessment10.1109/TIP.2014.2346028 ↗
20. FLIP: A difference evaluator for alternating images
21. Prashnani, E., Cai, H., Mostofi, Y., and Sen, P. (2018, January 18–22). PieAPP: Perceptual image-error assessment through pairwise preference. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00194 ↗
22. Zhang, R., Isola, P., Efros, A.A., Shechtman, E., and Wang, O. (2018, January 18–22). The unreasonable effectiveness of deep features as a perceptual metric. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00068 ↗
23. Image quality assessment: Unifying structure and texture similarity
24. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Attention Is All You Need. arXiv.
25. Sparse self-attention transformer for image inpainting10.1016/j.patcog.2023.109897 ↗
26. Song, B., Wu, Y., and Xu, Y. (2024, January 29–31). ViTCN: Vision Transformer Contrastive Network For Reasoning. Proceedings of the 2024 5th International Seminar on Artificial Intelligence, Networking and Information Technology, Nanjing, China.10.1109/AINIT61980.2024.10581446 ↗
27. CD-iNet: Deep Invertible Network for Perceptual Image Color Difference Measurement10.1007/s11263-024-02087-7 ↗
28. Measuring perceptual color differences of smartphone photography10.1109/TPAMI.2023.3262424 ↗
29. Chen, H., Wang, Z., Yang, Y., Sun, Q., and Ma, K. (2023, January 18–22). Learning a deep color difference metric for photographic images. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, Canada.10.1109/CVPR52729.2023.02130 ↗
30. A survey on vision transformer10.1109/TPAMI.2022.3152247 ↗
31. Dosovitskiy, A. (2020). An image is worth 16x16 words: Transformers for image recognition at scale. arXiv.
32. Transformers in vision: A survey10.1145/3505244 ↗
33. Dai, J., Qi, H., Xiong, Y., Li, Y., Zhang, G., Hu, H., and Wei, Y. (2017, January 22–29). Deformable convolutional networks. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.89 ↗
34. A survey of the vision transformers and their CNN-transformer based variants10.1007/s10462-023-10595-0 ↗
35. Attention-based deformable convolutional network for Chinese various dynasties character recognition10.1016/j.eswa.2023.121881 ↗
36. CIE94-A new colour-difference formula10.1111/j.1478-4408.1995.tb01688.x ↗
37. Luo, M.R., and Li, C. (2013). CIECAM02 and its recent developments. Advanced Color Image Processing and Analysis, Springer.10.1007/978-1-4419-6190-7_2 ↗
38. A revision of CIECAM02 and its CAT and UCS10.2352/ISSN.2169-2629.2017.32.208 ↗
39. A new spatial filtering based image difference metric based on hue angle weighting10.2352/J.ImagingSci.Technol.12.56.5.050501 ↗
40. Chou, C.-H., and Liu, K.-C. (2007, January 13–16). A fidelity metric for assessing visual quality of color images. Proceedings of the International Conference on Computer Communications and Networks, Honolulu, HI, USA.10.1109/ICCCN.2007.4317975 ↗
41. Simonyan, K., and Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. arXiv.
42. He, K., Zhang, X., Ren, S., and Sun, J. (July, January 26). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.
43. Ronneberger, O., Fischer, P., and Brox, T. (2015). U-Net: Convolutional networks for biomedical image segmentation. Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015, Springer International Publishing.10.1007/978-3-319-24574-4_28 ↗
44. Chen, Q., Xu, J., and Koltun, V. (2017, January 22–29). Fast image processing with fully-convolutional networks. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.273 ↗
45. Deep high-resolution representation learning for visual recognition10.1109/TPAMI.2020.2983686 ↗
46. Szegedy, C., Ioffe, S., Vanhoucke, V., and Alexander, A.A. (2017, January 4–9). Inception-v4, inception-resnet and the impact of residual connections on learning. Proceedings of the AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v31i1.11231 ↗