The code is the homework of the multimedia content security course, the reproduction of the rotation angle estimation algorithm of the paper "Estimation of Image Rotation Angle Using Interpolation-Related Spectral Signatures With Application to Blind Detection of Image Forgery"
cv2 4.4.0
numpy 1.19.2
matplotlib 3.3.4
PIL 8.1.2
USC-SIPI database can be downloaded from here.
Use script files tiff2bmp.py
to convert tiff format to bmp format
These images were rotated using the watermark attacking tool StirMark 4.0, which can be downloaded from here.
Put rotated image in /BMPdataset
directory.
bash run.sh