Skip to main content
Log in

A novel image hashing with low-rank sparse matrix decomposition and feature distance

  • Original article
  • Published:
The Visual Computer Aims and scope Submit manuscript

Abstract

Image hashing is an efficient technique of image processing for various applications, such as retrieval, copy detection and authentication. In this paper, we design a novel image hashing algorithm using LRSMD (low-rank sparse matrix decomposition). Firstly, an input image is preprocessed by interpolation, Gaussian blur and color space conversion. Next, the preprocessed image is fed into the LRSMD for learning a low-rank matrix. Then, statistical features of non-overlapping blocks in the low-rank matrix are extracted. Finally, the hash code is obtained by calculating feature distances. Various experiments are done on public datasets to demonstrate the robustness and discrimination of the proposed algorithm. The results show that the proposed algorithm outperforms several advanced algorithms in balancing the performances of robustness and discrimination.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

Data availability

The image databases used to support the findings of this study can be downloaded from the public websites whose hyperlinks are provided in the references.

References

  1. Vaidya, S.P.: Fingerprint-based robust medical image watermarking in hybrid transform. Vis. Comput. 39, 2245–2260 (2023)

    Article  MATH  Google Scholar 

  2. Liu, J., Tan, J., He, L.: A fast blind image deblurring method using salience map and gradient cepstrum. Vis. Comput. 39, 3091–3107 (2023)

    Article  MATH  Google Scholar 

  3. Zhao, Y., Jie, B.: Robust image hashing based on quaternion polar complex exponential transform and image energy. J. Electron. Imaging 32(1), 013009 (2023)

    MATH  Google Scholar 

  4. Liang, X., Tang, Z., Xie, X., Wu, J., Zhang, X.Q.: Robust and fast image hashing with two-dimensional pca. Multimed. Syst. 27(3), 389–401 (2021)

    Article  MATH  Google Scholar 

  5. Liu, S., Zhao, Y.: Robust image hashing combining 3d space contour and vector angle features. Comput. J. 66(11), 2844–2859 (2023)

    Article  MATH  Google Scholar 

  6. Yu, M., Tang, Z., Li, Z., Liang, X., Zhang, X.Q.: Robust image hashing with saliency map and sparse model. Comput. J. 66(5), 1241–1255 (2023)

    Article  MathSciNet  MATH  Google Scholar 

  7. McParlane, P.J., McMinn, A.J., Jose, J.M.: “picture the scene...”; visually summarising social media events. In: Proceedings of the 23rd ACM International Conference on Information and Knowledge Management, pp. 1459–1468 (2014)

  8. Wu, D., Lin, Z., Li, B., Ye, M., Wang, W.: Deep supervised hashing for multi-label and large-scale image retrieval. In: Proceedings of the 2017 ACM International Conference on Multimedia Retrieval, pp. 150–158 (2017)

  9. Yan, C.P., Pun, C.M., Yuan, X.C.: Multi-scale image hashing using adaptive local feature extraction for robust tampering detection. Signal Process. 121, 1–16 (2016)

    Article  MATH  Google Scholar 

  10. Huang, Z., Liu, S.: Perceptual hashing with visual content understanding for reduced-reference screen content image quality assessment. IEEE Trans. Circuits Syst. Video Technol. 31(7), 2808–2823 (2021)

    Article  MATH  Google Scholar 

  11. Huang, Z., Liu, S.: Perceptual image hashing with texture and invariant vector distance for copy detection. IEEE Trans. Multimed. 23, 1516–1529 (2021)

    Article  MATH  Google Scholar 

  12. Zhao, Y., Wang, S., Zhang, X.P., Yao, H.: Robust hashing for image authentication using Zernike moments and local features. IEEE Trans. Inf. Forensics Secur. 8(1), 55–63 (2013)

    Article  MATH  Google Scholar 

  13. Qin, C., Liu, E., Feng, G., Zhang, X.P.: Perceptual image hashing for content authentication based on convolutional neural network with multiple constraints. IEEE Trans. Circuits Syst. Video Technol. 31(11), 4523–4537 (2021)

    Article  MATH  Google Scholar 

  14. Tang, Z., Yu, M., Yao, H., Zhang, H., Yu, C., Zhang, X.Q.: Robust image hashing with singular values of quaternion SVD. Comput. J. 64(11), 1656–1671 (2021)

    Article  MathSciNet  MATH  Google Scholar 

  15. Li, X., Qin, C., Wang, Z., Qian, Z., Zhang, X.P.: Unified performance evaluation method for perceptual image hashing. IEEE Trans. Inf. Forensics Secur. 17, 1404–1419 (2022)

    Article  MATH  Google Scholar 

  16. Tang, Z., Zhang, X.Q., Li, X., Zhang, S.: Robust image hashing with ring partition and invariant vector distance. IEEE Trans. Inf. Forensics Secur. 11(1), 200–214 (2016)

    Article  MATH  Google Scholar 

  17. Schneider, M., Chang, S.-F.: A robust content based digital signature for image authentication. In: Proceedings of 3rd IEEE International Conference on Image Processing, vol. 3, pp. 227–230 (1996)

  18. Swaminathan, A., Mao, Y., Wu, M.: Robust and secure image hashing. IEEE Trans. Inf. Forensics Secur. 1(2), 215–230 (2006)

    Article  MATH  Google Scholar 

  19. Monga, V., Evans, B.L.: Perceptual image hashing via feature points: performance evaluation and tradeoffs. IEEE Trans. Image Process. 15(11), 3452–3465 (2006)

    Article  MATH  Google Scholar 

  20. Khelifi, F., Jiang, J.: Perceptual image hashing based on virtual watermark detection. IEEE Trans. Image Process. 19(4), 981–994 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  21. Lv, X., Wang, Z.J.: Perceptual image hashing based on shape contexts and local feature points. IEEE Trans. Inf. Forensics Secur. 7(3), 1081–1093 (2012)

    Article  MATH  Google Scholar 

  22. Tang, Z., Zhang, X.Q., Zhang, S.: Robust perceptual image hashing based on ring partition and NMF. IEEE Trans. Knowl. Data Eng. 26(3), 711–724 (2014)

    Article  MATH  Google Scholar 

  23. Tang, Z., Dai, Y., Zhang, X.Q., Huang, L., Yang, F.: Robust image hashing via colour vector angles and discrete wavelet transform. IET Image Proc. 8(3), 142–149 (2014)

    Article  MATH  Google Scholar 

  24. Wang, X., Pang, K., Zhou, X., Zhou, Y., Li, L., Xue, J.: A visual model-based perceptual image hash for content authentication. IEEE Trans. Inf. Forensics Secur. 10(7), 1336–1349 (2015)

    Article  MATH  Google Scholar 

  25. Ouyang, J., Wen, X., Liu, J., Chen, J.: Robust hashing based on quaternion Zernike moments for image authentication. ACM Trans. Multimed. Comput. Commun. Appl. 12(4s), 1–13 (2016)

    Article  MATH  Google Scholar 

  26. Davarzani, R., Mozaffari, S., Yaghmaie, K.: Perceptual image hashing using center-symmetric local binary patterns. Multimed. Tools Appl. 75(8), 4639–4667 (2016)

    Article  Google Scholar 

  27. Huang, X., Liu, X., Wang, G., Su, M.: A robust image hashing with enhanced randomness by using random walk on zigzag blocking. In: Proceedings of 2016 IEEE Trustcom/BigDataSE/ISPA, pp. 14–18 (2016)

  28. Pun, C.M., Yan, C.P., Yuan, X.C.: Image alignment-based multi-region matching for object-level tampering detection. IEEE Trans. Inf. Forensics Secur. 12(2), 377–391 (2016)

    Article  MATH  Google Scholar 

  29. Yan, C.P., Pun, C.M.: Multi-scale difference map fusion for tamper localization using binary ranking hashing. IEEE Trans. Inf. Forensics Secur. 12(9), 2144–2158 (2017)

    Article  MATH  Google Scholar 

  30. Qin, C., Sun, M., Chang, C.C.: Perceptual hashing for color images based on hybrid extraction of structural features. Signal Process. 142, 194–205 (2018)

    Article  MATH  Google Scholar 

  31. Tang, Z., Yu, Y., Zhang, H., Yu, M., Yu, C., Zhang, X.Q.: Robust image hashing via visual attention model and ring partition. Math. Biosci. Eng. 16(5), 6103–6120 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  32. Liu, S., Huang, Z.: Efficient image hashing with geometric invariant vector distance for copy detection. ACM Trans. Multimed. Comput. Commun. Appl. 15(4), 1–22 (2019)

    MATH  Google Scholar 

  33. Tang, Z., Chen, L., Zhang, X.Q., Zhang, S.: Robust image hashing with tensor decomposition. IEEE Trans. Knowl. Data Eng. 31(3), 549–560 (2019)

    Article  MATH  Google Scholar 

  34. Liang, X., Tang, Z., Li, S., Yu, C., Zhang, X.Q.: A novel hashing scheme via image feature map and 2d pca. IET Image Proc. 16(12), 3225–3236 (2022)

    Article  MATH  Google Scholar 

  35. Karsh, R.K.: Lwt-dct based image hashing for image authentication via blind geometric correction. Multimed Tools Appl 82, 22083–22101 (2022)

    Article  MATH  Google Scholar 

  36. Fawcett, T.: An introduction to roc analysis. Pattern Recogn. Lett. 27(8), 861–874 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  37. Tang, Z., Yu, Z., Li, Z., Yu, C., Zhang, X.Q.: Robust image hashing with low-rank representation and ring partition. Wireless Commun. Mobile Comput. 2020, 1–2 (2020)

    Article  MATH  Google Scholar 

  38. Xue, Z., Dong, J., Zhao, Y., Liu, C., Chellali, R.: Low-rank and sparse matrix decomposition via the truncated nuclear norm and a sparse regularizer. Vis. Comput. 35(11), 1549–1566 (2019)

    Article  MATH  Google Scholar 

  39. Hu, Y., Zhang, D., Ye, J., Li, X., He, X.: Fast and accurate matrix completion via truncated nuclear norm regularization. IEEE Trans. Pattern Anal. Mach. Intell. 35(9), 2117–2130 (2012)

    Article  MATH  Google Scholar 

  40. Franzen, R.: Kodak lossless true color image suite. http://r0k.us/graphics/kodak (Accessed on Nov. 15, 2022)

  41. Everingham, M., Van Gool, L., Williams, C.K., Winn, J., Zisserman, A.: The pascal visual object classes (voc) challenge. Int. J. Comput. Vis. 88(2), 303–338 (2010)

    Article  Google Scholar 

  42. Schaefer, G., Stich, M.: Ucid: an uncompressed color image database. In: Proceedings of the SPIE 5307, Storage and Retrieval Methods and Applications for Multimedia 2004, vol. 5307, pp. 472–480 (2003)

Download references

Acknowledgements

This work is partially supported by the Guangxi Natural Science Foundation (2024GXNSFBA010191), the National Natural Science Foundation of China (62272111, 62302108), Guangxi “Bagui Scholar” Team for Innovation and Research, Guangxi Talent Highland Project of Big Data Intelligence and Application, Guangxi Collaborative Innovation Center of Multi-source Information Integration and Intelligent Processing, and the Innovation Project of Guangxi Graduate Education (YCBZ2023083, XYCBZ2024022). Zhenjun Tang is the corresponding author. Many thanks to the referees for their helpful suggestions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhenjun Tang.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yu, Z., Tang, Z., Liang, X. et al. A novel image hashing with low-rank sparse matrix decomposition and feature distance. Vis Comput 41, 1987–1998 (2025). https://doi.org/10.1007/s00371-024-03517-w

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00371-024-03517-w

Keywords