{'fraction_non_alphanumeric': 0.02109704641350211, 'fraction_numerical': 0.0, 'mean_word_length': 5.326666666666667, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Tensor-based Technique for Structure-aware Image Inpainting

Image inpainting is an active area of study in computer graphics, computer vision and image processing. Different image inpainting algorithms have been recently proposed. Most of them have shown their efficiency with different image types. However, failure cases still exist, especially when dealing with local image variations. This paper presents an image inpainting approach based on structure layer modeling, where this latter is represented by the second-moment matrix, also known as the structure tensor. The structure layer of the image is first inpainted using the non-parametric synthesis algorithm of Wei and Levoy, then the inpainted field of second-moment matrices is used to constrain the inpainting of the image itself. Results show that using the structural information, relevant local patterns can be better inpainted comparing to the standard intensity-based approach.