{'fraction_non_alphanumeric': 0.024301336573511544, 'fraction_numerical': 0.007290400972053463, 'mean_word_length': 5.484251968503937, '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}}
Images Perceived After Chromatic or Achromatic Contrast Sensitivity Losses

Purpose. We simulate how subjects with losses in chromatic and achromatic contrast sensitivity perceive colored images by using the spatiochromatic corresponding pair algorithm. Methods. This is a generalized version of the algorithm by Capilla et al. (J Opt Soc Am (A) 2004;21:176–186) for simulating color perception of color deviant subjects, which incorporates a simple spatial vision model, consisting of a linear filtering stage, with a band-pass achromatic filter and two low-pass chromatic ones, for the red-green and blue-yellow mechanisms. These filters, except for the global scaling, are the subject's contrast sensitivity functions measured along the cardinal directions of the color space. In its present form, the algorithm would serve to simulate alterations both in the spectral sensitivities and in the contrast sensitivities of the visual mechanisms. Results. After a preliminary theoretical study on the effect of frequency selective and overall reductions in the contrast sensitivity function of a single mechanism, we present cases of real subjects with glaucoma and diabetes, suffering alterations of different magnitude in the three mechanisms. Conclusions. The simulations allow us to learn about the different types of distortions that can be experienced by a subject with impaired contrast sensitivities (blur, haloes, color shifts, local or global contrast, brightness and colorfulness reductions, etc.) and highlight the difficulties arising when trying to predict the quality of the final image from the losses in the individual mechanisms.