First Quantization Coefficient Extraction from Double Compressed JPEG Images

  • Fausto Galvan
  • Giovanni Puglisi
  • Arcangelo R. Bruna
  • Sebastiano Battiato
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8156)


In the forensics domain can be useful to recover image history, and in particular whether or not it has been doubly compressed. Clarify this point allows to assess if, in addition to the compression at the time of shooting, the picture was decompressed and then resaved. This is not a clear indication of forgery, but it can justify further investigations. In this paper we propose a novel technique able to retrieve the coefficients of the first compression in a double compressed JPEG image when the second compression is lighter than the first one. The proposed approach exploits the effects of successive quantizations followed by dequantization to recover the original compression parameters. Experimental results and comparisons with a state of the art method confirm the effectiveness of the proposed approach.


Double JPEG Compression Forgery Identification 


  1. 1.
    Dataset Eastman Kodak Company: PhotoCD PCD0992,
  2. 2.
    Battiato, S., Farinella, G.M., Messina, E., Puglisi, G.: Robust image alignment for tampering detection. IEEE Transactions on Information Forensics and Security 7(4), 1105–1117 (2012)CrossRefGoogle Scholar
  3. 3.
    Battiato, S., Mancuso, M., Bosco, A., Guarnera, M.: Psychovisual and statistical optimization of quantization tables for DCT compression engines. In: Proceedings of the 11th International Conference on Image Analysis and Processing (ICIAP), pp. 602–606 (2001)Google Scholar
  4. 4.
    Battiato, S., Messina, G.: Digital forgery estimation into DCT domain: a critical analysis. In: Proceedings of the First ACM Workshop on Multimedia in Forensics (MiFor), pp. 37–42 (2009)Google Scholar
  5. 5.
    Bianchi, T., Piva, A.: Image forgery localization via block-grained analysis of JPEG artifacts. IEEE Transactions on Information Forensics and Security 7(3), 1003–1017 (2012)CrossRefGoogle Scholar
  6. 6.
    Bruna, A.R., Messina, G., Battiato, S.: Crop detection through blocking artefacts analysis. In: Maino, G., Foresti, G.L. (eds.) ICIAP 2011, Part I. LNCS, vol. 6978, pp. 650–659. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  7. 7.
    Farid, H.: Digital image ballistics from JPEG quantization: A followup study. Tech. Rep. TR2008-638, Department of Computer Science, Dartmouth College (2008)Google Scholar
  8. 8.
    Farid, H.: Exposing digital forgeries from JPEG ghosts. IEEE Transactions on Information Forensics and Security 4(1), 154–160 (2009)MathSciNetCrossRefGoogle Scholar
  9. 9.
    Huang, F., Huang, J., Shi, Y.Q.: Detecting double JPEG compression with the same quantization matrix. IEEE Transactions on Information Forensics and Security 5(4), 848–856 (2010)CrossRefGoogle Scholar
  10. 10.
    Lukas, J., Fridrich, J.: Estimation of primary quantization matrix in double compressed JPEG images. In: Proceedings of Digital Forensic Research Workshop, DFRWS (2003)Google Scholar
  11. 11.
    Popescu, A., Farid, H.: Statistical tools for digital forensics. In: Fridrich, J. (ed.) IH 2004. LNCS, vol. 3200, pp. 128–147. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  12. 12.
    Redi, J., Taktak, W., Dugelay, J.: Digital image forensics: a booklet for beginners. Multimedia Tools and Applications 51(1), 133–162 (2011)CrossRefGoogle Scholar
  13. 13.
    Wallace, G.K.: The JPEG still picture compression standard. Communications of the ACM 34(4), 30–44 (1991)CrossRefGoogle Scholar
  14. 14.
    Wang, W., Dong, J., Tan, T.: Exploring DCT coefficient quantization effect for image tampering localization. In: Proceedings of Workshop on Information Forensics and Security (2011)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Fausto Galvan
    • 1
  • Giovanni Puglisi
    • 2
  • Arcangelo R. Bruna
    • 2
  • Sebastiano Battiato
    • 2
  1. 1.University of UdineItaly
  2. 2.Dipartimento di Matematica e Informatica - Image Processing LabUniversity of CataniaItaly

Personalised recommendations