Professional Documents
Culture Documents
Artificial Neural Network Based Digital Image Forgery Detection
Artificial Neural Network Based Digital Image Forgery Detection
Forgery Detection
Rajeev Rajkumar Thounaojam Angaleima Chanu Ningthoujam Nejit Singh Khwairakpam Robinson Singh
Department of Computer Science & Engineering
Manipur Institute of Technology Takyelpat, Imphal.
{ rajeev.bono, leimaathouna, nejit123, robsimkhwairakpam } @gmail.com
Filtering
A copy-move forgery is a specific type of image manipulation
which denotes an image where part of its content has been
copied and pasted within the same image as shown in figure
2. Typical motivations are either to hide or to conceal
unwanted portion of an image, or to emphasize particular Post-processing
objects. A copy-move forgery is straight forward to create.
Additionally, both the source and the target regions stem from
the same image, thus properties like the color temperature,
illumination conditions and noise are expected to be well-
matched between the tampered region and the image. Most Fig 1: Common processing pipeline for the detection of
techniques follow a common pipeline, as shown in Fig. 1. copy-move forgeries. The feature extraction differs for
Copy-move forgery detection methods are either key point- keypoint-based features (top) and block-based features
based methods [3], [11],or block-based methods [4]–[7], [9], (bottom).
[10], [12]–[18].Preprocessing of the images is possible in
both the two cases. However ,for instance most methods
operate on gray- scale images, and as such require that the A forgery shall be reported if regions of such matches cluster
color channels be first merged. into larger areas. Both the keypoint and block-based methods
include further filtering for removing spurious matches. In
For every such region, a feature vector is computed and addition to this an optional post processing step of the
similar feature vectors are subsequently matched. By contrast, detected regions may also be performed, in order to group
keypoint-based methods compute their features only on matches that jointly follow a transformation pattern.
image regions with high entropy, without any image
subdivision. Similar features within an image are afterwards
matched.
The same procedure is repeated for every sub-block collected
to get 300 feature vectors and they are treated as feature
vectors for forged images. Sample feature vectors displayed in
Figure 1 and Figure 2, collected from manipulated images and
original images show significant differences. They are
oscillatory for the forged images.
(i) (ii)
Fig 2: (i) Original image (ii) a photograph of Lincoln's head was III. TRAINING ARITIFICIAL NEURAL NETWORK
superimposed onto a portrait of the southern leader John For training the neural network, two groups of feature vectors
Calhoun are collected, one group from the original images database and
. the other group from the forged images database. 300 feature
vectors (150 from original and 150 from forged images
II. FEATURE EXTRACTION database) are used to train the Back propagation Neural
The Digital Image data matrix is first divided into sub-blocks Network. The Aritificial Neural Network(ANN) used consists
each of size 50 X 50. Then every sub-block is reshaped and of 20 input neurons and 1 output neuron with 8 hidden
normalized to make the image data value vary between 0 to 1, neurons. Remaining 300 are used to test the ANN.
which can be attain by dividing each pixel value by 255
(maximum gray value). The resultant matrix is arranged as the IV. EXPERIMENTAL RESULT
row vector [1X2500]. The row vector is treated as 1D signal
and is modelled using ‘Auto Regressive’ modelling with 20 The images with digital forgery of the type 2 [Without copy
coefficients. This is called Auto Regressive coefficients. This move] are collected as the Image data. The Image data is
is randomly collected from different sub-blocks of different divided into sub-blocks of size 50X50. From every sub-block,
images. About 300 such feature vectors collected are treated feature vector is extracted as described above and is tested for
as feature vectors for the original images. The images used for originality using trained ANN. Original sub block is left as
the same are of high quality TIFF (Tagged Image File Format) such. The sub-blocks identified as forged are made white for
files or BMP (Bitmap) files. highlighting the area of forgery in the image. The sample
experiment results are displayed in figure 3.
The sub-blocks collected are again subjected to rotation, up-
sampling , down-sampling with 3 different levels and using
different techniques of interpolation like ‘Bilinear’, ’Bi-cubic’
and ‘Nearest’. Modified sub-blocks are reshaped, normalized
and modelled using ‘Auto Regressive’ modelling with 20
coefficients.
REFERENCES