{'fraction_non_alphanumeric': 0.02048857368006304, 'fraction_numerical': 0.0, 'mean_word_length': 5.105769230769231, '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}}
Mean shift-based single image dehazing with re-refined transmission map

Bad weather (eg., fog and haze) significantly degrades the quality of outdoor images taken by camera, leading to the fact that most automatic systems, which strongly depends on the definition of the input images, fail to work normally. Thus, the improvement of the dehazing technology is highly desired. To overcome the disadvantages of traditional dark channel priorbased algorithm, we propose a more efficient dehazing algorithm combining dark channel prior and mean shift segmentation. Firstly, we take the operation of white balance on the input haze image to reduce the negative influence of color cast. Secondly, we use the mean shift segmentation algorithm to separate the sky regions from the foreground in the transmission map, which is obtained with the dark channel prior-based approach. Thirdly, we enhance the brightness of the sky regions in the transmission map independently and use guided image filtering to smooth the map. Finally, we restore the image with the re-refined transmission map. The experimental results demonstrate that the proposed approach is better able to handle the sky regions and solve the problem of color cast compared with the typical dehazing algorithms.