Laser & Optoelectronics Progress, Volume. 57, Issue 22, 221006(2020)

An Improved Criminisi Image Inpainting Method Based on Information Entropy and Gradient Factor

Fengsui Wang1,2,3、*, Zhengnan Liu1,2,3, and Linjun Fu1,2,3
Author Affiliations
  • 1Key Laboratory of Advanced Perception and Intelligent Control of High-end Equipment, Ministry of Education, Wuhu, Anhui 241000, China
  • 2Anhui Key Laboratory of Electric Drive and Control, Wuhu, Anhui 241000, China
  • 3School of Electrical Engineering, Anhui Polytechnic University, Wuhu, Anhui 241000, China
  • show less

    In order to solve the shortcomings of the traditional Criminisi algorithm which the priority value tends to zero quickly and costs much inpainting time, an improved image inpainting algorithm is proposed based on information entropy and gradient factor. Firstly, the information entropy and the gradient factor for the image are fitted as weight factors, and the priority calculation method is optimized to find the optimal inpainting block. Secondly, the information entropy which can measure the complexity of the pixel block is used to adjust the search area of the matching block to establish a dynamic rule of the search area. Then, an adaptive model of the template size for the matching block is established with the help of the gradient factor to improve the optimal matching block search strategy. Finally, the sequential similarity detection algorithm is introduced to select the optimal matching block from the source region to achieve image inpainting. The experimental results show that compared with the traditional Criminisi algorithm, the proposed algorithm is effective both at the objective level and the subjective level. Moreover, the effectiveness of the image inpainting is more real, and the restored image has better visual effects.

    Tools

    Get Citation

    Copy Citation Text

    Fengsui Wang, Zhengnan Liu, Linjun Fu. An Improved Criminisi Image Inpainting Method Based on Information Entropy and Gradient Factor[J]. Laser & Optoelectronics Progress, 2020, 57(22): 221006

    Download Citation

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

    Category: Image Processing

    Received: Feb. 11, 2020

    Accepted: Mar. 31, 2020

    Published Online: Oct. 24, 2020

    The Author Email: Wang Fengsui (fswang@ahpu.edu.cn)

    DOI:10.3788/LOP57.221006

    Topics