The invention discloses an image tampering positioning method and
system based on edge guidance and multi-scale
feature fusion. The method comprises the following steps: firstly, constructing a
deep learning framework based on a Vision
Transformer (ViT)
backbone network, and realizing efficient modeling of local and global tampering features in an image in combination with a
content awareness residual module; in order to improve the accuracy and robustness of tampering
region detection, an edge guiding strategy is designed, and the strategy combines a
Sobel operator, morphological operation and an edge segmentation
loss function to reinforce tampering boundary feature expression, so that the sensitivity to an unnaturally fused region is improved. The invention further provides a multi-scale supervision mechanism, a coordinate attention module is combined, the model is guided to fuse semantic features under different scales, and the adaptive detection capability of the model on tampering regions with different scales is enhanced. In the implementation process, in the training stage, the
detection performance of the model on image tampering is gradually improved by optimizing all modules of the
deep learning network; and then, inputting an image to be detected by using the trained network, and automatically identifying and positioning a tampering region in the image. The method can effectively detect and position the tampering area of the image, has a wide application prospect, and can provide a more reliable and efficient image tampering detection solution especially in the fields of
digital forensics,
image content security and the like.