READ ME

This document provides a user manual to the image recapture detection algorithm using edge profiles and K-SVD overcomplete dictionary [1].

Program Component 

KSVDRecaptureDetection.m  - Main Program and Main GUI
Dictionary – Directory containing trained dictionaries 
Dictionary /LDictionarySC – Trained dictionary obtained from original/single captured images
Dictionary /LDictionaryRC – Trained dictionary obtained from recaptured images
TrainedFeatures/SVMStructClassification  - Structure and hyperplane obtained from  training extracted featured using SVD algorithm. 


Program Direction
For a multiple image test,  a user is required to select dictionaries and SVM structure for classification as inputs of the program.  Using this option, the program allows users to use their own trained dictionaries and SVM classifier. Most graphic displays are removed in order to speed up the program.  To run the program please follow the following direction.  
1.	Push “Load SC Dictionary” button  and select the  trained dictionary obtained from original/single captured images.
2.	Push “Load RC Dictionary” button and select the  trained dictionary obtained from recaptured images.
3.	Push “Load Image Set” button . Select a group of query images that the user would like to test.   
4.	Push “Batch Processing ” button .


After the computation for each given image, the program will produce the following results on a console window.
No.  - - Image Name – Number of Blocks – Number of Profiles – Ed{SC} – Ed{RC} – Lambda – Result
For example,   
1 IMG002.jpg 242 1844 0.01924 0.01756 2.738 1
  
The binary classification is presented at the last column of the result.
Result = 0 for an/a  original/single captured image; and 
Result = 1 for a recaptured image.

It is suggested to close the program every time before analyzing the new image in order to clear all graphic displays. 

Thank you.

If you have any inquiry about the program, please do not hesitate to make a contact at

  Thirapiroon Thongkamwitoon
Email: thirapiroon.t@nbtc.go.th  and  thirapiroon@gmail.com

Reference
[1] T.Thongkamwitoon, , H. Muammar, and P.L. Dragotti, "An Image Recapture Detection Algorithm Based on Learning Dictionaries of Edge Profiles", in IEEE Transactions on Information Forensics and Security, vol. 10, issue 5, January, 2015.
