{'fraction_non_alphanumeric': 0.022318214542836574, 'fraction_numerical': 0.0, 'mean_word_length': 5.150442477876106, '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}}
Contrast-based image enhancement algorithm using grey-scale and colour space

The method presented encodes red, green and blue (RGB) images. When RGB images are added, the result inherently becomes darker due to summation of grey-scale images. This image is enhanced by adjusting brightness and contrast to achieve a visually pleasing image. The method developed uses hue saturation value (HSV) and contrast enhancement (CE) to obtain enhanced color images. It can be used to combine imaging modality of a multimodal data set to represent multimodal data sets in color image without data loss. In HSV color space, grey scale and color information are in separate channels, so the combined images do not suffer from the same darkening contrast as the images combined in RGB color space suffer. The method proposed first involves computation of mapping function, then gradient-based function is calculated to map image gradients based on grey-level (GL) intensity and eigenvalue computation is used for CE. Therefore, the contrast of GL components of gradient of an image is enhanced by a mapping function. A better visual output is ensured using the proposed algorithm which is evaluated using performance metrics. When compared to adaptive histogram equalisation and contrast-based imaging algorithms, the proposed technique gives significant performance in contrast and color enhancement.