Image Forensics‎ > ‎

Clone Detection

Copymove by John Graham-Cunning detects image manipulations which have been created with the clone tool.

NEW: Complete rewrite as CopyMove2:
Binaries (Linux, Windows, Mac):
Source Code:

NEW: GIMP plugin added. Compile and install with:
$ CC=g++ CFLAGS=-O3 LIBS=-lpthread gimptool-2.0 --install elsamuko-copy-move.c
You will find the plugin then under Image->Copy Move.

NEW2: W32 version added.

Update1: Linux version with multithreading and can be used for bigger images now.
Update2: Massive speed gain thanks to the hint of Luca Del Tongo:
The calculation only uses the lower frequencies of the DCT now.
Update3: Ignoring "boring" regions while comparison, e.g. where second and third DCT rings are zero.

Original (cc from Mark Hogan):

Cloned out sign:

 $ ./copymove warning_clone.jpg  2 10

Result: Manipulation detected :D

More information:
Y. Huang, et al., Improved DCT-based detection of copy-move forgery in images, Forensic Sci. Int.
(2010), doi:10.1016/j.forsciint.2010.08.001

El Samuko,
Oct 2, 2010, 5:57 AM
El Samuko,
Oct 6, 2010, 8:07 AM
El Samuko,
Oct 13, 2012, 12:36 PM
El Samuko,
Oct 13, 2012, 12:50 PM