{'fraction_non_alphanumeric': 0.01276595744680851, 'fraction_numerical': 0.0, 'mean_word_length': 4.983050847457627, '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}}
Natural Image Matting with Total Variation Regularisation

Image mating is the process of isolating the foreground in images and video. This task is challenging as it is severely under constrained. At each pixel we must estimate the foreground and background colour and the blending between them (alpha value). Most approaches calculate an affinity matrix and then minimise a system of linear equations to find the alpha matte. In this work we propose an extension to this class of affinity based matting techniques by introducing a Total Variation constraint over the alpha matte. We show that our Total Variation Regularisation method improves results in the presence of hard boundaries, gaps and holes.