/Estimation-of-Rotation-Angle

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"

Primary LanguagePythonMIT LicenseMIT

Estimation of Rotation Angle

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"

Requirements

cv2               4.4.0
numpy             1.19.2
matplotlib        3.3.4
PIL               8.1.2

Dataset

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.

Usage

bash run.sh