Skip to main content
Log in

Median filtering forensics based on optimum thresholding for low-resolution compressed images

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

Abstract

Image dependence is increasing for information sharing. In image forensics, the detection of median filtering is challenging on low-resolution and highly compressed images. In this paper, a robust median filtering detection technique is proposed to give promising results on low-resolution and highly compressed images. The proposed technique is based on optimal thresholding process on difference arrays. The optimal thresholding provides additional intrinsic features by utilizing a full range of difference array values. As a result, the optimized thresholding difference arrays give better statistical information that can improve a performance. Further, experimental results show that a choice of padding in median filtering process has a considerable effect on median filtering detection accuracy. Both zero padding and symmetric padding types are considered to highlight effect of padding in performance evaluation. Experimental analysis is performed on multiple datasets using SVM and LDA classifier. The proposed technique proves robustness even against the averaging and Gaussian filter post processing. The proposed technique achieved better accuracy in comparison with state of the art techniques in most of the cases.

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
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

References

  1. Bas P, Furon T (2008) Break Our Watermarking System. Available http://bows2.ec-lille.fr/2nd

  2. Bhanot K, Peddoju SK, Bhardwaj T (2018) A model to find optimal percentage of training and testing data for efficient ECG analysis using neural network. Int J Syst Assur Eng Manag 9(1):12–17. https://doi.org/10.1007/s13198-015-0398-7

    Article  Google Scholar 

  3. Chen J, Kang X, Liu Y, Wang ZJ (2015) Median filtering forensics based on convolutional neural networks. IEEE Signal Process Lett 22(11):1849–1853. https://doi.org/10.1109/LSP.2015.2438008

    Article  Google Scholar 

  4. 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. https://doi.org/10.1109/TIP.2013.2277814

    Article  MathSciNet  MATH  Google Scholar 

  5. Chen Z, Tondi B, Li X, Ni R, Zhao Y, Barni M (2019) Secure detection of image manipulation by means of random feature selection. IEEE Trans Inf Forensics Secur 14(9):2454–2469. https://doi.org/10.1109/TIFS.2019.2901826

    Article  Google Scholar 

  6. Ferreira A, Rocha A (2014) A Multiscale and multi-perturbation blind forensic technique for median detecting. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 8827, pp 302–310

  7. Gao H, Hu M, Gao T, Cheng R (2019) Robust detection of median filtering based on combined features of difference image. Signal Process Image Commun 72(January):126–133. https://doi.org/10.1016/j.image.2018.12.014

    Article  Google Scholar 

  8. Gupta A, Singhal D (2019) A simplistic global median filtering forensics based on frequency domain analysis of image residuals. ACM Trans Multimed Comput Commun Appl 15:3. https://doi.org/10.1145/3321508

    Article  Google Scholar 

  9. “Images corpus of the 1st IEEE IFS-TC image forensics challenge,” Available at: http://ifc.recod.ic.unicamp.br/fc.website/index.py?sec=5

  10. Isola P, Zhu JY, Zhou T, Efros AA (2017) Image-to-image translation with conditional adversarial networks. In Proceedings - 30th IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017. https://doi.org/10.1109/CVPR.2017.632

  11. 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. https://doi.org/10.1109/TIFS.2013.2273394

    Article  Google Scholar 

  12. Kanwal N, Girdhar A, Kaur L, Bhullar JS (2020) Digital image splicing detection technique using optimal threshold based local ternary pattern. Multimed Tools Appl. https://doi.org/10.1007/s11042-020-08621-2

  13. Kirchner M, Fridrich J (2010) On detection of median filtering in digital images. Media Forensics and Security II 7541:754110. https://doi.org/10.1117/12.839100

    Article  Google Scholar 

  14. Kumar R, Kim D-S, Jung K-H (2019) Enhanced AMBTC based data hiding method using hamming distance and pixel value differencing. J Inf Secur Appl 47:94–103. https://doi.org/10.1016/j.jisa.2019.04.007

    Article  Google Scholar 

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

    Article  Google Scholar 

  16. Matern F, Riess C, Stamminger M (2020) Gradient-based illumination description for image forgery detection. IEEE Trans Inf Forensics Secur 15:1303–1317. https://doi.org/10.1109/TIFS.2019.2935913

    Article  Google Scholar 

  17. Nam S-H et al (2019) Content-aware image resizing detection using deep neural network. In 2019 IEEE International Conference on Image Processing (ICIP), 2019 pp 106–110. https://doi.org/10.1109/ICIP.2019.8802946

  18. Nirkin Y, Masi I, Tran Tuan A, Hassner T, Medioni G (2018) On face segmentation, face swapping, and face perception. In 2018 13th IEEE International Conference on Automatic Face & Gesture Recognition (FG 2018), pp 98–105. https://doi.org/10.1109/FG.2018.00024

  19. Peng A, Luo S, Zeng H, Wu Y (2019) Median filtering forensics using multiple models in residual domain. IEEE Access 7:28525–28538. https://doi.org/10.1109/ACCESS.2019.2897761

    Article  Google Scholar 

  20. Pevny T, Bas P, Fridrich J (2010) Steganalysis by subtractive pixel adjacency matrix. IEEE Trans Inf Forensics Secur 5(2):215–224. https://doi.org/10.1109/TIFS.2010.2045842

    Article  Google Scholar 

  21. Rhee KH (2019) Forensic detection using bit-Planes slicing of median filtering image. IEEE Access 7:92586–92597. https://doi.org/10.1109/ACCESS.2019.2927540

    Article  Google Scholar 

  22. Schaefer G, Stich M (2003) UCID - An Uncompressed Colour Image Database. SPIE, Storage Retr Methods Appl Multimed 5307:472–480. https://doi.org/10.1117/12.525375

    Article  Google Scholar 

  23. Shan W, Yi Y, Huang R, Xie Y (2019) Robust contrast enhancement forensics based on convolutional neural networks. Signal Process Image Commun 71:138–146. https://doi.org/10.1016/j.image.2018.11.011

    Article  Google Scholar 

  24. Shan W, Yi Y, Qiu J, Yin A (2019) Robust median filtering forensics using image Deblocking and filtered residual fusion. IEEE Access 7:17174–17183. https://doi.org/10.1109/ACCESS.2019.2894981

    Article  Google Scholar 

  25. 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(January):162–168. https://doi.org/10.1016/j.jvcir.2018.01.011

    Article  Google Scholar 

  26. Yu L, Zhang Y, Han H, Zhang L, Wu F (2019) Robust median filtering forensics by CNN-based multiple residuals learning. IEEE Access 7:120594–120602. https://doi.org/10.1109/access.2019.2932810

    Article  Google Scholar 

  27. Zhang W, Tang X, Yang Z, Niu S (2019) Multi-scale segmentation strategies in PRNU-based image tampering localization. Multimed Tools Appl 78(14):20113–20132. https://doi.org/10.1007/s11042-019-7288-y

    Article  Google Scholar 

Download references

Acknowledgements

This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2018R1D1A1A09081842, 2021R1I1A3049788) and Brain Pool program funded by the Ministry of Science and ICT through the National Research Foundation of Korea (2019H1D3A1A01101687).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ki-Hyun Jung.

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

Agarwal, S., Jung, KH. Median filtering forensics based on optimum thresholding for low-resolution compressed images. Multimed Tools Appl 81, 7047–7062 (2022). https://doi.org/10.1007/s11042-022-11945-w

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-11945-w

Keywords

Navigation