optimizing color palettes for color vision deficiency. … · optimizing color palettes for color...

2
OPTIMIZING COLOR PALETTES FOR COLOR VISION DEFICIENCY. M. L. Shusterman 1 , B. R. Wing 1 and M. S. Robinson 1 , 1 School of Earth and Space Exploration, ASU, Tempe, AZ. [email protected] Introduction: The three cone types in the retina of the human eye (S, M, and L) are sensitive to short, me- dium, and long wavelengths within the visible spectrum and are responsible for producing color vision. Genetic color vision deficiency (CVD) is the result of photopig- ment dysfunctions that cause shifts in spectral peak sen- sitivities of one or more cones (Fig. 1). These shifts re- duce the number of perceivable colors and affect a per- son’s ability to perform color-based tasks including comparative, connotative, denotive, and aesthetic tasks [1]. CVD can also affect depth perception by reducing stereoacuity [2]. As much as 10% of humans have some form of color vision deficiency, including more than 8% of males and as many as 2% of females [3]. For those with CVD, a reduction in color matching ability causes difficulty in interpreting data including charts, maps, and figures. The prevalence of CVD demands a considered approach to displaying data in digital and print forms. Design schemes and color ramps are generally chosen for aes- thetic appeal and to highlight specific attributes, without accessibility in mind. Here we propose a new color ramp algorithm tailored for those affected by CVD. By applying functions determined by the human eye’s sen- sitivities to hue and luminance, and by considering the inherent reduction in observable colors for those with CVD, we generated color palettes perceivable to those with mild to moderate dichromacy. Figure 1. Normal sensitivity curves for S, M, and L cones in the human retina [5]. Methods: Our algorithm generates binned color palettes that are perceptible to those with CVD by max- imizing the apparent difference between adjacent mem- ber colors. Step 1: Select palette parameters. CVD-accessible palette construction begins with user-defined parame- ters including the desired number of bins and the selec- tion of end member colors. Step 2: Transform from RGB to HCL space. The most commonly used color space, and one accepted by all digital platforms, is RGB (red, green, blue). A major pitfall of the RGB model is that its inherent linearity does not address non-linearities in human visual percep- tion. The HCL (hue, chroma, luminance) model at- tempts to address this shortcoming with a perceptually uniform color space, meaning the distance between col- ors is consistent with how differently they are perceived [4]. In the HCL model, hue is expressed in degrees (- 180˚ to 180˚) and both chroma and luminance hold scaled values of 0-100 (Fig. 2). The transformation is performed as follows [4]: Figure 2. Schematic of RGB and HCL spaces. Step 3: Select intermediate hues. The two end mem- ber colors are plotted in HCL space and a line is inter- polated between the points. Intermediate hues are se- lected in constant intervals along this line, the distance between which is determined by the number of bins. To reduce the likelihood of generating imperceivably dif- ferent color pairs, we place a threshold on the maximum number of bins across hues where sensitivity to changes in color is low. Step 4: Select chroma values. The chroma value as- signed to each hue is given by the hue’s location along RGB HCL 2670.pdf 50th Lunar and Planetary Science Conference 2019 (LPI Contrib. No. 2132)

Upload: others

Post on 03-Jul-2020

67 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: OPTIMIZING COLOR PALETTES FOR COLOR VISION DEFICIENCY. … · OPTIMIZING COLOR PALETTES FOR COLOR VISION DEFICIENCY. M. L. Shusterman1, B. R. Wing1 and M. S. Robinson1, 1School of

OPTIMIZING COLOR PALETTES FOR COLOR VISION DEFICIENCY. M. L. Shusterman1, B. R. Wing1 and M. S. Robinson1, 1School of Earth and Space Exploration, ASU, Tempe, AZ. [email protected]

Introduction: The three cone types in the retina of

the human eye (S, M, and L) are sensitive to short, me-dium, and long wavelengths within the visible spectrum and are responsible for producing color vision. Genetic color vision deficiency (CVD) is the result of photopig-ment dysfunctions that cause shifts in spectral peak sen-sitivities of one or more cones (Fig. 1). These shifts re-duce the number of perceivable colors and affect a per-son’s ability to perform color-based tasks including comparative, connotative, denotive, and aesthetic tasks [1]. CVD can also affect depth perception by reducing stereoacuity [2].

As much as 10% of humans have some form of color vision deficiency, including more than 8% of males and as many as 2% of females [3]. For those with CVD, a reduction in color matching ability causes difficulty in interpreting data including charts, maps, and figures. The prevalence of CVD demands a considered approach to displaying data in digital and print forms. Design schemes and color ramps are generally chosen for aes-thetic appeal and to highlight specific attributes, without accessibility in mind. Here we propose a new color ramp algorithm tailored for those affected by CVD. By applying functions determined by the human eye’s sen-sitivities to hue and luminance, and by considering the inherent reduction in observable colors for those with CVD, we generated color palettes perceivable to those with mild to moderate dichromacy.

