{'fraction_non_alphanumeric': 0.007075471698113208, 'fraction_numerical': 0.0, 'mean_word_length': 5.640625, '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 compression algorithm using local edge detection

An algorithm to improve block truncation coding for image compression is proposed. Images to be compressed are first differentiated and edge information is extracted by investigation of the histogram of small nonoverlapping blocks of the differential image. The image is classified into visually active and visually continuous blocks which are then coded individually.