Abstract
Researchers must assess similarities and differences in colour from an animal's eye view when investigating hypotheses in ecology, evolution and behaviour. Nervous systems generate colour perceptions by comparing the responses of different spectral classes of photoreceptor through colour opponent mechanisms, and the performance of these mechanisms is limited by photoreceptor noise. Accordingly, the receptor noise limited (RNL) colour distance model of Vorobyev and Osorio (Vorobyev & Osorio 1998 Proc. R. Soc. Lond. B 265, 351–358 (doi:10.1098/rspb.1998.0302)) generates predictions about the discriminability of colours that agree with behavioural data, and consequently it has found wide application in studies of animal colour vision. Vorobyev and Osorio (1998) provide equations to calculate RNL colour distances for animals with di-, tri- and tetrachromatic vision, which is adequate for many species. However, researchers may sometimes wish to compute RNL colour distances for potentially more complex colour visual systems. Thus, we derive a simple, single formula for the computation of RNL distance between two measurements of colour, equivalent to the published di-, tri- and tetrachromatic equations of Vorobyev and Osorio (1998), and valid for colour visual systems with any number of types of noisy photoreceptors. This formula will allow the easy application of this important colour visual model across the fields of ecology, evolution and behaviour.
Keywords: colour discrimination, colour perception, chromatic contrast, animal vision, photoreceptor
1. Background
Colour sensations are constructed by nervous systems via comparisons of the responses of different spectral classes of photoreceptor [1]. Across taxa there is considerable variation in the number of spectral classes of photoreceptor in the retina, and in the wavelengths of light to which these different spectral classes respond most strongly [1–3]. Consequently, animal colour sensations can differ substantially to our own, yet it is essential in many fields of enquiry to evaluate similarities and differences in colour from an animal's eye view.
The responses of an animal's photoreceptors to a particular stimulus can be computed, given the reflectance spectrum of that stimulus and its background, the spectral sensitivity functions of the animal's photoreceptors, and the spectrum of illuminant light [1,4,5]. The calculated responses of the relevant classes of photoreceptor can then be used to determine the position of the stimulus within that animal's colour space [1,6–9]. Often of interest is the question of whether particular colour loci can be discriminated from one another, and key to this issue is the idea that the performance of colour opponent mechanisms is limited by photoreceptor noise [4,10,11]. The receptor noise limited (RNL) model allows the discriminability of colours to be assessed in a way that accounts for photoreceptor noise [4,10,11] and consequently is among the most influential and well-used tools in studies involving animal colour vision.
The original publication of the RNL model provides equations allowing colour distances to be determined for di-, tri- and tetrachromatic visual systems [4]. Most animals with the capability of colour vision do indeed appear to be functionally di-, tri- or tetrachromatic, and theoretical analyses also suggest that such visual systems are adequate for extracting the information available in natural spectra. However, many organisms have photoreceptor machinery that could mediate more complex colour vision, even if the mechanisms employed for a particular behavioural task can be shown to be di-, tri- or tetrachromatic. For example in butterflies, screening pigments produce a wide variety of spectral types of receptor that varies among families, species and even sexes, with the extreme so far discovered being 15 spectral types of photoreceptor in Graphium sarpedon [12,13]. In spite of the potential for greater complexity, foraging in Papilio xuthus relies on a tetrachromatic mechanism [14], and oviposition behaviours in Papilio aegeus, Pieris brassicae, and Pieris rapae are adequately explained by tri- or tetrachromatic mechanisms [15,16]. Dragonflies have an extraordinary diversity of opsin genes whose expression varies with life stage and eye region, with more than 10 visual opsins expressed in the adult eye of some species [17], and their involvement in colour-driven behaviour is currently unknown; and the 12 spectral receptor classes serving colour vision in mantis shrimp operate as an unusual scanning colour recognition system unlike any other known colour visual mechanism [18]. For such organisms, the experimenter may wish to test the plausibility of any possible n-chromatic visual mechanism if the photoreceptors involved in a particular behavioural act are unknown or in doubt (c.f. [14,19]).
In other study species, visual mechanisms have the potential to be more complex than has been assumed, necessitating analysis of n-chromatic visual mechanisms. For example, in true flies five spectral classes of receptor are present through the majority of the retina [20,21]. Although it has often been assumed that colour discrimination relies only on the four classes of long visual fibre [21,22], evidence from Drosophila shows that the short visual fibres, previously assumed to serve achromatic functions only, contribute to colour discrimination [23]. Among the Tabanidae and Dolichopodidae, differently coloured lenses in different regions of the compound eye shift the sensitivities of photoreceptors within their ommatidia [24–27], raising the possibility that still more functional classes of receptor may exist. Outside of the insects, the double cones of fishes, reptiles, and birds are also assumed to serve achromatic tasks only, but there is evidence from blackbar triggerfish that they can contribute to colour discrimination in that species [28]. Thus, there may be a need for experimenters on such systems to consider n-chromatic visual mechanisms during their investigations.
In order to apply the RNL model to colour visual systems hypothesized to involve greater than four photoreceptors, experimenters have had to derive the relevant RNL model equations (such as those provided for pentachromatic and hexachromatic colour visual systems by [19]). Thus, to simplify the application of the RNL model to colour visual systems of any dimensionality, we derive a single equation that can be used to compute RNL colour distances for n-chromatic visual systems.
2. Basic assumptions
We begin with the fact that for any animal with the capability, colour stimuli are described by photoreceptor responses. The quantum catch of a photoreceptor, q, is computed by
2.1 |
where qi is the quantum catch of receptor i, Si(λ) is its spectral sensitivity function and Is(λ) is the spectrum of light entering the eye from a stimulus of interest, s. λ is the wavelength and ri is the range sensitivity factor, through which photoreceptor responses are adjusted to the spectrum of light entering the eye from the visual background, Ib:
2.2 |
The process of phototransduction leads to a non-linear relationship between quantum catch, qi, and photoreceptor response, fi [1,5,9]. The RNL model can be applied to linearly or non-linearly transformed photoreceptor responses and the two are equivalent for stimuli that are close to a reference [4,10,11].
We will assume that there are N receptors and that the output of receptor i has random noise with variance [4]. We follow the notation of Vorobyev et al. [11] and the usual assumptions [4] that:
for a visual system with N receptor channels, colour is encoded by N − 1 opponent mechanisms and the achromatic signal is discarded;
opponent mechanisms give zero signal for stimuli that differ from background in intensity only; and
thresholds are set by receptor noise, and not by opponent mechanisms.
The response of the N receptors to a stimulus can be represented by a column vector f where . (Superscript T indicates ‘transpose’.) Similarly, the output of the (N − 1) opponent mechanisms can be represented by a column vector x with (N − 1) components. It is also assumed [4,10,11] that x depends linearly on f. Hence the relationship between the two vectors can be written mathematically as
2.3 |
where F is an (N − 1) × N matrix with constant components.
As pointed out by Vorobyev & Osorio [4], assumption 2 imposes a constraint on the form of the matrix F. They show (their equation A8) that the sum of the components in each row of F must be zero. They consequently choose F to be the matrix which defines each xi by
2.4 |
for . As we wish to generalize the expressions published by Vorobyev & Osorio [4], we will follow their choice. No scaling factor is required in this equation as the colour distance is invariant under changes of the scale of each xi (see below).
Equation (2.4) implies that the outputs of the opponent mechanisms depend only on the differences between the outputs of the photoreceptors. It can be shown generally that any matrix F satisfying equation A8 in [4], and thus assumption 2, must have this property. What equation (2.4) does not do, is uniquely define the opponent mechanism outputs. Any linear combination of the differences ( fi − fj) is a possible choice of an opponent mechanism output satisfying assumption 2 and that choice will not affect the colour distance ΔS defined by Vorobyev & Osorio [4]. It is in this limited sense that the statement in assumption 3, that thresholds are not set by opponent mechanisms, is valid.
3. The Mahalanobis distance
We need to have a measure of the difference between the responses to two different stimuli. Let two responses be f and g with corresponding vectors x and y after the opponent mechanisms. Let and . Vorobyev & Osorio [4] suggested that in the N − 1 dimension space of x vectors, the distance between the two stimuli could be defined by ΔS where the square of ΔS is given by
3.1 |
Here R−1 is the inverse of R, the variance-covariance matrix of the variables xi.
The distance defined in equation (3.1) is known to statisticians as the Mahalanobis distance [29] after the Indian statistician who first used it. Note that although ΔS is referred to as a distance, it is actually a pure number as it is the ratio of the ‘distance’ between the two stimuli to the generalized standard deviation of the distribution. It gives the equivalent, in any number of dimensions, of the one-dimensional statement that two data points are ΔS standard deviations apart. Since it is a number, it has the property of ‘scale invariance’ which means that each xi can be rescaled without changing ΔS. It is also invariant under rotations of the axes in the space of the vectors x. This gives us the freedom to choose the opponent mechanisms' outputs in the manner mentioned in the previous section.
It should be noted that in the calculation of the variance-covariance matrix R, knowledge of the values of the means of the fi or xi are not required. While it is frequently stated that the variances of a distribution are independent of the position of the mean, in the RNL model this is a direct consequence of the implicit assumption that the variance of the noise, , is independent of the quantum catch of receptor i. Hence the variances of the noise are independent of the means of the receptor outputs fi and the variances and covariances of the xi are independent of their means also.
Following a suggestion from a referee (whom we thank) we define, along with Vorobyev & Osorio [4], δxi and δfi by and . Then , and, since the fi are independent, their covariances, with i ≠ j, are all zero.
Thus the diagonal terms of the matrix are
3.2 |
and the only non-zero, off-diagonal terms are
3.3 |
In all the above expressions, the brackets indicate averaging over the weighted values of the variable inside the brackets or both the variables if there are two.
To simplify the mathematical expressions below, from this point on we will write vi for . We will return to the usual notation in the final expression.
The matrix R is a symmetric, tridiagonal matrix:
3.4 |
The components of inverses of tridiagonal matrices are known to satisfy simple relationships [30]. The components of the inverse of the above matrix are given by
3.5 |
and
3.6 |
In these expressions the θi and are functions of the vi that satisfy known recurrence relations.
The θi satisfy the recurrence relation
3.7 |
for i = 2, … N − 1 with initial values and .
Similarly the satisfy
3.8 |
for with initial values and .
From equation (3.7), we have
3.9 |
The term in brackets on the right side of the equation is the same as the expression on the left side with i replaced by i − 1. Repeated substitution of the bracketed term in terms of the next lower value of i gives eventually
3.10 |
or
3.11 |
Using θ0 = 1 and we have and
3.12 |
It is clear that θi is the sum of all possible products of v1, v2, … vi+1 with just one v missing. It can be written concisely as
3.13 |
Note that the determinant of R−1 is θN−1 where
3.14 |
A similar reduction can be made for . The variances involved are vi to vN giving
3.15 |
When these expressions are entered into equations (3.5) and (3.6) the products of the vi cancel, giving
3.16 |
and
3.17 |
In terms of these components, since , equation (3.1) is
3.18 |
4. Simplification
Vorobyev & Osorio [4] demonstrated for trichromatic and tetrachromatic vision that much simpler expressions could be obtained if (ΔS)2 is expressed in terms of all the ½N(N − 1) squared differences . We will assume this is possible for any N and we will show that the result is a very simple formula.
Let
4.1 |
We can calculate the Ci,j by comparing the coefficients of and of in the two expressions (3.18) and (4.1). We can take any values of i and j we choose as (ΔS)2 does not depend on which receptor is labelled i and which is j. For simplicity choose i = 1. In equation (3.18) the coefficient of is where
4.2 |
while the coefficient of in (4.1) is . The two terms are equal if .
Similarly with i = 1 and j = 2 the coefficient of in equation (3.18) is .
is given by equation (4.2) and
4.3 |
Hence
4.4 |
which agrees with the coefficient of in equation (4.1) if . So the two expressions for (ΔS)2 are identical if . Consequently, we have that the square of the Mahalanobis distance between f and g for N receptors with (N − 1) opponent mechanisms is simply
4.5 |
We have replaced vi by in this result.
This equation agrees with the results published by Vorobyev & Osorio [4] for dichromatic, trichromatic and tetrachromatic vision. To demonstrate this we will consider the trichromatic case as an example.
When N = 3 equation (4.5) is
4.6 |
Multiplying both brackets by gives
4.7 |
Apart from reordering this is the same formula as given in [4].
5. Conclusion
Equation (4.5) gives (ΔS)2 for any number of receptor types. It can be simply stated as summed over all pairs of receptors divided by summed over all receptors. This equation allows the calculation of RNL colour distances for n-chromatic visual systems, facilitating the easy application of this model to investigate colour discrimination in organisms with complex visual systems and unknown chromatic mechanisms (c.f. [14,19]).
A key premise of the RNL model is that the discriminability of colour stimuli is set by receptor noise and not opponent mechanisms (assumption 3), and as such the way in which receptor responses are combined within opponent mechanisms (the matrix F in equation (2.3)) does not determine the discriminability of colour signals (e.g. [11]). However, we point out that the form of equation (4.5) depends critically on equation (2.4), which itself is determined by assumption 2. Hence in the RNL model, opponent mechanisms are not completely unspecified because their choice is restricted by assumption 2.
Acknowledgements
The authors thank two anonymous reviewers whose suggestions improved the manuscript.
Data accessibility
This article has no additional data.
Authors' contributions
R.C.C. and J.S.B. conceived the idea for the paper. R.C.C. conducted the mathematical work; J.S.B. and R.D.S. provided biological interpretation. R.C.C. and R.D.S. drafted the article, and all authors contributed to critical revisions. All authors have agreed to the final version.
Competing interests
We have no competing interests.
Funding
The authors received no specific funding to support this work. IBERS receives strategic funding from the Biotechnology and Biological Sciences Research Council (BBSRC).
References
- 1.Kelber A, Vorobyev M, Osorio D. 2003. Animal colour vision—behavioural tests and physiological concepts. Biol. Rev. 78, 81–118. (doi:10.1017/S1464793102005985) [DOI] [PubMed] [Google Scholar]
- 2.Briscoe AD, Chittka L. 2001. The evolution of color vision in insects. Annu. Rev. Entomol. 46, 471–510. (doi:10.1146/annurev.ento.46.1.471) [DOI] [PubMed] [Google Scholar]
- 3.Marshall J, Carleton KL, Cronin T. 2015. Colour vision in marine organisms. Curr. Opin. Neurobiol. 34, 86–94. (doi:10.1016/j.conb.2015.02.002) [DOI] [PubMed] [Google Scholar]
- 4.Vorobyev M, Osorio D. 1998. Receptor noise as a determinant of colour thresholds. Proc. R. Soc. Lond. B 265, 351–358. (doi:10.1098/rspb.1998.0302) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Chittka L, Kevan PG.. 2005. Flower colour as advertisement. In Practical pollination biology (eds Dafni A, Kevan PG, Husband BC), pp. 157–196. Cambridge, Ontario: Enviroquest Ltd. [Google Scholar]
- 6.Chittka L. 1992. The colour hexagon: a chromaticity diagram based on photoreceptor excitations as a generalized representation of colour opponency. J. Comp. Physiol. A 170, 533–543. (doi:10.1007/BF00199331) [Google Scholar]
- 7.Pike TW. 2012. Generalised chromaticity diagrams for animals with n-chromatic colour vision. J. Insect Behav. 25, 277–286. (doi:10.1007/s10905-011-9296-2) [Google Scholar]
- 8.Pike TW. 2012. Preserving perceptual distances in chromaticity diagrams. Behav. Ecol. 23, 723–728. (doi:10.1093/beheco/ars018) [Google Scholar]
- 9.Renoult JP, Kelber A, Schaefer HM.. 2015. Colour spaces in ecology and evolutionary biology. Biol. Rev. 92, 292–315. (doi:10.1111/brv.12230) [DOI] [PubMed] [Google Scholar]
- 10.Vorobyev M, Osorio D, Bennett ATD, Marshall NJ, Cuthill IC. 1998. Tetrachromacy, oil droplets and bird plumage colours. J. Comp. Physiol. A 183, 621–633. (doi:10.1007/s003590050286) [DOI] [PubMed] [Google Scholar]
- 11.Vorobyev M, Brandt R, Peitsch D, Laughlin SB, Menzel R. 2001. Colour thresholds and receptor noise: behaviour and physiology compared. Vision Res. 41, 639–653. (doi:10.1016/S0042-6989(00)00288-1) [DOI] [PubMed] [Google Scholar]
- 12.Stavenga DG, Arikawa K. 2006. Evolution of color and vision of butterflies. Arthropod Struct. Dev. 35, 307–318. (doi:10.1016/j.asd.2006.08.011) [DOI] [PubMed] [Google Scholar]
- 13.Chen P-J, Awata H, Matsushita A, Yang E-C, Arikawa K.. 2016. Extreme spectral richness in the eye of the common bluebottle butterfly, Graphium sarpedon. Front. Ecol. Evol. 4, 18 (doi:10.3389/fevo.2016.00018) [Google Scholar]
- 14.Koshitaka H, Kinoshita M, Vorobyev M, Arikawa K. 2008. Tetrachromacy in a butterfly that has eight varieties of spectral receptors. Proc. R. Soc. B 275, 947–954. (doi:10.1098/rspb.2007.1614) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Kelber A. 1999. Ovipositing butterflies use a red receptor to see green. J. Exp. Biol. 202, 2619–2630. [DOI] [PubMed] [Google Scholar]
- 16.Kelber A. 2001. Receptor based models for spontaneous colour choices in flies and butterflies. Entomol. Exp. Appl. 99, 231–244. (doi:10.1046/j.1570-7458.2001.00822.x) [Google Scholar]
- 17.Futahashi R, Kawahara-Miki R, Kinoshita M, Yoshitake K, Yajima S, Arikawa K, Fukatsu T. 2015. Extraordinary diversity of visual opsin genes in dragonflies. Proc. Natl Acad. Sci. USA 112, E1247–E1256. (doi:10.1073/pnas.1424670112) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Thoen HH, How MJ, Chiou T-H, Marshall J. 2014. A different form of color vision in mantis shrimp. Science 343, 411–413. (doi:10.1126/science.1245824) [DOI] [PubMed] [Google Scholar]
- 19.Morehouse NI, Rutowski RL. 2010. In the eyes of the beholders: female choice and avian predation risk associated with an exaggerated male butterfly color. Am. Nat. 176, 768–784. (doi:10.1086/657043) [DOI] [PubMed] [Google Scholar]
- 20.Hardie RC. 1986. The photoreceptor array of the dipteran retina. Trends Neurosci. 9, 419–423. (doi:10.1016/0166-2236(86)90136-0) [Google Scholar]
- 21.Lunau K. 2014. Visual ecology of flies with particular reference to colour vision and colour preferences. J. Comp. Physiol. A 200, 497–512. (doi:10.1007/s00359-014-0895-1) [DOI] [PubMed] [Google Scholar]
- 22.Troje N. 1993. Spectral categories in the learning behaviour of blowflies. Z. Naturforsch. 48, 96–104. [Google Scholar]
- 23.Schnaitmann C, Garbers C, Wachtler T, Tanimoto H. 2013. Color discrimination with broadband photoreceptors. Curr. Biol. 23, 2375–2382. (doi:10.1016/j.cub.2013.10.037) [DOI] [PubMed] [Google Scholar]
- 24.Lunau K, Knüttel H. 1995. Vision through colored eyes. Naturwissenschaften 82, 432–434. (doi:10.1007/BF01133678) [DOI] [PubMed] [Google Scholar]
- 25.Leertouwer HL, Stavenga DG. 2000. Spectral characteristics and regionalization of the eyes of Diptera, especially Tabanidae. Proc. Exper. Appl. Entomol. Neth. Entomol. Soc. 11, 61–66. [Google Scholar]
- 26.Stavenga D. G. 2002. Colour in the eyes of insects. J. Comp. Physiol. A 188, 337–348. (doi:10.1007/s00359-002-0307-9) [DOI] [PubMed] [Google Scholar]
- 27.Stavenga DG, Meglič A, Pirih P, Koshitaka H, Arikawa K, Wehling MF, Belušic G. 2016. Photoreceptor spectral tuning by colourful, multi-layered facet lenses in long-legged fly eyes (Dolichopodidae). J. Comp. Physiol. A 203, 23–33. (doi:10.1007/s00359-016-1131-y) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Pignatelli V, Champ C, Marshall J, Vorobyev M. 2010. Double cones are used for colour discrimination in the reef fish, Rhinecanthus aculeatus. Biol. Lett. 6, 537–539. (doi:10.1098/rsbl.2009.1010) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Mahalanobis PC. 1936. On the generalised distance in statistics. Proc. Natl Inst. Sci. India 2, 49–55. [Google Scholar]
- 30.Usmani R. 1994. Inversion of a tridiagonal Jacobi matrix. Linear Algebra Appl. 212/213, 413–414 (doi:10.1016/0024-3795(94)90414-6) [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
This article has no additional data.