Although image inpainting based on the generated adversarial network (GAN) has made great breakthroughs in accuracy and speed in recent years, they can only process low-resolution images because of memory limitations and difficulty in training. For high-resolution images, the inpainted regions become blurred and the unpleasant boundaries become visible. Based on the current advanced image generation network, we proposed a novel high-resolution image inpainting method based on multi-scale neural network. This method is a two-stage network including content reconstruction and texture detail restoration. After holding the visually believable fuzzy texture, we further restore the finer details to produce a smoother, clearer, and more coherent inpainting result. Then we propose a special application scene of image inpainting, that is, to delete the redundant pedestrians in the image and ensure the reality of background restoration. It involves pedestrian detection, identifying redundant pedestrians and filling in them with the seemingly correct content. To improve the accuracy of image inpainting in the application scene, we proposed a new mask dataset, which collected the characters in COCO dataset as a mask. Finally, we evaluated our method on COCO and VOC dataset. the experimental results show that our method can produce clearer and more coherent inpainting results, especially for high-resolution images, and the proposed mask dataset can produce better inpainting results in the special application scene.
[1]
Gabriele Facciolo,et al.
Variational Framework for Non-Local Inpainting
,
2015,
Image Process. Line.
[2]
Rae-Hong Park,et al.
Red-eye detection and correction using inpainting in digital photographs
,
2009,
IEEE Transactions on Consumer Electronics.
[3]
Hiroshi Ishikawa,et al.
Globally and locally consistent image completion
,
2017,
ACM Trans. Graph..
[4]
Patrick Pérez,et al.
Non-Local Patch-Based Image Inpainting
,
2017,
Image Process. Line.
[5]
Adam Finkelstein,et al.
PatchMatch: a randomized correspondence algorithm for structural image editing
,
2009,
SIGGRAPH 2009.
[6]
Jiwen Lu,et al.
PCANet: A Simple Deep Learning Baseline for Image Classification?
,
2014,
IEEE Transactions on Image Processing.