{'fraction_non_alphanumeric': 0.027204502814258912, 'fraction_numerical': 0.0, 'mean_word_length': 5.66875, '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}}
Image decomposition for selective encryption and flexible network services

We propose a novel image and video preprocessing technique (edge and residuum decomposition - ERD) that mainly concerns the decomposition of the image into three separate components: edge location; gray-tone or color inside the edges; residuum "smooth" image. While the residuum image is compatible with any natural-image encoder, new algorithms and solutions are introduced to achieve a compressed description of the edge-based information; the overall occupancy is comparable to that yielded by traditional image and video encoders. Both qualitative and quantitative results are shown, as well as an analysis of the separate components. Since all the components (edge position, edge color and residuum) are needed to completely describe the image, whilst some of them are particularly critical to recognize (and "preview") it, the proposed solution enables new encoding services, mainly selective encryption; just hiding edge positions leaves a perceptually meaningless image unencrypted.