{'fraction_non_alphanumeric': 0.024411508282476024, 'fraction_numerical': 0.012205754141238012, 'mean_word_length': 5.239130434782608, '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}}
PU21: A novel perceptually uniform encoding for adapting existing quality metrics for HDR

Standard image quality metrics, such as PSNR or SSIM, cannot be directly computed on linear high dynamic range colour values because such values non-linearly related to our perception of visible differences. In this work, we develop a new encoding function (PU21) to convert absolute high dynamic range (HDR) linear colour values into approximately perceptually uniform (PU) values, which can be used with standard quality metrics. The proposed PU21 function is based on a recent contrast sensitivity model, fitted to the measurements up to 10000cd/m2. Unlike the conventional simplified approach of deriving PU functions based on peak sensitivities, we model realistic coding artefacts to find visibility thresholds for our derivation. Furthermore, the new PU accounts for the effect of glare on image quality. The proposed PU21 improves the accuracy of quality predictions for standard metrics of PSNR, VSI, FSIM, SSIM, and MS-SSIM in their correlation with subjective scores on HDR images included in UPIQ, one of the largest HDR image quality datasets.