Abstract
With the increasing tendency of the tempering of JPEG images, development of methods detecting image forgery is of great importance. In many cases, JPEG image forgery is usually accompanied with double JPEG compression, leaving no visual traces. In this paper, a modified version of DenseNet (densely connected convolutional networks) is proposed to accomplish the detection task of primary JPEG compression among double compressed images. A special filtering layer in the front of the network contains typically selected filtering kernels that can help the network following to discriminating the images more easily. As shown in the results, the network has achieved great improvement compared to the-state-of-the-art method especially on the classification accuracy among images with lower quality factors.
Similar content being viewed by others
References
Amerini I, Uricchio T, Ballan L, Caldelli R (2017) Localization of JPEG double compression through multi-domain convolutional neural networks. In: IEEE Conference on computer vision and pattern recognition workshops on media forensics
Amerini I, Uricchio T, Caldelli R (2017) Tracing images back to their social network of origin: a CNN-based approach. In: IEEE Workshop on information forensics and security, pp 1–6
Bayar B, Stamm MC (2016) A deep learning approach to universal image manipulation detection using a new convolutional layer. In: The 4th ACM workshop on information hiding and multimedia security, pp 5–10
Chen C, Shi Y-Q, Su W (2008) A machine learning based scheme for double JPEG compression detection. In: IEEE International conference on pattern recognition, pp 1–4
Girshick R, Donahue J, Darrell T, Malik J, Berkeley U (2014) Rich feature hierarchies for accurate object detection and semantic segmentation. In: IEEE conference on computer vision and pattern recognition, pp 580–587
He K, Sun J (2015) Convolutional neural networks at constrained time cost. In: IEEE conference on computer vision and pattern recognition, pp 5353–5360
He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: IEEE conference on computer vision and pattern recognition, pp 770–778
Huang F, Huang J, Shi Y-Q (2010) Detecting double JPEG compression with the same quantization matrix. IEEE Trans Inf Forens Secur 5(4):848–856
Huang G, Sun Y, Liu Z, Sedra D, Weinberger KQ (2016) Deep networks with stochastic depth. In: European conference on computer vision, pp 646–661
Huang G, Liu Z, Maaten LVD, Weiberger KQ (2017) Densely connected convolutional networks. In: IEEE Conference on computer vision and pattern recognition
Ioffe S, Szegedy C (2015) Batch normalization: accelerating deep network training by reducing internal covariate shift. In: International conference on machine learning, pp 448–456
Krizhevsky A, Sutskever I, Hinton G (2012) ImageNet classification with deep convolutional neural networks. In: International conference on neural information processing systems, pp 1097–1105
Larsson G, Maire M, Shakhnarovich G (2016) FractalNet: ultra-deep neural networks without residuals, arXiv:1605.07648
LeCun Y, Boser BE, Denker JS, et al. (1990) Handwritten digit recognition with a back-propagation network. Adv Neural Inf Process Syst, 396–404
Li B, Luo H, Zhang H, Tan S, Ji Z (2017) A multi-branch convolutional neural network for detecting double JPEG compression, arXiv:1710.05477
Liu Q, Sung A-H, Qiao M (2011) A method to detect JPEG-based double compression. Int Symp Neural Netw LNCS 6676:466–476
Luo X, Song X, Li X, et al. (2016) Steganalysis of HUGO steganography based on parameter recognition of syndrome-trellis-codes. Multimed Tools Appl 75 (21):13557–13583
Pevny T, Fridrich J (2008) Detection of double-compression in JPEG images for applications in steganography. IEEE Trans Inf Forens Secur 3(2):247–258
Qu Z, Luo W, Huang J (2008) A convolutive mixing model for shifted double JPEG compression with application to passive image authentication. In: IEEE International conference on acoustics
Srivastava RK, Greff K, Schmidhuber J (2015) Highway networks, arXiv:1505.00387
Srivastava RK, Greff K, Schmidhuber J (2015) Training very deep networks. Adv Neural Inf Process Syst, 2377–2385
Verma V, Agarmal N, Khanna N (2018) DCT-domain deep convolutional neural networks for multiple JPEG compression classification. Signal Process-Image Commun 67:22–23
Wang Q, Zhang R (2016) Double JPEG compression forensics based on a convolutional neural network. EURASIP J Inf Secur 2016:23
Yang P, Ni R, Zhao Y (2018) Double JPEG compression detection by exploring the correlations in DCT domain, arXiv:1806.01571v1
Yao H, Song S, Qin C, Tang Z, Liu X (2017) Detection of double-compressed H.264/AVC video incorporating the features of the string of data bits and skip. Macroblocks 9(12):313
Yao H, Cao F, Tang Z, Wang J, Qiao T (2018) Expose noise level inconsistency incorporating the inhomogeneity scoring strategy. Multimed Tools Appl 77(14):18139–18161
Zhang Y, Qin C, Zhang W, Liu F, Luo X (2018) On the fault-tolerant performance for a class of robust image steganography. Signal Process 146:99–111
Acknowledgements
This work was supported by the National Natural Science Foundation of China under Grants (U1536109, U1636206, 61525203, 61373151, 61472235).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Zeng, X., Feng, G. & Zhang, X. Detection of double JPEG compression using modified DenseNet model. Multimed Tools Appl 78, 8183–8196 (2019). https://doi.org/10.1007/s11042-018-6737-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-018-6737-3