{'fraction_non_alphanumeric': 0.018907563025210083, 'fraction_numerical': 0.0, 'mean_word_length': 4.919254658385094, '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}}
A fast adaptive switching median filter based on measure-integral

Median filter was once the most popular nonlinear filter for removing impulse noise. In this paper, a new fast adaptive switching median filter (FASMF) based on measure-integral is proposed for improving the performance of median-based filters. This efficient filtering technique is implemented as a two pass algorithm. In the first pass, identification of corrupted pixels that are to be filtered is detected into a flag image. In the second pass, a variable window median filter is used to attenuate impulse noise. To improve the speed of median computation, a step function is employed to expand the array for median, then the relationship between median and measure-integral is deduced and an algorithm is gained by it. Experimental results show that our method can not only overcome the constraints in higher level impulse noise filtering but also gain the lower computation cost.