Image Inpainting Algorithm Based on Priority and Matching Measurement

WU Cui-hong, QIANG Yan

Packaging Engineering ›› 2018 ›› Issue (21) : 189-197.

PDF(1420 KB)
PDF(1420 KB)
Packaging Engineering ›› 2018 ›› Issue (21) : 189-197. DOI: 10.19554/j.cnki.1001-3563.2018.21.034

Image Inpainting Algorithm Based on Priority and Matching Measurement

  • WU Cui-hong1, QIANG Yan2
Author information +
History +

Abstract

The work aims to propose an image inpainting algorithm based on priority improvement and matching optimization measurement, with respect to the problem that the current image inpainting algorithm achieves the matching measurement between repair block and matching block to complete the image restoration mainly by the fixed single template size, thus causing such deficiencies as certain blurring effect and ringing effect. First, the smoothing factor was constructed by the data item, the priority model was established to measure the priority of the pixel to be repaired, and the priority repair block was selected. Then, the four level template size was formulated. By means of square error and functions, combined with the template size characteristics, the matching measurement model was constructed to achieve the dynamic matching of repair block and matching block. The best matching template was selected to fill and restore the block to be repaired. Finally, the neighborhood gray differential model was constructed by the gray of the pixels to be restored and their neighborhood pixels, which could be used to stitch the edges of the repaired region and optimize the restoration effect. With the best matching measure, a confidence updating model was constructed to update the confidence item and realize the image restoration. The simulation results showed that, compared with the current image inpainting algorithm, the proposed algorithm had higher inpainting quality, and its output image was subject to no blurring effect and ringing effect. The proposed algorithm can better restore the damaged image and it has certain reference value in the field of image information processing.

Cite this article

Download Citations
WU Cui-hong, QIANG Yan. Image Inpainting Algorithm Based on Priority and Matching Measurement[J]. Packaging Engineering. 2018(21): 189-197 https://doi.org/10.19554/j.cnki.1001-3563.2018.21.034
PDF(1420 KB)

Accesses

Citation

Detail

Sections
Recommended

/