Skip to main content
Log in

Efficient image encryption and compression based on a VAE generative model

  • Special Issue Paper
  • Published:
Journal of Real-Time Image Processing Aims and scope Submit manuscript

Abstract

Efficient image encryption and compression not only well protect the security of image information, but also greatly reduce the bandwidth. This paper proposes an image encryption method based on variational auto-encoder generation model. Firstly, we use the random gradient method to train the variational auto-encoder generation model, and iteration times of the model is determined comprehensively by the training time, the loss function and the reconstruction image. The peak signal-to-noise ratio and mean square error are used to measure the compression effect of the model. Secondly, we utilize the two trained image data divisions to change the data of the generated model, and to generate an encryption image. Finally, this paper uses Spyder to simulate experiments and analyze the results. The experimental results show that the method is fast and easy to encrypt, the algorithm is simple and the distortion rate of the decrypt image is low, and it is strong practicality.

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

Similar content being viewed by others

References

  1. Gersho, A., Gray, R.M.: Vector quantization I: structure and performance. In: Vector Quantization and Signal Compression, pp. 309–343. Springer (1992)

  2. Gregor, K., Besse, F., Rezende, D.J., Danihelka, I., Wierstra, D.: Towards conceptual compression. In: Advances in Neural Information Processing Systems, pp. 3549–3557(2016)

  3. Qin, C., Chang, C.-C., Yi-Ping, C.: A novel joint data-hiding and compression scheme based on SMVQ and image inpaiting. IEEE Trans. Image Process. 23(3), 969–978 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  4. Hinton, G.E., Salakhutdinov, R.R.: Reducing the dimensionality of data with neural networks. Science 313(5786), 504–507 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  5. Toderici, G., Vincent, D., Johnston, N., et al.: Full resolution image compression with recurrent neural networks. In: IEEE Conference on Computer Vision and Pattern Recognition, pp. 5435–5443. IEEE (2017)

  6. Hu, F., Pu, C.: An image compression and encryption scheme based on deep learning. arXiv:1608.05001 (2016)

  7. Ballé, J., Laparra, V., Simoncelli, E.P.: End-to-end optimized image compression. arXiv preprint. arXiv:1611.01704 (2016)

  8. Jing, F., Wang, J., Sun, X., Li, T.: Partial encryption of color image using quaternion discrete cosine transform. Int. J. Signal Process. Image Process. Pattern Recognit. 8, 171–190 (2015)

    Google Scholar 

  9. Zhang, Y., Qin, C., Zhang, W., Liu, F., Luo, X.: On the fault-tolerant performance for a class of robust image steganography. Signal Process. 146, 99–111 (2018)

    Article  Google Scholar 

  10. Qin, C., Zhang, X.: Effective reversible data hiding in encrypted image with privacy protection for image content. J. Vis. Commun. Image Represent. 31, 154–164 (2015)

    Article  Google Scholar 

  11. Ahmad, J., Khan, M.A.: A compression sensing and noise-tolerant image encryption scheme based on chaotic maps and orthogonal matrices. Neural Comput Appl. 28, 953–967 (2016)

    Article  Google Scholar 

  12. Qin, C., He, Z., Luo, X., Dong, J.: Reversible data hiding in encrypted image with separable capability and high embedding capacity. Inf. Sci. 465, 285–304, (2018)

    Article  Google Scholar 

  13. Ma, Y., Luo, X., Li, X., Bao, Z., Zhang, Y.: Selection of rich model steganalysis features based on decision rough set α-positive region reduction. IEEE Trans. Circuits Syst. Video Technol. 2018. https://doi.org/10.1109/TCSVT.2018.2799243 (published online)

    Google Scholar 

  14. Qin, C., Ji, P., Zhang, X., Dong, J., Wang, J.: Fragile image watermarking with pixel-wise recovery based on overlapping embedding strategy. Signal Process. 138, 280–293 (2017)

    Article  Google Scholar 

  15. Kingma, D.P., Welling, M.: Auto-encoding variational bayes. arXiv preprint. arXiv:1312.6114 (2013)

  16. Doersch, C.: Tutorial on variational autoencoders. arXiv:1606.05908 (2016)

  17. Diederik, P., Kingma, S., Mohamed, D.J., Rezende, Welling, M.: Semisupervised learning with deep generative models. In: Advances in Neural Information Processing Systems, pp. 3581–3589 (2014)

  18. Lamb, A., Dumoulin, V., Courville, A.: Discriminative regularization for generative models. arXiv:1602.03220 (2016)

  19. Rezende, D.J., Mohamed, S., Wierstra, D.: Stochastic backpropagation and approximate inference in deep generative models. In: ICML (2014)

  20. Tejas, D., Kulkarni, W.F., Whitney, Kohli, P., Tenenbaum, J.: Deep convolutional inverse graphics network. In: NIPS (2015)

  21. Salimans, T., Kingma, D., Welling, M.: Markov chain monte carlo and variational inference: bridging the gap. In: ICML (2015)

  22. Gregor, K., Danihelka, I., Graves, A., Rezende, D., Wierstra, D.: Draw: a recurrent neural network for image generation. In: ICCV (2015)

  23. Sohn, K., Lee, H., Yan, X.: Learning structured output representation using deep conditional generative models. In: NIPS (2015)

  24. Giraldo, L.G.S.: Revisiting denoising auto-encores. In: International Conference on Learning Representations (2017)

  25. Kan, M., Shan, S., Chang, H., Chen, X.: Stacked progressive auto-encoders (SPAE) for face recognition across poses. In: IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1883–1890 (2014)

  26. Tiwari, M., Gupta, B.: Image denoising using spatial gradient based bilateral filter and minimum mean square error filtering. Procedia Comput. Sci. 54, 638–645 (2015)

    Article  Google Scholar 

  27. Karamchandani, S.H., Gandhi K.J., Gosalia, S.R., Madan, V.K., Merchant, S.N., Desai, U.B.: PCA encrypted short acoustic data inculcated in digital color images. Int. J. Comput. Commun. Control 10(5), 678–685 (2015)

    Article  Google Scholar 

  28. Horé, A., Ziou, D.: Image quality metrics: PSNR vs. SSIM. In: International Conference on Pattern Recognition, pp. 2366–2369 (2010)

Download references

Acknowledgements

This paper was supported by the National Natural Science Foundation of China (nos. U1204606, U1604156), the Key Programs for Science and Technology Development of Henan Province (nos. 172102210335, 172102210045), Key Scientific Research Projects in Henan Universities (no. 16A520058).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xintao Duan.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Duan, X., Liu, J. & Zhang, E. Efficient image encryption and compression based on a VAE generative model. J Real-Time Image Proc 16, 765–773 (2019). https://doi.org/10.1007/s11554-018-0826-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11554-018-0826-4

Keywords

Navigation