{'fraction_non_alphanumeric': 0.014669926650366748, 'fraction_numerical': 0.0, 'mean_word_length': 4.990243902439024, '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 single image dehazing algorithm based on black and bright channel fusion

To solve the problem of inaccurate estimation of atmospheric light and transmission, this paper proposes a single image dehazing algorithm based on the fusion of black and bright channel. First, finding the block with the largest mean-gradient ratio in the image and the point closest to the maximum pixel value in the block, then taking the pixel value of this point as the atmospheric light. Secondly, the black channel map of haze image is obtained through a minimum filter and a corrosion operation, and the black channel transmission is calculated. Then, maximum filtering twice for haze image to obtain the bright channel map, and the transmission of bright channel map is calculated. The transmission of bright and black channel is fused to obtain the total transmission and then it is handled by guidedfiltering. Finally, the dehazing image is restored by the atmospheric scattering model. The experimental results show that our method can not only obtain more accurate value of atmospheric light and transmission, but also get a good dehazing result. The evaluation indicators of dehazing images are better than other two dehazing algorithms.