Skip to main content
Log in

An image compression encryption scheme based on chaos and SPECK-DCT hybrid coding

  • Orignal Paper
  • Published:
Nonlinear Dynamics Aims and scope Submit manuscript

Abstract

In recent years, image compression and encryption joint algorithms usually focus on only one kind of lossless compression or lossless compression, and the image compression coding method is relatively simple. This paper designs a hybrid image compression coding based on the frequency domain structure, combining the advantages of SPECK lossless compression and DCT lossy compression to achieve targeted compression. To further ensure the security of hybrid coding, a new four-dimensional hyperchaotic system is constructed in this paper. Based on the pseudo-random sequence generated by the hyperchaotic system and the SPECK-DCT hybrid coding characteristics, different encryption operations are embedded to enable compression and encryption to be carried out simultaneously, and an encryption algorithm for compressed data is designed. Moreover, simulation results and analysis show that the proposed compression encryption scheme balances various compression properties, including compression ratio, reconstruction quality and operation efficiency, and has good security performance with large key space, information entropy, correlation coefficient and other security indexes close to theoretical values.

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

Access this article

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
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

References

  1. Nguyen, D.H., Wahab, M.A.: Damage detection in slab structures based on two-dimensional curvature mode shape method and Faster R-CNN. Adv. Eng. Softw.Softw. 176, 103371 (2023)

    Google Scholar 

  2. Khatir, S., Tiachacht, S., Le Thanh, C., et al.: An improved artificial neural network using arithmetic optimization algorithm for damage assessment in FGM composite plates. Compos. Struct. Struct. 273, 114287 (2021)

    Google Scholar 

  3. Wang, S., Wang, H., Zhou, Y., et al.: Automatic laser profile recognition and fast tracking for structured light measurement using deep learning and template matching. Measurement 169, 108362 (2021)

    Google Scholar 

  4. Liu, Y., Pu, H., Sun, D.W.: Efficient extraction of deep image features using convolutional neural network (CNN) for applications in detecting and analysing complex food matrices. Trends Food Sci. Technol. 113, 193–204 (2021)

    Google Scholar 

  5. Yin, Z., She, X., Tang, J., et al.: Reversible data hiding in encrypted images based on pixel prediction and multi-MSB planes rearrangement. Signal Process. 187, 108146 (2021)

    Google Scholar 

  6. Sahu, A.K., Swain, G.: High fidelity based reversible data hiding using modified LSB matching and pixel difference. J. King Saud Univ. Comput. Inform. Sci. 34(4), 1395–1409 (2022)

    Google Scholar 

  7. Li, D., Deng, L., Gupta, B.B., et al.: A novel CNN based security guaranteed image watermarking generation scenario for smart city applications. Inf. Sci. 479, 432–447 (2019)

    Google Scholar 

  8. Farah, M.A.B., Guesmi, R., Kachouri, A., et al.: A novel chaos based optical image encryption using fractional Fourier transform and DNA sequence operation. Opt. Laser Technol. 121, 105777 (2020)

    Google Scholar 

  9. Gao, X., Mou, J., Xiong, L., et al.: A fast and efficient multiple images encryption based on single-channel encryption and chaotic system. Nonlinear Dyn.Dyn. 108(1), 613–636 (2022)

    Google Scholar 

  10. Habutsu, T., Nishio, Y., Sasase, I., et al.: A secret key cryptosystem by iterating a chaotic map[C]//Workshop on the Theory and Application of of Cryptographic Techniques, pp. 127–140. Springer, Berlin, Heidelberg (1991)

    Google Scholar 

  11. Wang, S.C., Wang, C.H., Xu, C.: An image encryption algorithm based on a hidden attractor chaos system and the Knuth-Durstenfeld algorithm. Opt. Lasers Eng. 128, 105995 (2020)

    Google Scholar 

  12. Liu, X., Tong, X., Wang, Z., et al.: A new n-dimensional conservative chaos based on Generalized Hamiltonian system and its’ applications in image encryption. Chaos Solitons Fractals 154, 111693 (2022)

    MathSciNet  Google Scholar 

  13. Zhang, Y.Q., He, Y., Li, P., et al.: A new color image encryption scheme based on 2DNLCML system and genetic operations. Opt. Lasers Eng. 128, 106040 (2020)

    Google Scholar 

  14. Hua, Z., Jin, F., Xu, B., et al.: 2D Logistic-sine-coupling map for image encryption. Signal Process. 149, 148–161 (2018)

    Google Scholar 

  15. Arpacı, B., Kurt, E., Çelik, K., et al.: Colored image encryption and decryption with a new algorithm and a Hyperchaotic electrical circuit. J. Elect. Eng. Technol. 15(3), 1413–1429 (2020)

    Google Scholar 

  16. Dong, E., Yuan, M., Zhang, C., et al.: Topological horseshoe analysis, ultimate boundary estimations of a new 4D hyperchaotic system and its FPGA implementation. Int. J. Bifurc. Chaos 28(07), 1850081 (2018)

    MathSciNet  Google Scholar 

  17. Chen, L., Tang, S., Li, Q., et al.: A new 4D hyperchaotic system with high complexity. Math. Comput. Simul. Comput. Simul 146, 44–56 (2018)

    MathSciNet  Google Scholar 

  18. Feng, Y., Rajagopal, K., Khalaf, A.J.M., et al.: A new hidden attractor hyperchaotic memristor oscillator with a line of equilibria. Eur. Phys. J. Special Topics 229(6), 1279–1288 (2020)

    Google Scholar 

  19. Wang, X., Su, Y.: Image encryption based on compressed sensing and DNA encoding. Signal Process. Image Commun. 95, 116246 (2021)

    Google Scholar 

  20. Chai, X., Fu, X., Gan, Z., et al.: An efficient chaos-based image compression and encryption scheme using block compressive sensing and elementary cellular automata. Neural Comput. Appl. Comput. Appl. 32(9), 4961–4988 (2020)

    Google Scholar 

  21. Chai, X., Wu, H., Gan, Z., et al.: An efficient visually meaningful image compression and encryption scheme based on compressive sensing and dynamic LSB embedding. Opt. Lasers Eng. 124, 105837 (2020)

    Google Scholar 

  22. Tong, X.J., Zhang, M., Wang, Z., et al.: A joint color image encryption and compression scheme based on hyper-chaotic system. Nonlinear Dyn.Dyn. 84, 2333–2356 (2016)

    Google Scholar 

  23. Zhang, M., Tong, X.: Joint image encryption and compression scheme based on IWT and SPIHT. Opt. Lasers Eng. 90, 254–274 (2017)

    Google Scholar 

  24. Zhang, H., Wang, X., Sun, Y., et al.: A novel method for lossless image compression and encryption based on LWT, SPIHT and cellular automata. Signal Process. Image Commun. 84, 115829 (2020)

    Google Scholar 

  25. Zhang, M., Tong, X., Wang, Z., et al.: Joint lossless image compression and encryption scheme based on CALIC and hyperchaotic system. Entropy 23(8), 1096 (2021)

    MathSciNet  Google Scholar 

  26. Xiao, Y., Tong, X., Zhang, M., et al.: Image lossless encoding and encryption method of EBCOT Tier1 based on 4D hyperchaos. Multimed. Syst. 28(3), 727–748 (2022)

    Google Scholar 

  27. Chai, X., Bi, J., Gan, Z., et al.: Color image compression and encryption scheme based on compressive sensing and double random encryption strategy. Signal Process. 176, 107684 (2020)

    Google Scholar 

  28. Chen, J., Zhang, Y., Qi, L., et al.: Exploiting chaos-based compressed sensing and cryptographic algorithm for image encryption and compression. Opt. Laser Technol. 99, 238–248 (2018)

    Google Scholar 

  29. Islam, A., Pearlman, W.A.: Embedded and efficient low-complexity hierarchical image coder[C]//visual communications and image processing’99. SPIE 3653, 294–305 (1998)

    Google Scholar 

  30. Song, Y., Zhu, Z., Zhang, W., et al.: Joint image compression-encryption scheme using entropy coding and compressive sensing. Nonlinear Dyn.Dyn. 95(3), 2235–2261 (2019)

    Google Scholar 

  31. Wang, T., Wang, M.H.: Hyperchaotic image encryption algorithm based on bit-level permutation and DNA encoding. Opt. Laser Technol. 132, 106355 (2020)

    Google Scholar 

  32. Wolf, A., Swift, J.B., Swinney, H.L., et al.: Determining Lyapunov exponents from a time series. Phys. D D 16(3), 285–317 (1985)

    MathSciNet  Google Scholar 

  33. Iwasaki, A.: Analysis of NIST SP800-22 focusing on randomness of each sequence. JSIAM Lett. 10, 1–4 (2018)

    MathSciNet  Google Scholar 

  34. Lu, J., Dunkelman, O., Keller, N.: et al. New impossible differential attacks on AES[C]//Indocrypt. 8: 279–293 (2008)

  35. Odlyzko, A.M., Wilf, H.S.: Functional iteration and the Josephus problem. Glasg. Math. J. Math. J. 33(2), 235–240 (1991)

    MathSciNet  Google Scholar 

  36. Gong, L., Qiu, K., Deng, C., et al.: An image compression and encryption algorithm based on chaotic system and compressive sensing. Opt. Laser Technol. 115, 257–267 (2019)

    Google Scholar 

  37. Sun, C., Wang, E., Zhao, B.: Image encryption scheme with compressed sensing based on a new six-dimensional non-degenerate discrete hyperchaotic system and plaintext-related scrambling. Entropy 23(3), 291 (2021)

    MathSciNet  Google Scholar 

  38. Chai, X., Zheng, X., Gan, Z., et al.: An image encryption algorithm based on chaotic system and compressive sensing. Signal Process. 148, 124–144 (2018)

    Google Scholar 

  39. Xu, Q., Sun, K., Cao, C., et al.: A fast image encryption algorithm based on compressive sensing and hyperchaotic map. Opt. Lasers Eng. 121, 203–214 (2019)

    Google Scholar 

  40. Xiao, Y., Tong, X., Zhang, M., et al.: Image lossless encoding and encryption method of SPECK based on 1D chaotic map. Phys. Scr. 97(5), 055211 (2022)

    Google Scholar 

  41. Sun, S., Guo, Y., Wu, R.: A novel image encryption scheme based on 7D hyperchaotic system and row-column simultaneous swapping. IEEE Access 7, 28539–28547 (2019)

    Google Scholar 

  42. Wu, X., Wang, K., Wang, X., et al.: Color image DNA encryption using NCA map-based CML and one-time keys. Signal Process. 148, 272–287 (2018)

    Google Scholar 

  43. Yang, S., Tong, X., Wang, Z., et al.: Efficient color image encryption algorithm based on 2D coupled chaos and multi-objective optimized S-box. Phys. Scr. 97(4), 045204 (2022)

    Google Scholar 

  44. Hua, Z., Zhou, Y.: Image encryption using 2D Logistic-adjusted-Sine map. Inf. Sci. 339, 237–253 (2016)

    Google Scholar 

  45. Zhou, N., Zhang, A., Zheng, F., et al.: Novel image compression-encryption hybrid algorithm based on key-controlled measurement matrix in compressive sensing. Opt. Laser Technol. 62(10), 152–160 (2014)

  46. Hu, G., Li, B.: A uniform chaotic system with extended parameter range for image encryption. Nonlinear Dyn.Dyn. 103(3), 2819–2840 (2021)

    Google Scholar 

  47. Zhou, N.R., Zhang, A.D., Wu, J.H., Pei, D.J., Yang, Y.X.: Novel hybrid image compression-encryption algorithm based on compressive sensing. Optik 125(18), 5075–5080 (2014)

    Google Scholar 

  48. Zhou, N.R., Pan, S.M., Chen, S., Zhou, Z.H.: Image compression-encryption scheme based on hyper-chaotic system and 2d compressive sensing. Opt. Laser Technol. 82, 121–133 (2016)

    Google Scholar 

  49. Chai, X., Gan, Z., Yuan, K., et al.: A novel image encryption scheme based on DNA sequence operations and chaotic systems. Neural Comput. Appl. Comput. Appl. 31, 219–237 (2019)

    Google Scholar 

  50. Zhou, M., Wang, C.: A novel image encryption scheme based on conservative hyperchaotic system and closed-loop diffusion between blocks. Signal Process. 171, 107484 (2020)

    Google Scholar 

  51. Chai, X., Gan, Z., Yang, K., et al.: An image encryption algorithm based on the memristive hyperchaotic system, cellular automata and DNA sequence operations. Signal Process. Image Commun. 52, 6–19 (2017)

    Google Scholar 

  52. Liu, J.L., Zhang, M., Tong, X., et al.: Image compression and encryption algorithm based on compressive sensing and nonlinear diffusion. Multimed. Tools Appl. 80(17), 25433–25452 (2021)

    Google Scholar 

  53. Wang, J., Zhang, M., Tong, X., et al.: A chaos-based image compression and encryption scheme using fractal coding and adaptive-thresholding sparsification. Phys. Scr. 97(10), 105201 (2022)

    Google Scholar 

Download references

Acknowledgements

This work was supported by the following projects and foundations: the National Natural Science Foundation of China (No.61902091); Shandong Provincial Natural Science Foundation (No.ZR2019MF054); National Key Research and Development Program of China (2021YFB2012400); Fundamental Research Funds for the Central Universities (HIT.NSRIF.2020098).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miao Zhang.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Data availability

Statements The data that support the findings of this study are available from the corresponding author upon reasonable request.

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

Wang, J., Zhang, M., Tong, X. et al. An image compression encryption scheme based on chaos and SPECK-DCT hybrid coding. Nonlinear Dyn 112, 9581–9602 (2024). https://doi.org/10.1007/s11071-024-09547-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11071-024-09547-2

Keywords

Navigation