Literature DB >> 25202612

Quantifying color variation: Improved formulas for calculating hue with segment classification.

Stacey D Smith1.   

Abstract

PREMISE OF THE STUDY: Differences in color form a major component of biological variation, and quantifying these differences is the first step to understanding their evolutionary and ecological importance. One common method for measuring color variation is segment classification, which uses three variables (chroma, hue, and brightness) to describe the height and shape of reflectance curves. This study provides new formulas for calculating hue (the variable that describes the "type" of color) to give correct values in all regions of color space. • METHODS AND
RESULTS: Reflectance spectra were obtained from the literature, and chroma, hue, and brightness were computed for each spectrum using the original formulas as well as the new formulas. Only the new formulas result in correct values in the blue-green portion of color space. •
CONCLUSIONS: Use of the new formulas for calculating hue will result in more accurate color quantification for a broad range of biological applications.

Entities:  

Keywords:  brightness; chroma; flower color; hue; reflectance spectrum; segment classification

Year:  2014        PMID: 25202612      PMCID: PMC4103106          DOI: 10.3732/apps.1300088

Source DB:  PubMed          Journal:  Appl Plant Sci        ISSN: 2168-0450            Impact factor:   1.936


Quantification of color variation is a crucial component of many evolutionary and ecological studies. Color is involved in a wide range of biological phenomena, such as thermoregulation, crypsis, mimicry, and communication (Chittka and Menzel, 1992; Endler, 1993; Forsman et al., 2002; Robertson and Rosenblum, 2009). In plants, color is particularly important for signaling to pollinators, attracting seed dispersers, and mediating interactions with herbivores (Gautier-Hion et al., 1985; Irwin et al., 2003; Fenster et al., 2004; Strauss and Cacho, 2013). Variation in color may appear in different parts of the same individual as well as among individuals of the same species and between individuals of different species. Measuring this color variation is commonly the first step in determining its biological significance. The way in which color is measured will depend on the objective of any given study, but can be broadly divided into two approaches, one which is independent of any particular visual system and one in which the observer of the object is taken into account (Endler, 1990; Chittka, 1992; Vorobyev and Osorio, 1998). Different observers can perceive the color of a given object differently, even in the same light environment, because of differences in their visual systems. For example, birds have four types of cones in their retinas (ultraviolet, short-, medium-, and long-wavelength) while humans only have the last three types (Bowmaker et al., 1997; Roorda and Williams, 1999). Other differences, such as the relative abundance of cone types and the spectral properties of the visual pigments, can further amplify differences in the spectral sensitivity and in the perceived color. Thus, when the visual system of the observer is well characterized, the most relevant measure of color is that which accounts for the spectral sensitivities of that observer. However, a measure of color independent of a particular species’ visual system is often more appropriate. Some research questions are not related to a particular observer, e.g., color variation as an adaptation to heat stress or other environmental conditions (Lacey et al., 2010). Also, comparative studies or meta-analyses are often not focused on a single observer and require color measurements that are comparable across species (Hodges et al., 2002; Altshuler, 2003; Smith et al., 2008; Parra, 2010). Finally, even when a certain observer is of interest, its visual system or that of a closely related species may not have been studied. In such cases, one of the most popular approaches for quantifying color is the segment classification method, which uses three variables (chroma, hue, and brightness) to describe the shape and height of reflectance spectra and identify their location in color space (Endler, 1990). These continuous variables are easily calculated, amenable to analysis, and often capture the majority of the variation present in color spectra (Grill and Rush, 2000). However, the original description of one of the variables, hue, is insufficient to calculate its value across the range of spectra in color space. Here I provide improved formulas for computing hue and give examples across the range of colors. Accurate and comparable measurements of hue are a necessity for any future meta-analyses of the growing body of color literature.

METHODS AND RESULTS

