{'fraction_non_alphanumeric': 0.015258215962441314, 'fraction_numerical': 0.0, 'mean_word_length': 4.923611111111111, '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}}
Scale adaptive side window bilateral filter

Recently a filtering method based on side windows has been reported. Although this method has strong ability to preserve edge structure, its ability to smooth textures is weaker than using a full window. In this paper, we propose a scale adaptive side window based bilateral filter (SASWBF). An expanding ratio parameter is designed to control the side window varying to the full window. To adapt the size of spatial kernel at each pixel, the scale of filtering window is estimated using a structure measure. A bilateral filter using Fourier basis is adopted to accelerate the filter processing. The computational complexity of the proposed smoothing filter does not depend on the window size and thus is in almost constant time. Our experimental results demonstrates that the proposed filter performs well.