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.









Similar content being viewed by others
References
Gersho, A., Gray, R.M.: Vector quantization I: structure and performance. In: Vector Quantization and Signal Compression, pp. 309–343. Springer (1992)
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)
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)
Hinton, G.E., Salakhutdinov, R.R.: Reducing the dimensionality of data with neural networks. Science 313(5786), 504–507 (2006)
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)
Hu, F., Pu, C.: An image compression and encryption scheme based on deep learning. arXiv:1608.05001 (2016)
Ballé, J., Laparra, V., Simoncelli, E.P.: End-to-end optimized image compression. arXiv preprint. arXiv:1611.01704 (2016)
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)
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)
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)
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)
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)
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)
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)
Kingma, D.P., Welling, M.: Auto-encoding variational bayes. arXiv preprint. arXiv:1312.6114 (2013)
Doersch, C.: Tutorial on variational autoencoders. arXiv:1606.05908 (2016)
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)
Lamb, A., Dumoulin, V., Courville, A.: Discriminative regularization for generative models. arXiv:1602.03220 (2016)
Rezende, D.J., Mohamed, S., Wierstra, D.: Stochastic backpropagation and approximate inference in deep generative models. In: ICML (2014)
Tejas, D., Kulkarni, W.F., Whitney, Kohli, P., Tenenbaum, J.: Deep convolutional inverse graphics network. In: NIPS (2015)
Salimans, T., Kingma, D., Welling, M.: Markov chain monte carlo and variational inference: bridging the gap. In: ICML (2015)
Gregor, K., Danihelka, I., Graves, A., Rezende, D., Wierstra, D.: Draw: a recurrent neural network for image generation. In: ICCV (2015)
Sohn, K., Lee, H., Yan, X.: Learning structured output representation using deep conditional generative models. In: NIPS (2015)
Giraldo, L.G.S.: Revisiting denoising auto-encores. In: International Conference on Learning Representations (2017)
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)
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)
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)
Horé, A., Ziou, D.: Image quality metrics: PSNR vs. SSIM. In: International Conference on Pattern Recognition, pp. 2366–2369 (2010)
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
Corresponding author
Rights and permissions
About this article
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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11554-018-0826-4