{'fraction_non_alphanumeric': 0.015853658536585366, 'fraction_numerical': 0.0, 'mean_word_length': 5.515873015873016, '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}}
An improved non-local means algorithm for image denoising

Non-Local Means (NLM) denoising algorithm uses Gaussian weighted Euclidean distance to measure the similarity between neighborhoods, but when the image noise level is high, the distance measurement method is not well filtered noise. In this paper, an improved nonlocal mean filter image denoising algorithm is designed by analyzing the shortcomings of Gaussian weighted Euclidean distance in measuring neighborhood similarity. The gradient information of a filtered image is used and applied to the Gaussian weighting coefficient to achieve the purpose of adaptive filtering. The experimental results show that the algorithm has better denoising effect than traditional algorithm, especially when the noise level is high, it has high peak signal to noise ratio.