Electronic Science and Technology ›› 2023, Vol. 36 ›› Issue (9): 41-49.doi: 10.16180/j.cnki.issn1007-7820.2023.09.007

Previous Articles     Next Articles

Rotation Angle Estimation of JPEG Images Using Block Artifact Spectrum Analysis

DANG Lianghui,ZHANG Yujin   

  1. School of Electronic and Electrical Engineering,Shanghai University of Engineering Science, Shanghai 201620,China
  • Received:2023-04-06 Online:2023-09-15 Published:2023-09-18
  • Supported by:
    Natural Science Foundation of Shanghai(17ZR1411900)

Abstract:

Image rotation makes fake images more realistic in geometric perspective, and the performance of existing JPEG image rotation angle estimation algorithms is easily disturbed by block artifacts and the image block size. It remains an imminent and challenging work for the rotation angle interval [1°,15°]. This study presents an effective algorithm to estimate the rotation angle of JPEG images based on block artifact spectral analysis. Firstly, the edges of the image are extracted and removed using a variant colony algorithm to highlight block effects. Secondly, the effect of image texture is further mitigated by cross-differentiation. Thirdly, extraneous peaks are removed in the Fourier transform domain by setting reasonable thresholds and using a Gaussian high-pass filter to reduce interference. Finally, the amplitude component of the Fourier spectrum is projected into the polar coordinates, and the polar angle corresponding to the peak in the polar coordinates is the estimation of rotation angle we need. The experimental results show that the average absolute error of the method is lower than that of the existing methods for the detection of small-size JPEG images whose rotation angle lies within the [1°,15°] interval. Besides, when the compression quality factor is gradually reduced, the performance of the proposed method is still better than the existing methods, and the robustness of the proposed method to JPEG compression is better.

Key words: image rotation angle estimation, resampling, JPEG block artifacts, variant colony algorithm, spectral analysis, image manipulation, image forensic, JPEG compression

CLC Number: 

  • TP391.9