{'fraction_non_alphanumeric': 0.018094089264173704, 'fraction_numerical': 0.0, 'mean_word_length': 5.102941176470588, '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}}
Non-local Means Image Denoising Algorithm Based on Edge Detection

Considering the problem that structure information can be easily lost when the edge and texture regions of image are denoised by the Non-Local Means (NL-Means) denoising algorithm, and a NL-Means image denoising algorithm based on edge detection is proposed in this paper. Firstly the edge detection in the noise image is got by using the improved Sobel operator, and then the detecting result is used to improve the weight function of NL-Means algorithm. To make the neighborhoods with similar structure obtain more weight, not only the weighted Euclidean distance but also the edge structure are considered when the similarity of neighborhoods is measured. Experimental results demonstrate that our algorithms performance is superior to the NL-Means algorithm.