{'fraction_non_alphanumeric': 0.0226928895612708, 'fraction_numerical': 0.0, 'mean_word_length': 5.554455445544554, '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}}
Morphological thinning based on image's edges

Thinning algorithms are widely used in image processing and pattern recognition. The skeleton obtained from them not only maintains the geometric and topologic features of the original image, but substantially reduces its redundancy also. This paper analyzes some characteristics of the skeleton obtained by morphological erosion and opening. An improved thinning method-morphological thinning based on image's edge is presented. The global skeleton got from it has much less discontinuities. Importantly, it's just one pixel wide. Finally, from skeleton subsets, the original image can be precisely reconstructed.