Quantifying and comparing colors with the segment classification method begins with the measurement of reflectance spectra. A reflectance spectrum is a graph depicting the amount of light reflected by an object at different wavelengths. These spectra are typically obtained using a light source and spectrometer with a fiber optic probe (e.g., from Gröbel UV-Elektronik, Ettlingen, Germany, or Ocean Optics, Dunedin, Florida, USA). The raw reflectance values are standardized by comparison to a white reference standard that evenly reflects all wavelengths of light (e.g., Spectralon, Labsphere, North Sutton, New Hampshire, USA). Examples of standardized reflectance spectra are shown in Fig. 1. Spectra differ by the total amount of light reflected (area under the curve) and the shape of the curve. For example, a red object will reflect more light in the upper “red” end of the spectrum while a white object will reflect all colors of light more or less equally.
Fig. 1.

Example reflectance spectra adapted from Endler (1990). The spectra are named as in the Munsell Book of Color (Munsell Color Company, 1976) with the format hue (number and letter) and value/chroma. The hues by letter are R (red), Y (yellow), GY (green-yellow), G (green), B (blue), BP (blue-purple), and P (purple). Red and yellow spectra appear in (A); yellow and green-yellow in (B); and green, blue, and purple in (C).

Example reflectance spectra adapted from Endler (1990). The spectra are named as in the Munsell Book of Color (Munsell Color Company, 1976) with the format hue (number and letter) and value/chroma. The hues by letter are R (red), Y (yellow), GY (green-yellow), G (green), B (blue), BP (blue-purple), and P (purple). Red and yellow spectra appear in (A); yellow and green-yellow in (B); and green, blue, and purple in (C). The segment classification method aims to capture the variation across reflectance spectra through three variables: chroma, hue, and brightness. Brightness (sensu Endler, 1990) is simply the total area under the curve from 400 to 700 nm, while chroma and hue are calculated by comparing values in different segments of the visible spectrum. First, the spectrum is divided among four equal segments (blue or “B”: 400–475 nm, green or “G”: 475–550 nm, yellow or “Y”: 550–625 nm, and red or “R”: 625–700 nm). The relative brightness of each segment is calculated by summing the area under the curve in that range and dividing by the total brightness. As many animals detect color by opposing input from different receptors (e.g., short-, medium-, and long-wavelength receptors), these relative brightness values are converted to a long vs. medium contrast (LM), which equals R-G, and a medium-short contrast (MS), which is Y-B. For any spectrum, the LM and MS values can be plotted in a two-dimensional graph where LM is the value along the y-axis and MS is the value along the x-axis (Fig. 2). In this color space, chroma (the saturation of color) is the radius, i.e., the distance of the spectrum from the origin. Following geometric principles, this value can be calculated as √(LM2 + MS2). Spectra with no chroma (white, gray, black) will appear at the center (the origin), and those with high chroma will appear toward the outside. Hue (H), the type of color, corresponds to the angle clockwise from the positive y-axis (Endler, 1990). Red colors will have small values (i.e., be close to 0°), while yellow, green, and blue colors will be near 90°, 180°, and 270°, respectively (Fig. 2).
Fig. 2.

(A) Color space with the segment classification system adapted from Endler (1990). R, Y, G, and B are red, yellow, green, and blue. The difference between long and medium (R and G) wavelengths (LM) is plotted against the difference between medium and short (Y and B) wavelengths (MS). For a given point, chroma (C) is the radius, the distance from the origin. Hue is measured as the angle clockwise from R (positive LM values). (B) Points in color space corresponding to the example reflectance spectra in Fig. 1. Values are given in Table 1.

(A) Color space with the segment classification system adapted from Endler (1990). R, Y, G, and B are red, yellow, green, and blue. The difference between long and medium (R and G) wavelengths (LM) is plotted against the difference between medium and short (Y and B) wavelengths (MS). For a given point, chroma (C) is the radius, the distance from the origin. Hue is measured as the angle clockwise from R (positive LM values). (B) Points in color space corresponding to the example reflectance spectra in Fig. 1. Values are given in Table 1.
Table 1.

Calculation of hue values with the original and revised segment classification methods. The proportion of brightness in each segment (R, Y, G, B) was measured from the spectra in Fig. 1 as described in the text. LM is the difference between R and G, and MS is the difference between Y and B. Hue (H) is given in degrees but could also be given in radians. Formulas for hue presented in the original description (Endler, 1990) and their corresponding values are given in the second and fifth formula lines. Revised formulas and the resulting values are in the remaining lines. Values in bold are the correct values given the sign of LM and MS; other (incorrect) values are shown unbolded for comparison. Values in italics would be correct if adjusted by modulus 2π.

