{'fraction_non_alphanumeric': 0.014925373134328358, 'fraction_numerical': 0.0, 'mean_word_length': 5.101010101010101, '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}}
THRESHOLDING BY MEASURING THE FUZZY SETS SIMILARITY

Finding an optimal gray level threshold that can separate objects from background is an important issue. This paper proposes a new method for thresholding the image histogram into two crisp subsets, based on a fuzzy logic and maximization of a criterion function. In order to evaluate the performance of the proposed method, we apply the proposed method to the poorly illuminated OCR source images. The comparison of the thresholded images by the proposed method with the Otsu’s method and Kwon’s method, illustrates the effectiveness of this method.