{'fraction_non_alphanumeric': 0.012135922330097087, 'fraction_numerical': 0.0, 'mean_word_length': 5.686486486486486, '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}}
Automatic Trimap Extraction for Efficient Alpha Matting based on Gradient Field Transforms

Image/Video Matting aims at solving the problem of accurate foreground estimation from a given background within still images or video sequences. The standard alpha matting method starts from a trimap, which separates an input image into three regions: definitely foreground, definitely background, and unknown regions. This paper presents an automatic trimap extraction based on an affine transformation of gradient fields in order to achieve an improved and robust Image/Video matting method. A gradient field based background and foreground segmentation technique provides a trimap extraction, which is robust to changing light conditions within semi-transparent objects. Our proposed background subtraction is based on affine transformed gradient projections of the input and background image and removes the background texture from a given image, preserving the texture of the foreground objects. The presented automatic trimap extraction method reduces the manual labor work in extracting and embedding target objects into a new background image or video sequences and might find its application within the broadcasting or movie industry.