{'fraction_non_alphanumeric': 0.016037735849056604, 'fraction_numerical': 0.0, 'mean_word_length': 5.132947976878612, '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}}
An image inpainting technique based on nonparametric kernel estimation

Image inpainting is an important research topic in image processing and computer graphics, etc. Its objective is to restore the lost information or remove the unnecessary object according to around image information, which can be used to restore old photo, remove text and conceal errors in videos. However, previous algorithms are not to be perfectly performed. In this paper, a new image inpainting algorithm based on nonparametric kernel estimation is presented. From a statistical point of view, the inpainting can be viewed as an estimation problem with the missing data. Firstly, an initial value was estimated by using the known information as Taylor expansion at the missing point. And then a cost function was obtained by utilizing a Gaussian kernel function to penalize the estimate error. Finally, the missing data are restored through minimizing the cost function. Experimental results show that the proposed method can mend a large variety of images effectively and robustly.