Resampling forensics based on multi-directional difference

Hui Zeng, Xiangui Kang, Anjie PengScientia 2016

Abstract

In digital image forgery, resampling operations such as scaling and rotation are fundamental steps for creating convincing composites. While traditional forensic methods detect these operations by identifying periodic interpolation artifacts, modern anti-forensic techniques can effectively suppress these "fingerprints." This paper presents a novel forensic framework that shifts the focus from frequency-domain periodicity to spatial-domain statistical dependencies. By employing multi-directional difference filtering and extracting features through Auto-Regressive (AR) modeling and histogram analysis, the proposed method achieves high detection accuracy and robust resistance against anti-forensic attacks and JPEG compression.

Introduction

The integrity of digital images is increasingly compromised by sophisticated editing tools. A common step in image splicing is resampling—adjusting the size or orientation of a source fragment to fit a target scene. This process typically involves interpolation, which leaves behind subtle periodic artifacts. Forensic detectors have long exploited these patterns in the frequency domain to identify tampered regions.

However, the emergence of anti-forensic techniques has created a significant challenge. By adding targeted noise or using non-uniform sampling, attackers can erase periodic spikes in the Fourier spectrum without significantly degrading visual quality. This "cat-and-mouse" game necessitates more resilient forensic tools that do not rely solely on periodicity.

Comparison of original, resampled, and anti-forensic images with their corresponding Fourier transforms. The middle column shows clear periodic spikes from resampling, which are masked in the right column by anti-forensic techniques.

Proposed Methodology

The core philosophy of this research is that while an attacker can destroy the periodicity of resampling artifacts, the statistical changes in high-frequency components are much harder to hide. The authors propose a three-stage pipeline:

1. Multi-directional Difference Filtering

To capture complex local dependencies, the image is processed through 28 different second-order difference filters. These filters are categorized into horizontal/vertical (H/V), diagonal (D/AD), and combined directions. This multi-directional approach ensures that interpolation "scars" are captured regardless of the resampling angle or direction.

2. Feature Extraction

From the filtered outputs, two types of statistical features are derived:

  • Auto-Regressive (AR) Coefficients: A 6th-order AR model is fitted to the pixel sequences. These coefficients quantify how a pixel's value is predicted by its neighbors, capturing the underlying structure altered by interpolation.
  • Histograms: The distribution of difference values is calculated to capture the low-pass "blurring" effect inherent in most interpolation algorithms.

To maintain efficiency and prevent overfitting, the authors leverage symmetry to reduce the 36-dimensional feature vector without sacrificing predictive power.

3. Classification

The extracted features are fed into a Support Vector Machine (SVM) utilizing a Radial Basis Function (RBF) kernel. The classifier is trained to distinguish between original, resampled, and anti-forensically modified images.

Experimental Evaluation

The method was rigorously tested using a diverse dataset comprising 10,000 high-quality raw images (BOSSRAW) and 10,000 JPEG images from various devices (Dresden Image Database).

Performance Highlights

  • General Detection: The proposed method ($F_D$) achieved a near-perfect detection rate for up-scaling in uncompressed images, with an error rate ($P_e$) of approximately 0.6%.
  • Down-sampling Robustness: Detecting down-sampled images is a known difficulty in forensics. The $F_D$ method achieved a $P_e$ of 1.4%, significantly outperforming the state-of-the-art baseline ($F_M$), which had a 14.0% error rate.
  • Anti-Forensics Resistance: Against attacks specifically designed to hide resampling (such as Gauss noise or median filtering), the $F_D$ method maintained error rates below 1.1%, whereas the baseline method's error rates rose to nearly 13%.
  • JPEG Compression: Even at a Quality Factor of 90, the method remained effective, outperforming previous work in detecting down-scaled images (14.0% vs 23.3% error rate).

Conclusion

This research demonstrates that spatial-domain statistical analysis offers a more secure foundation for resampling forensics than traditional frequency-domain methods. By analyzing multi-directional pixel differences, the proposed framework remains effective even when attackers intentionally obfuscate periodic artifacts. Future work will focus on improving robustness against heavy JPEG compression and refining the detection of very small tampered regions.

Summary updated

BibTeX
@inproceedings{zeng2016resampling,
  author = {Hui Zeng and Xiangui Kang and Anjie Peng},
  title = {{Resampling forensics based on multi-directional difference}},
  booktitle = {Scientia},
  year = {2016},
  doi = {10.1360/n112015-00034},
}
Figure