Coder Social home page Coder Social logo

eyad-alshami / sift-forensic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lambertoballan/sift-forensic

0.0 1.0 0.0 1.26 MB

Copy-move forgery detection using SIFT features (Amerini et al, TIFS 2011)

MATLAB 10.74% Makefile 0.45% HTML 48.16% CSS 2.58% C 38.07%

sift-forensic's Introduction

sift-forensic

Copy-move forgery detection using SIFT features (Amerini et al, TIFS 2011).

This code was developed by I. Amerini, L. Ballan, G. Serra at the Media Integration and Communication Center (MICC), University of Florence (Italy). This package is equivalent to the initial release available on the MICC webpage (May 8, 2012 - version 1.0).

If you use this code please cite the paper: A SIFT-based forensic method for copy-move attack detection and transformation recovery, I. Amerini, L. Ballan, R. Caldelli, A. Del Bimbo, and G. Serra, IEEE Trans. on Information Forensics and Security, vol. 6, iss. 3, pp. 1099-1110, 2011.

##Introduction This package contains the Matlab implementation of the copy-move detection approach presented in Amerini et al., TIFS 2011. Our code use several public functions and libraries developed by other authors; regarding these files, for any problem or license information, please refer to the respective authors. In particular, SIFT features are extracted using the Rob Hess library (this package is now available on Github: http://robwhess.github.io/opensift/). Anyway, the code works also loading features extraced with other implementations (such as the original code by David Lowe or VLFeat).

##Main functions

process_image(imagefile, metric, thc, min_cluster_pts, plotimg, extractsift)

The function runs Copy-Move-Detection on a single image. For example run from the Matlab prompt:

process_image('examples/tampered1.jpg', 'ward', 3, 4, 1)

You can also import a file containing sift descriptors if you have pre-computed features:

process_image('examples/tampered2.jpg', 'ward', 3, 4, 1, 'examples/tampered2.sift')

  • run_F220_experiment and run_F2000_experiment

These two scripts can be used to replicate the experiments reported in our paper; you have only to download these two datasets and unzip them into the 'dataset' directory. You can find this data at the URL: http://www.lambertoballan.net/research/image-forensics/

Please note that you will probably obtain very similar (but not the same) results with respect to those reported in our paper since, in that case, we applied a 4-fold cross validation procedure that is not implemented in these scripts. The expected results are reported in a text file in the dataset directory.

##Datasets The datasets used in our paper are publicly available and can be dowloaded from the MICC website:

You only need to download them and unzip the files in the "sift-forensic/dataset" directory.

##Contact Irene Amerini ([email protected]), Lamberto Ballan ([email protected]) and Giuseppe Serra ([email protected])

sift-forensic's People

Contributors

lambertoballan avatar

Watchers

eyad alshami avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.