23 August 2021 Adaptive image inpainting algorithm based on sample block by kriging pretreatment and facet model
Ruyi Han, Xin Liu, Shenghai Liao, Yixiao Li, Zerong Qi, Shujun Fu, Yuliang Li, Hongbin Han
Author Affiliations +
Abstract

We present an improved Criminisi image inpainting algorithm through kriging pretreatment and facet model. We propose three improvement strategies. First, we propose an improved priority. A priority used in Criminisi algorithm consists of confidence term and data term. As iteration progresses, the confidence term is updated and plays a key role in the confidence term of the next edge block. At the same time, the confidence term gradually tends to 0, leading to a weakening of the role of priority, and ultimately affecting the repair effect. We propose an improved priority, which is represented by a piecewise function. Importantly, this improved priority reduces the risk of being weakened during iteration. Second, Criminisi algorithm uses fixed-size sample blocks to repair damaged images, regardless of whether the image content is a textured area or a structure area. We introduce an adaptive method to select sample block size based on the facet model. The size of the sample block is adaptively adjusted for different image contents, thereby improving the quality of the repaired image. Third, we show a weighted sum of squares differences matching principle based on the facet model. The matching formula is determined by the pixel gray value of a sample block and the structure value of four directions, which improves matching accuracy between target block and optimal matching block. Finally, experimental results show that the proposed algorithm is competitive with some state-of-the-art inpainting techniques in terms of both objective metrics and subjective visual inspection.

© 2021 SPIE and IS&T 1017-9909/2021/$28.00 © 2021 SPIE and IS&T
Ruyi Han, Xin Liu, Shenghai Liao, Yixiao Li, Zerong Qi, Shujun Fu, Yuliang Li, and Hongbin Han "Adaptive image inpainting algorithm based on sample block by kriging pretreatment and facet model," Journal of Electronic Imaging 30(4), 043021 (23 August 2021). https://doi.org/10.1117/1.JEI.30.4.043021
Received: 18 March 2021; Accepted: 27 July 2021; Published: 23 August 2021
Lens.org Logo
CITATIONS
Cited by 2 scholarly publications.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Image quality

Detection and tracking algorithms

Visualization

Image processing

Bridges

Image restoration

Statistical modeling

RELATED CONTENT


Back to Top