Figure 1. Normal sensitivity curves for S, M, and L cones in the human retina [5].

Methods: Our algorithm generates binned color palettes that are perceptible to those with CVD by max-imizing the apparent difference between adjacent mem-ber colors.

Step 1: Select palette parameters. CVD-accessible palette construction begins with user-defined parame-ters including the desired number of bins and the selec-tion of end member colors.

Step 2: Transform from RGB to HCL space. The most commonly used color space, and one accepted by all digital platforms, is RGB (red, green, blue). A major pitfall of the RGB model is that its inherent linearity does not address non-linearities in human visual percep-tion. The HCL (hue, chroma, luminance) model at-tempts to address this shortcoming with a perceptually uniform color space, meaning the distance between col-ors is consistent with how differently they are perceived [4]. In the HCL model, hue is expressed in degrees (-180˚ to 180˚) and both chroma and luminance hold scaled values of 0-100 (Fig. 2). The transformation is performed as follows [4]:

Figure 2. Schematic of RGB and HCL spaces.

Step 3: Select intermediate hues. The two end mem-ber colors are plotted in HCL space and a line is inter-polated between the points. Intermediate hues are se-lected in constant intervals along this line, the distance between which is determined by the number of bins. To reduce the likelihood of generating imperceivably dif-ferent color pairs, we place a threshold on the maximum number of bins across hues where sensitivity to changes in color is low.

Step 4: Select chroma values. The chroma value as-signed to each hue is given by the hue’s location along

RGB HCL

2670.pdf50th Lunar and Planetary Science Conference 2019 (LPI Contrib. No. 2132)

Page 2: OPTIMIZING COLOR PALETTES FOR COLOR VISION DEFICIENCY. … · OPTIMIZING COLOR PALETTES FOR COLOR VISION DEFICIENCY. M. L. Shusterman1, B. R. Wing1 and M. S. Robinson1, 1School of

the interpolated line. The dimensions of HCL space in-herently restrict the maximum ratio of chroma to lumi-nance for any given color.

Step 5: Select luminance values. The Commission Internationale de l’Eclairage’s (CIE) spectral luminance function describes the eye’s sensitivity to luminance with respect to wavelength (Fig. 3) [6]. Color generation algorithms that do not account for the eye’s non-linear sensitivity to luminance can produce artificially bright or dark colors that may unintentionally add meaning to portions of a dataset. To avoid this problem in our CVD algorithm, a normal distribution is applied to luminance values as a basis for interpolation between the user-se-lected end members. This systematic change in lumi-nance produces distinguishable palette colors without adding extraneous brightness or darkness to intermedi-ate members.

Figure 3. Sensitivity curve for luminance as defined by CIE [6]. Luminance is an especially important factor in color discrimination in the green (520-560 nm) range.

Results: The color selection method presented here is primarily effective for sequential and divergent ramps. We recommend that the number of bins be kept to 12 or fewer for sequential ramps and to 15 or fewer for divergent ramps. There are some hue ranges that will accommodate more bins, but it is important to consider the reduction in the number of perceivable colors for those with CVD. In general, palettes with fewer colors are more appropriate for wider accessibility.

Limitations: Significant limitations exist across red hues in both the palette algorithm and human vision; these are primarily due to low sensitivity to changes in luminance across the red wavelength range. The lack of sensitivity diminishes the effectiveness of altering the luminance parameter over these hues in order to gener-ate distinguishable colors. Modifications to the color se-lection method to address this area of deficiency are be-ing considered.

Conclusion: Selecting aesthetically pleasing, acces-sible palettes that are interpretable to those with color vision deficiency can be accomplished with the use of a dynamic palette-generation program. Flexibility in data visualization is made possible by allowing the user to select starting and ending colors and the number of bins in the generated palette. An algorithm that selects colors by applying functions consistent with human visual sen-sitivities while in a perceptually uniform color space makes this color selection method effective for mild to moderate dichromats.

References: [1] Cole B. L. (2004) Optometry, 87:4-5, 258-275. [2] Ozates S. et al. (2018) Eye, 1. [3] Choudhury A. R. (2014) Principles of Colour and Ap-pearance Measurement, 201-218. [4] Sarifuddin M. and R. Missaoui (2005) 28th ACM SIGIR Conf. [5] Bow-maker J. K. and H. J. A. Dartnall (1980) J. Physiol., 298, 501-511. [6] Goodman T. M. et al. (2016) CIE.

Figure 4. Mars Global Surveyor MOLA topog-raphy at 16 pixels per degree. The color ramp was generated using the methods outlined above.

21,100

-8,000

13, 600 8,900 6,100 4,500 3,100 2,100 1,200

-50 -1,800 -3,500 -5,400

Elevation (km)

2670.pdf50th Lunar and Planetary Science Conference 2019 (LPI Contrib. No. 2132)