{'fraction_non_alphanumeric': 0.01337295690936107, 'fraction_numerical': 0.0, 'mean_word_length': 5.480769230769231, '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}}
Local histogram modification based contrast enhancement

This paper presents a novel contrast enhancement algorithm based on local histogram modification. A global method, which works by striking a balance between linear contrast enhancement and histogram equalization, is firstly introduced. We then segment images into rectangle regions and adaptively stretch contrast using our global enhancement algorithmin in each region to reproduce local contrast and details. In order to avoid boundary artifacts, we propose a bilateral weighting scheme. Our method is easy to use, and the experiment results show that the technique can produce good results on a variety of images.