{'fraction_non_alphanumeric': 0.011650485436893204, 'fraction_numerical': 0.0, 'mean_word_length': 5.651612903225806, '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}}
Statitical control of thinning algorithm with implementation based on hierarchical queues

Homotopic grayscale thinning leads to over-connected skeleton when applied on noisy images. To avoid this phenomenon, the parametric thinning relaxes the thinning constraints by lowering low contrast crests, peaks and ends, according to a manually selected parameter and by using ascendant gray level treatment to guarantee the homotopy of the skeleton. We propose the control of this parameter by considering the lowering decision in the statistical framework of hypothesis testing. This leads to a local adjustment and a standardization of the parametric thinning process, regardless of the gray level image. The statistical adjustment linked the thinning parameter to both noise standard deviation and image contrast. The ascendant gray level treatment is ensured by using hierarchical queues operated in watershed algorithms. Results of the statistical adjustment and implementation are illustrated on synthetic images and real images.