Progressive mural repair method based on multi-scale feature extraction and edge guidance
Патент · CN B
Полный текст
The invention belongs to the technical field of image processing, and particularly discloses a progressive mural repair method based on multi-scale feature extraction and edge guidance, which comprises the steps of collecting a mural image to obtain a mural data set; the method comprises the steps of establishing a generated countermeasure network model, wherein a coarse network is of a coder-decoder structure with jump connection, a fine network introduces image edge information for enhancing structural information of images, a global refinement network introduces a self-attention mechanism and a multi-scale feature extraction module for capturing more global information, training the generated countermeasure network model by adopting a training set of a mural data set to obtain a generated countermeasure model of a three-stage network, and repairing a test set by adopting the trained generated countermeasure model. The invention utilizes the advantages of the edge guiding module, and can better acquire the obvious structural characteristics of the image by weighting and fusing the obvious image and the edge detection image, so that the edge structure of the generated image is more coherent and accords with semantic consistency.