-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreadme.txt
More file actions
37 lines (20 loc) · 1.04 KB
/
readme.txt
File metadata and controls
37 lines (20 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This code is the pyhton implementation of "T. Bianchi and A. Piva, “Image forgery localization via blockgrained
analysis of JPEG artifacts,” IEEE Trans. Information Forensics and Security, vol. 7, no. 3, 2012"
This code is python conversion of matlab code which is available on github (https://github.com/caomw/matlab-forensics)
There are two main function getJmapNA_EM and getJmap_EM which are in getJmapNA_EM.py and getJmap_EM.py
files respectively. For align folger we use getJmap_EM and for non-align forgery we use getJmapNA_EM.
Uses of these function can be shown in demo file.
-----------Prerequisite------------
PIL, numpy, scipy library should be alredy installed
-----------dependencies------------
These files has been taken from pysteg which is available at:
http://www.ifs.schaathun.net/pysteg/starting.html#download-and-installation
__init__.py
base.py
compress.py
dct.py
jpegobject.c
jpegobject.o
jpegObject.so
---------matlab functions----------
In mat_fn.py file all function are python conversion of matlab original functions