{'fraction_non_alphanumeric': 0.018633540372670808, 'fraction_numerical': 0.002484472049689441, 'mean_word_length': 5.152671755725191, '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 new fast median filtering algorithm based on FPGA

Edge detection plays an important role in the field of image processing. However, due to the random noise in images, image filtering should be taken in image preprocessing. The median filtering algorithm can suppress the noise in images, thus this algorithm is widely employed in many different fields. By analyzing the common 3 × 3 filtering window mathematical model and different median filtering algorithms, this paper proposes a fast median filtering algorithm based on Field Programmable Gate Array (FPGA). This algorithm can effectively reduce the compare operation and it is suitable to implement on FPGA. In addition, this paper also implements Sobel edge detection algorithm, which can accomplish edge detection from a median filtering image.