{'fraction_non_alphanumeric': 0.02756892230576441, 'fraction_numerical': 0.0, 'mean_word_length': 5.239583333333333, '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}}
Context-driven hybrid image inpainting

The existing non-hybrid image inpainting techniques can be broadly classified into two types. One is the texture-based inpainting and the other is the structure-based inpainting. One critical drawback of those techniques is that their inpainting results are not effective for the images with a mixture of texture and structure features in terms of visual quality or processing time. However, the conventional hybrid inpainting algorithms, which aim at inpainting images with texture and structure features, do not effectively deal with the two items: (i) what is the most effective application order of the constituents? and (ii) how can one extract a minimal sub-image that may contain best candidates of inpainting source? In this study, the authors propose a new hybrid inpainting algorithm to address the two tasks fully and effectively. Precisely, the authors’ algorithm attempts to solve two key ingredients: (i) (right time) determining the best application order for inpainting textural and structural missing regions and (ii) (right place) extracting the sub-image containing best candidates of source patches to be used to fill in a target region.