erev0s / tampering_tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tampering Detection in JPG and TIF images

This is code used during a competition of Multimedia Data Security course in University of Trento. We received the higher mark for our results (31). There are minor edits to the algorithms based on some problems we faced. The interesting part of the code is the way it evaluates if the output of each algorith is a proper results or not, which can be found here. Important is also the editing of each results before the evaluation.

There is also a folder named spaghetti code with some testing cases and other parts not particularly useful. You can download some testing images here

To run the code please execute the function getmap(Path), where Path is the path of the image that we want to analyze. The output as requested will be written in the Directory "DEMO_RESULTS".

  • Note that for the correct use of the code it is mandatory to include the SUPPORT directory (Add Folders and Sub Folders)
  • If you want to run the code on multiple images you can find the script tests.m in the SUPPORT directory;
  • in this case you need to specify: the path to the dir containing the forged images, the one containing the true forgery maps, and the number_of_images that you want to analyze

About


Languages

Language:MATLAB 89.8%Language:C 8.3%Language:M 1.3%Language:Mathematica 0.5%Language:Objective-C 0.1%