Laser & Optoelectronics Progress, Volume. 60, Issue 16, 1610011(2023)

Image Inpainting of Damaged Textiles Based on Improved Criminisi Algorithm

Qi Li1, Long Li1, Wei Wang2、*, and Pengbo Nan1
Author Affiliations
  • 1School of Textile Science and Engineering, Xi'an Polytechnic University, Xi'an 710048, Shaanxi, China
  • 2Science Park, Xi'an Polytechnic University, Xi'an 710048, Shaanxi, China
  • show less

    For the inpainting of the images of textile cultural relics at the damaged parts, an improved algorithm is pro-posed based on K-means color segmentation and Criminisi algorithm. Due to the characteristics of textile cultural relics images, RGB images were converted into Lab color model, and K-means classifier was used to segment a* and b * layer data according to their colors to calibrate the edges of the patterns and narrow the search area of matching blocks. The standard deviation of L value was introduced to represent the color dispersion and the priority function and adaptive matching block were improved.The proposed algorithm and the three algorithms reported in the literature were used to repair the image of natural damaged textile relics and man-made damaged textile images, and the restoration results were evaluated. The experimental results show that the image restored by the proposed algorithm has natural texture, reasonable structure, and better peak signal-to-noise ratio, structural similarity, feature similarity, mean square error values.

    Tools

    Get Citation

    Copy Citation Text

    Qi Li, Long Li, Wei Wang, Pengbo Nan. Image Inpainting of Damaged Textiles Based on Improved Criminisi Algorithm[J]. Laser & Optoelectronics Progress, 2023, 60(16): 1610011

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Image Processing

    Received: Aug. 24, 2022

    Accepted: Oct. 19, 2022

    Published Online: Aug. 15, 2023

    The Author Email: Wang Wei (20000402@xpu.edu.cn)

    DOI:10.3788/LOP222378

    Topics