Research and Implementation of Inpainting Algorithms for Old Photos
Shuili Zhang, Xue Dong Tian, Luying Huang, Huaiyuan Sun · Visual Communications and Image Processing · 2023
In view of the scratches and red spots caused by the impact of time, environment and shooting equipment on the old photos, this paper uses MATLAB as image processing simulation software to carry out the research and implementation of image inpainting algorithm. By comparing and analyzing the repair effect and operational efficiency of the three basic models based on partial differential equations: BSCB model, TV model, and CDD model, the method of introducing weights into the TV model is selected to perform simple repair on color photos and black and white photos with scratches and red dots, and the repair results of old photos are presented through the MATLAB GUI interface. The experimental results show that the introduction of weight values in the TV model not only has a significant effect on solving the problem of unidirectional extension of the equal illuminance line in the TV model, but also has a good effect on repairing scratches and red dots in small-scale color and black and white photos.