Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Aug 7:10:e2205.
doi: 10.7717/peerj-cs.2205. eCollection 2024.

Detecting image manipulation with ELA-CNN integration: a powerful framework for authenticity verification

Affiliations

Detecting image manipulation with ELA-CNN integration: a powerful framework for authenticity verification

Ahmad M Nagm et al. PeerJ Comput Sci. .

Abstract

The exponential progress of image editing software has contributed to a rapid rise in the production of fake images. Consequently, various techniques and approaches have been developed to detect manipulated images. These methods aim to discern between genuine and altered images, effectively combating the proliferation of deceptive visual content. However, additional advancements are necessary to enhance their accuracy and precision. Therefore, this research proposes an image forgery algorithm that integrates error level analysis (ELA) and a convolutional neural network (CNN) to detect the manipulation. The system primarily focuses on detecting copy-move and splicing forgeries in images. The input image is fed to the ELA algorithm to identify regions within the image that have different compression levels. Afterward, the created ELA images are used as input to train the proposed CNN model. The CNN model is constructed from two consecutive convolution layers, followed by one max pooling layer and two dense layers. Two dropout layers are inserted between the layers to improve model generalization. The experiments are applied to the CASIA 2 dataset, and the simulation results show that the proposed algorithm demonstrates remarkable performance metrics, including a training accuracy of 99.05%, testing accuracy of 94.14%, precision of 94.1%, and recall of 94.07%. Notably, it outperforms state-of-the-art techniques in both accuracy and precision.

Keywords: CNN; Copy-move; ELA; Forgery; Image splicing; Tampering.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no competing interests.

Figures

Figure 1
Figure 1. The proposed image forgery framework.
Figure 2
Figure 2. The proposed CNN model architecture.
Figure 3
Figure 3. Successfully detecting authentic images.
(A) Original images. (B) The corresponding ELA images.
Figure 4
Figure 4. Successfully detecting forged images.
(A) Forged images. (B) The corresponding ELA. (C) The corresponding ground truth.
Figure 5
Figure 5. Misclassified forged images.
(A) Forged images. (B) The extracted ELA. (C) The corresponding ground truth.

References

    1. Abd Warif NB, Idris MYI, Wahab AWA, Salleh R. An evaluation of error level analysis in image forensics. 2015 5th IEEE International Conference on System Engineering and Technology (ICSET); Piscataway: IEEE; 2015. pp. 23–28.
    1. Alahmadi AA, Hussain M, Aboalsamh H, Muhammad G, Bebis G. Splicing image forgery detection based on dct and local binary pattern. 2013 IEEE Global Conference on Signal and Information Processing; Piscataway: IEEE; 2013. pp. 253–256.
    1. Alahmadi A, Hussain M, Aboalsamh H, Muhammad G, Bebis G, Mathkour H. Passive detection of image forgery using DCT and local binary pattern. Signal, Image and Video Processing. 2017;11(1):81–88. doi: 10.1007/s11760-016-0899-0. - DOI
    1. Alberry HA, Hegazy AA, Salama GI. A fast SIFT based method for copy move forgery detection. Future Computing and Informatics Journal. 2018;3(2):159–165. doi: 10.1016/j.fcij.2018.03.001. - DOI
    1. Ali SS, Ganapathi II, Vu N-S, Ali SD, Saxena N, Werghi N. Image forgery detection using deep learning by recompressing images. Electronics. 2022;11(3):403. doi: 10.3390/electronics11030403. - DOI

LinkOut - more resources