Skip to main content
Log in

A reversible data hiding scheme for JPEG images by doubling small quantized AC coefficients

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Reversible data hiding for Joint Photographic Experts Group (JPEG) images has become popular in recent years, since JPEG images are widely used in practical applications. An improved reversible data hiding (RDH) method for JPEG images based on Huang et al.’s method is proposed. Huang et al. embedded data into discrete cosine transform (DCT) coefficients with values 1 and − 1 (i.e., the selected coefficients) using histogram shifting. After analyzing the statistical properties of quantized DCT coefficient blocks of the JPEG images, it was concluded that the vast majority of blocks have no alternating current (AC) coefficients with values in (3, −3, 4, −4), especially when the quality factor (QF) is low. For these blocks, we propose a method which extends the selected coefficients with values in (1, −1) to values in (1, −1, 2, −2), then embeds secret data into the selected coefficients by doubling them, while keeping the unselected coefficients unchanged. The extended method can improve the embedding capacity as well as the image quality. For the other blocks, Huang’s method is still applied. Experimental results verify that the proposed scheme can achieve higher embedding capacity, while maintaining a similar image quality and file size as other schemes did.

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.

Institutional subscriptions

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

Similar content being viewed by others

References

  1. Barton JM (1997) Method and apparatus for embedding authentication information within digital data. U.S. Patent 5 646 997. https://patents.google.com/patent/US5646997A/en. Accessed 5 Jun 2017

  2. Celik MU, Sharma G, Tekalp AM, Saber E (2005) Lossless generalized-LSB data embedding. IEEE Trans Image Process 14(2):253–266

    Article  Google Scholar 

  3. Chang CC, Li CT (2017) Reversible data hiding in JPEG images based on adjustable padding. In Proceedings of the 5th International Workshop on Biometrics and Forensics, Coventry, UK, pp 1–6

  4. Chang CC, Lin CC, Tseng CS, Tai WL (2007) Reversible hiding in DCT-based compressed images. Inf Sci 177(13):2768–2786

    Article  Google Scholar 

  5. Fridrich J, Goljan M, Du R (2002) Lossless data embedding for all image formats. Proc SPIE 4675:572–583

    Article  Google Scholar 

  6. Hong W, Chen TS, Shiu CW (2009) Reversible data hiding for high-quality images using modification of prediction errors. J Syst Softw 82(11):1833–1842

    Article  Google Scholar 

  7. Hu Y, Wang K, Lu ZM (2013) An improved VLC-based lossless data hiding scheme for JPEG images. J Syst Softw 86(8):2166–2173

    Article  Google Scholar 

  8. Huang F, Qu X, Kim HJ, Huang J (2016) Reversible data hiding in JPEG images. IEEE Trans Circuits Syst Video Technol 26(9):1610–1621

    Article  Google Scholar 

  9. Jung KH (2016) A survey of reversible data hiding methods in dual images. IETE Tech Rev 33(4):441–452

    Article  MathSciNet  Google Scholar 

  10. Jung KH (2018) A survey of interpolation-based reversible data hiding methods. Multimed Tools Appl 77(7):7795–7810

    Article  Google Scholar 

  11. Lee SK, Suh YH, Ho YS (2006, Jul.) Reversible image authentication based on watermarking. Proc IEEE Int Conf Multimedia Expo, Toronto, Ontario, Canada, pp 1321–1324

  12. Li Q, Wu Y, Bao F (2010) A reversible data hiding scheme for JPEG images. Adv Multimed Inf Process, Shanghai, China, pp 653–664

    Chapter  Google Scholar 

  13. Li X, Li B, Yang B, Zeng T (2013) General framework to histogram-shifting-based reversible data hiding. IEEE Trans Image Process 22(6):2181–2191

    Article  MathSciNet  Google Scholar 

  14. Lin CC, Shiu PF (2010) DCT-based reversible data hiding scheme. J Soft 5(2):327–335

  15. Mobasseri BG, Berger RJ, Marcinak MP, NaikRaikar YJ (2010) Data embedding in JPEG bitstream by code mapping. IEEE Trans Image Process 19(4):958–966

    Article  MathSciNet  Google Scholar 

  16. Ni Z, Shi YQ, Ansari N, Wei S (2006) Reversible data hiding. IEEE Trans Circuits Syst Video Technol 16(3):354–362

    Article  Google Scholar 

  17. Qian Z, Zhang X (2012) Lossless data hiding in JPEG bitstream. J Syst Softw 85(2):309–313

    Article  Google Scholar 

  18. Sakai H, Kuribayashi M, and Morii M (2008) Adaptive reversible data hiding for JPEG images. In Proceedings of the International Symposium on Information Theory and Its Applications, Auckland, New Zealand 1–6

  19. Shi YQ, Li X, Zhang X (2016) Reversible data hiding: advances in the past two decades. IEEE Access 4:3210–3237

    Article  Google Scholar 

  20. Tian J (2003) Reversible data embedding using a difference expansion. IEEE Trans Circuits Syst Video Technol 13(8):890–896

    Article  Google Scholar 

  21. Wang K, Lu ZM, Hu YJ (2013) A high-capacity lossless data hiding scheme for JPEG images. J Syst Softw 86(7):1965–1975

    Article  Google Scholar 

  22. Wedaj FT, Kim S, Kim HJ, Huang F (2017) Improved reversible data hiding in JPEG images based on new coefficient selection strategy. EURASIP J Image Video Process 1:63

    Article  Google Scholar 

  23. Xie XZ, Chang CC (2017) Reversible data hiding in encrypted images using reformed JPEG compression. In Proceedings of the 5th International Workshop on Biometrics and Forensics, Coventry, UK, pp 1–5

  24. Xuan G, Shi Y, Ni Z, Chai P, Cui X, Tong X (2007) Reversible data hiding for JPEG images based on histogram pairs. International Conference on Image Analysis and Recognition, Montreal, Canada, 4633:715–727

  25. Yan Y, Cao W, Li S (2009, May.) High capacity reversible image authentication based on difference image watermarking. Proc IEEE Int Workshop Image Syst Tech, Shenzhen, China, pp 179–182

Download references

Acknowledgments

This work is supported by the Natural Science Foundation of China under Grant 61503316, the Natural Science Foundation of Fujian Province under Grant 2016 J01326, and Open Fund of Engineering Research Center for Software Testing and Evaluation of Fujian Province.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chia-Chen Lin.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xie, XZ., Lin, CC. & Chang, CC. A reversible data hiding scheme for JPEG images by doubling small quantized AC coefficients. Multimed Tools Appl 78, 11443–11462 (2019). https://doi.org/10.1007/s11042-018-6651-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-018-6651-8

Keywords

Navigation