{'fraction_non_alphanumeric': 0.01728395061728395, 'fraction_numerical': 0.0, 'mean_word_length': 5.758333333333334, '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}}
Noise removal and enhancement of binary images using morphological operations

Mathematical morphological operations are commonly used as a tool in image processing for extracting image components that are useful in the representation and description of region shape. In this paper, six basic morphological operations are investigated to remove noise and enhance the appearance of binary images. Dilation, erosion, opening, closing, fill and majority operations are tested on twenty-five images and subjectively evaluated based on perceived quality of the enhanced images. Results of the experiments showed that noise can be effectively removed from binary images using combinations of erode-dilate operations. Also, the binary images are significantly enhanced using combinations of majority-close operations.