Skip to main content
Log in

Robust median filtering detection based on the difference of frequency residuals

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

Abstract

Recently, the detection of median filtering (MF), which is a popular nonlinear denoising manipulation, has attracted extensive attention from researchers. Several detectors with satisfying performance have been developed, while most of them need to train proper classifiers and their performance may be degraded under JPEG compression. In this paper, a training-free MF detector with single-dimensional feature is proposed based on the difference of frequency residuals, which can solve the detection issue of median filtering images under JPEG post-processing. It is designed relying on the fact that when an image is median filtered over and over again, the frequency residual obtained from continuous two images monotonically decreases. The difference between the frequency residuals obtained from the first MF and the second MF is pretty large in an unfiltered test image, while it is relatively small if the test image is a median filtered one. Thus, the unfiltered and the median filtered images are distinguishable. Furthermore, a novel strategy combining unsharp masking (USM) sharpening is implemented to suppress the effect of image content and find a universal threshold which is utilized to classify two types of images. Experimental results show that the proposed method outperforms some state-of-the-art methods at the condition of a low false alarm rate, especially when the test images are in low quality and low resolution.

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

Similar content being viewed by others

References

  1. Bas P, Filler T, Pevný T. (2011) Break our steganographic system: The ins and outs of organizing BOSS. In: International workshop on information hiding

  2. Bovik AC (1987) Streaking in median filtered images. IEEE Trans Acoust Speech Signal Process 35(4):493–503

    Article  Google Scholar 

  3. Cao G, Zhao Y, Ni R (2012) Forensic identification of resampling operators: a semi non-intrusive approach. Forensic Sci Int 216(1):29–36

    Article  Google Scholar 

  4. Cao G, Zhao Y, Ni R, Li X (2014) Contrast enhancement-based forensics in digital images. IEEE Trans Inf Forensics Secur 9(3):515–525

    Article  Google Scholar 

  5. Cao G, Zhao Y, Ni R, Yu L, Tian H (2010) Forensic detection of median filtering in digital images. In: IEEE international conference on multimedia and expo

  6. Chang CC, Lin CJ (2011) Libsvm: a library for support vector machines. ACM Trans Intell Syst Technol 2(3):27:1–27:27

    Article  Google Scholar 

  7. Chen C, Ni J, Huang J (2013) Blind detection of median filtering in digital images: a difference domain based approach. IEEE Trans Image Process 22 (12):4699–4710

    Article  MathSciNet  Google Scholar 

  8. Chen CC, Chen LY, Lin YJ (2017) Block sampled matching with region growing for detecting copy-move forgery duplicated regions. J Inf Hiding Multimed Signal Process 8(1):86–96

    Google Scholar 

  9. Ferrara P, Bianchi T, Rosa AD, Piva A (2012) Image forgery localization via fine-grained analysis of cfa artifacts. IEEE Trans Inf Forensics Secur 7(5):1566–1577

    Article  Google Scholar 

  10. Gonzalez R, Woods R (2002) Digital image processing. Prentice Hall, Upper Saddle River

    Google Scholar 

  11. Huang F, Huang J, Shi YQ (2010) Detecting double JPEG compression with the same quantization matrix. IEEE Trans Inf Forensics Secur 5(4):848–856

    Article  Google Scholar 

  12. Kang X, Stamm MC, Peng A, Liu KJR (2013) Robust median filtering forensics using an autoregressive model. IEEE Trans Inf Forensics Secur 8(9):1456–1468

    Article  Google Scholar 

  13. Kirchner M, Fridrich J (2010) On detection of median filtering in digital images. In: Proceedings SPIE, media forensics and security II

  14. Ma Y, Luo X, Li X, Bao Z, Zhang Y (2018) Selection of rich model steganalysis features based on decision rough set α-positive region reduction. IEEE Transactions on Circuits and Systems for Video Technology published online

  15. Niu Y, Zhao Y, Ni R (2017) Robust median filtering detection based on local difference descriptor. Signal Process Image Commun 53:65–72

    Article  Google Scholar 

  16. Pevny T, Bas P, Fridrich J (2010) Steganalysis by subtractive pixel adjacency matrix. IEEE Trans Inf Forensics Secur 5(2):215–224

    Article  Google Scholar 

  17. Pevny T, Ker AD (2015) Towards dependable steganalysis. In: Proceedings SPIE, media watermarking, security, and forensics

  18. Schaefer G, Stich M (2003) UCID: An uncompressed color image database. In: Storage and retrieval methods and applications for multimedia

  19. Tang H, Ni R, Zhao Y, Li X (2018) Median filtering detection of small-size image based on CNN. J Vis Commun Image Represent 51:162–168

    Article  Google Scholar 

  20. Yuan HD (2011) Blind forensics of median filtering in digital images. IEEE Trans Inf Forensics Secur 6(4):1335–1345

    Article  Google Scholar 

  21. Zhang Y, Li S, Wang S, Shi YQ (2014) Revealing the traces of median filtering using high-order local ternary patterns. IEEE Signal Precess Lett 21(3):275–279

    Article  Google Scholar 

  22. 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

    Article  Google Scholar 

Download references

Acknowledgments

This work was supported in part by the National Key Research and Development of China (2018YFC0807306), National NSF of China (61672090, 61332012, 61532005), and Fundamental Research Funds for the Central Universities (2018JBZ001).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Rongrong Ni or Yao Zhao.

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

Li, W., Ni, R., Li, X. et al. Robust median filtering detection based on the difference of frequency residuals. Multimed Tools Appl 78, 8363–8381 (2019). https://doi.org/10.1007/s11042-018-6831-6

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-018-6831-6

Keywords

Navigation