VariablesSpec1Spec2Spec3Spec4Spec5Spec6Spec7Spec8Spec9Spec10Spec11
Brightness14.62112.24910.31823.85614.0118.89311.55412.30612.88411.33212.142
Red (R)0.6630.5470.3090.4640.3050.1300.2010.1340.0760.2820.401
Yellow (Y)0.2820.3340.2850.4000.4620.3220.3040.2100.0980.1320.122
Green (G)0.0310.0580.1970.1190.1920.4590.3450.4660.3940.1870.146
Blue (B)0.0240.0600.2080.0160.0420.0880.1500.1900.4330.3990.331
MS0.2570.2740.0770.3840.4200.2340.1530.020−0.335−0.267−0.209
LM0.6320.4890.1120.3450.113−0.329−0.145−0.333−0.3180.0940.255
Chroma, C = √(LM2 + MS2)0.6820.5600.1360.5160.4350.4040.2110.3330.4620.2830.329
H = arcsin(MS/C)22.1529.2734.4648.0874.9235.4246.683.38−46.20−70.52−39.34
If LM > 0, H = arcsin (MS/C) modulus 2π22.1529.2734.4648.0874.9235.4246.683.38313.51289.48320.66
If LM < 0, H = π − arcsin(MS/C)157.85150.73145.54131.92105.08144.58133.32176.62226.50250.52219.34
H = arccos(LM/C)22.1529.2734.4648.0874.92144.58133.32176.62133.5170.5239.34
H = sign(MS) * arccos (LM/C) modulus 2π22.1529.2734.4648.0874.92144.58133.32176.62226.50289.48320.66
As an angle ranging from 0–360° or 0–2π radians, hue can be calculated from x and y Cartesian coordinates (LM and MS) following basic principles of geometry. However, the original description of the metric (Endler, 1990) provided formulas that only result in correct values for a portion of color space. Here, I describe revised formulas that give correct values in all regions of color space and explain their application. I begin by reviewing the formulas originally presented (Endler, 1990), which use either LM or MS along with chroma (C) to calculate the angle H:When spectra fall into the upper right quadrant of the color space (Fig. 2), these formulas will provide correct values for H (Table 1). However, Eq. 1 will not give correct values in other quadrants, and Eq. 2 similarly gives incorrect values in the left quandrants where MS is negative (Table 1). This is because the signs of LM and MS are needed to specify the quadrant in which the point will fall before the correct angle can be calculated. Using the arcsine and modulus functions, the following equations will specify H, the angle clockwise from R:Similarly, hue can be calculated from the sign of MS and the values of LM and C with the arccosine function (Fig. 2A):It should be noted that measuring the angle clockwise from R differs from the convention in geometry, and standard trigonometric equations for converting x and y values (here, LM and MS) to polar coordinates will result in a different angle, one that moves counterclockwise from the positive x-axis. Calculation of hue values with the original and revised segment classification methods. The proportion of brightness in each segment (R, Y, G, B) was measured from the spectra in Fig. 1 as described in the text. LM is the difference between R and G, and MS is the difference between Y and B. Hue (H) is given in degrees but could also be given in radians. Formulas for hue presented in the original description (Endler, 1990) and their corresponding values are given in the second and fifth formula lines. Revised formulas and the resulting values are in the remaining lines. Values in bold are the correct values given the sign of LM and MS; other (incorrect) values are shown unbolded for comparison. Values in italics would be correct if adjusted by modulus 2π. To demonstrate the application of these formulas to standardized reflectance spectra, we used the same 11 spectra measured from the Munsell Book of Color (Munsell Color Company, 1976) that were used in the original paper (Endler, 1990). This edition of the Munsell book is no longer accessible, so the spectra were scanned and digitized using GetData Graph Digitizer 2.24 (http://getdata-graph-digitizer.com) from Endler (1990: Fig. 4). The raw spectral data are presented in Appendix 1 and are also available from the author upon request. Chroma, hue, and brightness were calculated from these spectra (Fig. 1) as described above (see also Appendix 1), and the LM and MS values were used to plot the spectra in color space (Fig. 2B). These values are presented in Table 1. As expected, spectra that reflect low amounts of light (e.g., spectrum 3) have low brightness scores while those, such as spectrum 4, that reflect highly in part or all of the spectrum show high brightness values. Chroma varied in relation to the contrast in relative brightness in segments of the spectrum; spectra with the strongest differences between reflectance in yellow and blue or red and green (e.g., spectrum 1) gave the highest chroma values. Application of either of the new equations (Eq. 3 and Eq. 4 or 5) resulted in hue values that correspond to the position of these points in color space (Table 1). Red spectra have low values (occurring in the first quadrant) while yellow, green, blue, and purple spectra have progressively higher values.

CONCLUSIONS

The differences in hue values between the original formulas and those presented here depend on the quadrant in which a spectrum appears. When both LM and MS are positive (red to yellow spectra), both sets of formulas return the same values. The original arccosine formula, but not the arcsine formula, will produce correct values when LM is negative but MS is positive (yellow to green spectra, Fig. 2). However when both LM and MS values are negative (e.g., spectrum 9, Fig. 2B), neither of the original formulas can provide the correct angle. Finally, neither formula gives the correct angle when LM is positive but MS is negative (blue-purple spectra 10 and 11), although value from the original arcsine formula would be correct if adjusted by modulus 2π. By contrast, the new formulas, which incorporate the signs of LM and MS, provide correct values in all sectors of color space. The application of these corrected formulas may improve the consistency of hue as a metric of color and facilitate its use in comparative studies. In testing methods for quantifying color variation, Grill and Rush (2000) found hue to be the least accurate among the three segment classification variables, particularly for green, blue, and purple spectra. However, this analysis relied on the original formulas, which give incorrect values in that portion of color space. Use of the revised formulas will result in accurate values for hue, a variable that can be directly compared across samples, be they different parts of an individual or different species in a clade. The paper describing the segment classification method (Endler, 1990) has been cited over 700 times, suggesting a potentially vast pool of color studies that would be amenable to broad meta-analyses. Such analyses, however, will be limited by the correct calculation of the color variables. As the correct values for hue can only be confirmed by analyzing the original spectra or, minimally, the LM and MS values, authors should deposit their spectra in publicly accessible repositories (e.g., Dryad [Piwowar and Vision, 2013] or the Floral Reflectance Database [Arnold et al., 2010]) to maximize the potential use of these data in future studies.
Table A1.

Standardized reflectance data for the 11 example spectra digitized from Endler (1990). See also Fig. 1. Values for R, Y, G, B, LM, MS, C, and H for these spectra are given in the text (Table 1).

Wavelength (nm)1234567891011
4000.0270.0570.1440.0280.0380.0460.0980.1170.1990.2270.225
4050.0250.0550.1470.0260.0370.0460.1030.1240.2550.2600.264
4100.0250.0540.1500.0260.0370.0460.1050.1280.2830.2840.281
4150.0240.0520.1480.0260.0370.0460.1070.1300.3000.3010.290
4200.0240.0500.1460.0260.0380.0460.1060.1350.3110.3110.297
4250.0240.0490.1440.0250.0380.0460.1070.1380.3380.3200.299
4300.0230.0490.1420.0250.0380.0460.1090.1400.3450.3270.297
4350.0230.0470.1420.0230.0380.0470.1110.1450.3790.3310.293
4400.0220.0470.1430.0250.0380.0480.1130.1520.4130.3330.287
4450.0220.0480.1410.0250.0400.0490.1170.1580.4400.3300.280
4500.0220.0460.1410.0250.0400.0520.1190.1660.4520.3240.268
4550.0220.0470.1400.0250.0400.0560.1220.1760.4610.3150.255
4600.0230.0470.1410.0270.0410.0630.1290.1860.4660.3010.241
4650.0230.0470.1390.0280.0410.0700.1390.2080.4680.2870.224
4700.0250.0460.1390.0280.0420.0790.1510.2350.4680.2680.212
4750.0250.0460.1380.0340.0430.0930.1700.2690.4650.2490.198
4800.0260.0450.1400.0370.0440.1060.1890.3170.4530.2310.182
4850.0260.0450.1380.0410.0470.1300.2170.3530.4450.2110.164
4900.0270.0460.1350.0430.0460.1540.2420.3980.4330.1860.149
4950.0270.0460.1330.0520.0490.1930.2640.4210.4130.1710.135
5000.0270.0470.1330.0600.0550.2230.2760.4340.3990.1520.124
5050.0280.0470.1360.0750.0680.2570.2850.4460.3750.1350.114
5100.0290.0440.1390.1000.0950.3110.2920.4410.3510.1230.107
5150.0290.0450.1380.1530.1320.3460.2940.4330.3250.1130.103
5200.0290.0440.1350.2020.1960.3760.2940.4220.3040.1000.093
5250.0300.0460.1320.2840.2600.3890.2950.4060.2710.0930.086
5300.0320.0470.1280.3410.3090.3930.2960.3860.2490.0910.083
5350.0360.0500.1310.4210.3900.3860.2940.3650.2190.0900.082
5400.0410.0530.1360.4700.4580.3730.2930.3350.1990.0900.080
5450.0430.0660.1420.5300.4950.3540.2890.3110.1700.0900.079
5500.0470.0790.1590.5590.5190.3340.2870.2930.1500.0900.079
5550.0600.1070.1720.5830.5310.3110.2830.2760.1290.0870.080
5600.0700.1370.1890.6050.5290.2860.2780.2510.1120.0840.082
5650.0970.1610.1970.6210.5240.2640.2750.2290.1000.0830.082
5700.1250.1920.2010.6300.5070.2430.2690.2100.0890.0810.081
5750.1610.2120.2030.6390.4870.2210.2590.1930.0840.0840.083
5800.2070.2470.2020.6460.4700.2020.2510.1760.0790.0910.086
5850.2690.2880.2030.6490.4490.1800.2420.1540.0740.1010.088
5900.2970.3200.2040.6530.4250.1630.2310.1390.0690.1080.093
5950.3450.3530.2030.6540.3970.1440.2190.1290.0680.1150.100
6000.4150.3780.2030.6580.3700.1260.2070.1210.0650.1180.112
6050.4660.3950.2020.6600.3450.1130.1930.1110.0620.1180.122
6100.4930.4040.2010.6620.3230.1010.1800.1020.0620.1160.127
6150.5220.4100.2020.6650.3040.0920.1710.1010.0600.1110.132
6200.5440.4130.2010.6660.2870.0860.1630.0980.0570.1080.133
6250.5590.4150.2010.6690.2820.0800.1560.0980.0590.1060.134
6300.5760.4160.2010.6730.2760.0780.1530.0950.0590.1110.138
6350.5890.4170.2000.6780.2680.0740.1490.0950.0590.1190.145
6400.5940.4170.2000.6820.2640.0720.1460.0950.0590.1280.157
6450.5980.4170.2000.6840.2590.0710.1420.0930.0600.1460.178
6500.6030.4180.2010.6890.2550.0690.1410.0930.0610.1620.210
6550.6070.4180.2010.6900.2490.0680.1380.0930.0630.1880.240
6600.6090.4190.2020.6930.2480.0660.1370.0950.0640.2050.277
6650.6110.4180.2000.6960.2510.0660.1360.0990.0650.2220.316
6700.6130.4200.1990.6960.2550.0660.1370.1020.0650.2380.342
6750.6170.4190.2000.6980.2600.0680.1400.1060.0640.2490.383
6800.6210.4200.1980.7000.2660.0700.1420.1090.0650.2560.409
6850.6210.4210.1990.7020.2720.0730.1450.1140.0610.2590.447
6900.6240.4210.1970.7050.2820.0750.1490.1140.0590.2630.471
6950.6260.4220.1960.7090.2910.0790.1530.1210.0580.2680.503
7000.6280.4220.1970.7090.2960.0810.1550.1240.0560.2720.522
  11 in total

1.  Coevolution of color pattern and thermoregulatory behavior in polymorphic pygmy grasshoppers Tetrix undulata.

Authors:  Anders Forsman; Karin Ringblom; Emilio Civantos; Jonas Ahnesjö
Journal:  Evolution       Date:  2002-02       Impact factor: 3.694

2.  The role of pollinator shifts in the floral diversification of Iochroma (Solanaceae).

Authors:  Stacey DeWitt Smith; Cécile Ané; David A Baum
Journal:  Evolution       Date:  2008-01-14       Impact factor: 3.694

3.  Genetics of floral traits influencing reproductive isolation between Aquilegia formosa and Aquilegia pubescens.

Authors:  Scott A Hodges; Justen B Whittall; Michelle Fulton; Ji Y Yang
Journal:  Am Nat       Date:  2002-03       Impact factor: 3.926

4.  Floral reflectance, color, and thermoregulation: what really explains geographic variation in thermal acclimation ability of ectotherms?

Authors:  Elizabeth P Lacey; Mary E Lovin; Scott J Richter; Dean A Herington
Journal:  Am Nat       Date:  2010-03       Impact factor: 3.926

5.  Color evolution in the hummingbird genus coeligena.

Authors:  Juan Luis Parra
Journal:  Evolution       Date:  2009-08-24       Impact factor: 3.694

6.  Receptor noise as a determinant of colour thresholds.

Authors:  M Vorobyev; D Osorio
Journal:  Proc Biol Sci       Date:  1998-03-07       Impact factor: 5.349

7.  Visual pigments and oil droplets from six classes of photoreceptor in the retinas of birds.

Authors:  J K Bowmaker; L A Heath; S E Wilkie; D M Hunt
Journal:  Vision Res       Date:  1997-08       Impact factor: 1.886

8.  The arrangement of the three cone classes in the living human eye.

Authors:  A Roorda; D R Williams
Journal:  Nature       Date:  1999-02-11       Impact factor: 49.962

9.  Nowhere to run, nowhere to hide: the importance of enemies and apparency in adaptation to harsh soil environments.

Authors:  Sharon Y Strauss; N Ivalú Cacho
Journal:  Am Nat       Date:  2013-05-22       Impact factor: 3.926

10.  FReD: the floral reflectance database--a web portal for analyses of flower colour.

Authors:  Sarah E J Arnold; Samia Faruq; Vincent Savolainen; Peter W McOwan; Lars Chittka
Journal:  PLoS One       Date:  2010-12-10       Impact factor: 3.240

View more
  7 in total

1.  Pollinators show flower colour preferences but flowers with similar colours do not attract similar pollinators.

Authors:  Sara Reverté; Javier Retana; José M Gómez; Jordi Bosch
Journal:  Ann Bot       Date:  2016-06-20       Impact factor: 4.357

2.  Night life on the beach: selfing to avoid pollinator competition between two sympatric Silene species.

Authors:  M Luisa Buide; José Carlos del Valle; Mônica Pissatto; Eduardo Narbona
Journal:  Ann Bot       Date:  2015-06-12       Impact factor: 4.357

3.  Changing How Biologists View Flowers-Color as a Perception Not a Trait.

Authors:  Jair E Garcia; Ryan D Phillips; Craig I Peter; Adrian G Dyer
Journal:  Front Plant Sci       Date:  2020-11-19       Impact factor: 5.753

4.  Multiple Sensory Modalities in Diurnal Geckos Is Associated with the Signaling Environment and Evolutionary Constraints.

Authors:  M S Kabir; R Venkatesan; M Thaker
Journal:  Integr Org Biol       Date:  2020-08-24

5.  Blurring of ancient wall paintings caused by binder decay in the pigment layer.

Authors:  Lizhen Zheng; Zhuorui Wang; Shukun Shen; Yin Xia; Yuhu Li; Daodao Hu
Journal:  Sci Rep       Date:  2020-12-03       Impact factor: 4.379

6.  Fading and showing mechanisms of ancient color relics based on light scattering induced by particles.

Authors:  L Z Zheng; X T Liang; S R Li; Y H Li; D D Hu
Journal:  RSC Adv       Date:  2018-01-03       Impact factor: 3.361

7.  Digital photography provides a fast, reliable, and noninvasive method to estimate anthocyanin pigment concentration in reproductive and vegetative plant tissues.

Authors:  José C Del Valle; Antonio Gallardo-López; Mª Luisa Buide; Justen B Whittall; Eduardo Narbona
Journal:  Ecol Evol       Date:  2018-02-16       Impact factor: 2.912

  7 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.