Abstract
Color vision supports two distinct visual functions: discrimination and constancy. Discrimination requires that the visual response to distinct objects within a scene be different. Constancy requires that the visual response to any object be the same across scenes. Across changes in scene, adaptation can improve discrimination by optimizing the use of the available response range. Similarly, adaptation can improve constancy by stabilizing the visual response to any fixed object across changes in illumination. Can common mechanisms of adaptation achieve these two goals simultaneously? We develop a theoretical framework for answering this question and present several example calculations. In the examples studied, the answer is largely yes when the change of scene consists of a change in illumination and considerably less so when the change of scene consists of a change in the statistical ensemble of surface reflectances in the environment.
1 Introduction
Color vision supports two distinct visual functions: discrimination and constancy (Jacobs, 1981; Mollon, 1982). Color discrimination, the ability to determine that two spectra differ, is useful for segmenting an image into regions corresponding to distinct objects. Effective discrimination requires that the visual response to distinct objects within a scene be different. Across changes in scene, adaptation can improve discrimination by optimizing the use of the available response range for objects in the scene (Walraven, Enroth-Cugell, Hood, MacLeod, & Schnapf, 1990).
Color constancy is the ability to identify objects on the basis of their color appearance (Brainard, 2004). Because the light reflected from an object to the eye depends on both the object’s surface reflectance and the illumination, constancy requires that some process stabilize the visual representation of surfaces across changes in illumination. Early visual adaptation can mediate constancy if it compensates for the physical changes in reflected light caused by illumination changes (Wandell, 1995).
Although there are large theoretical and empirical literatures concerned with both how adaptation affects color appearance and constancy on the one hand (Wyszecki, 1986; Zaidi, 1999; Foster, 2003; Shevell, 2003; Brainard, 2004), and discrimination on the other (Wyszecki & Stiles, 1982; Walraven et al., 1990; Hood & Finkelstein, 1986; Lennie & D’Zmura, 1988; Kaiser & Boynton, 1996; Eskew, McLellan, & Giulianini, 1999), it is rare that the two functions are considered simultaneously. Still, it is clear that they are intimately linked since they rely on the same initial representation of spectral information. In addition, constancy is useful only if color vision also supports some amount of discrimination performance; in the absence of any requirement for discrimination, constancy can be achieved trivially by a visual system that assigns the same color descriptor to every object in every scene.1 The recognition that constancy (or its close cousin, appearance) and discrimination are profitably considered jointly has been exploited in a few recent papers (Robilotto & Zaidi, 2004; Hillis & Brainard, 2005).
Here we ask whether applying the same adaptive transformations to visual responses can simultaneously optimize performance for both constancy and discrimination. If the visual system adapts to each of two environments so as to produce optimal color discrimination within each, what degree of constancy is achieved? How does this compare with what is possible if adaptation is instead tailored to optimize constancy, and what cost would such an alternative adaptation strategy impose on discrimination performance?
To address these questions, we adopt the basic theoretical framework introduced by Grzywacz and colleagues (Grzywacz & Balboa, 2002; Grzywacz & de Juan, 2003; also Brenner, Bialek, & de Ruyter van Steveninck, 2000; von der Twer & MacLeod, 2001; Foster, Nascimento, & Amano, 2004; Stocker & Simoncelli, 2005) by analyzing task performance using explicit models of the visual environment and early visual processing. Parameters in the model visual system specify the system’s state of adaptation, and we study how these parameters should be set to maximize performance, where the evaluation is made across scenes drawn from a statistical model of the visual environment (see Grzywacz & Balboa, 2002; Grzywacz & de Juan, 2003). Within this framework, we investigate the trade-offs between optimizing performance for discrimination and for constancy. We begin in section 2 with consideration of a simple one-dimensional example that illustrates the basic ideas and then generalize in section 3. The work presented here complements our recent experimental efforts directed toward understanding the degree to which measured adaptation of the visual pathways mediates judgments of both color discrimination and color appearance (Hillis & Brainard, 2005).
2 Univariate Example
We begin with the specification of a model visual system, a visual environment, and performance measures. The basic structure of our problem is well illustrated for the case of lightness/brightness constancy and discrimination, and we begin with a treatment of this case.
2.1 Visual Environment
The model visual environment consists of achromatic matte surfaces lit by a diffuse illuminant. Each surface j is characterized by its reflectance rj, which specifies the fraction of incident illumination that is reflected. Each illuminant is specified by its intensity ei. The intensity of light ci,j, reflected from surface j under illuminant i is thus given by
(2.1) |
At any given moment, we assume that the illuminant ei is known and that the particular surfaces in the scene have been drawn from an ensemble of surfaces. The ensemble statistics characterize regularities of the visual environment. In particular, we suppose that
(2.2) |
where ~ indicates “distributed as” and N̄(μr, ) represents a truncated normal distribution with mean parameter μr and variance parameter . The overbar in the notation indicates the truncation, which means that the probability of obtaining a reflectance in the range 0 ≤ rj ≤ 1 is proportional to the standard normal density function, while the probability of obtaining a reflectance outside this range is zero. The truncated distribution is normalized so that the total probability across all possible values of rj is unity.
We are interested in (1) how well a simple model visual system can discriminate and identify randomly chosen surfaces viewed within a single scene and (2) how well the same visual system can discriminate and identify randomly chosen surfaces viewed across different scenes where the illumination, surface ensemble, or state of adaptation has changed.
2.2 Model Visual System
The model visual system has a single class of photoreceptor. At each location, the information transmitted by this photoreceptor is limited in two ways. First, the receptor has a limited response range. We capture this by supposing that the deterministic component of the response to surface j under illuminant i is given by
(2.3) |
where ui,j represents the visual response, ci,j represents the intensify of incident light obtained through equation 2.1, g is a gain parameter, and n is a steepness parameter that controls the slope of the visual response function. For this model visual system, the adaptation parameters g and n characterize the system’s state of adaptation. Across scenes, the visual system may set g and n to optimize its performance.
The second limit on the transmitted information is that the responses are noisy. We can capture this by supposing that the deterministic component of the visual responses is perturbed by zero-mean additive visual noise, normally distributed with variance .
2.3 Discrimination Task and Performance Measure
To characterize discrimination performance, we need to specify a discrimination task. We consider a same-different task. On each trial, the observer sees either two views of the same surface (same trials) or one view each of different surfaces (different trials), all viewed under the same light ei. The observer’s task is to respond “same” on the same trials and “different” on the different trials. On same trials, a single surface is drawn at random from the surface ensemble and viewed twice. On different trials, two surfaces are drawn independently from the surface ensemble. Independently drawn noise is added to the response for each view of each surface. This task is referred to in the signal detection literature as a roving same-different design (Macmillan & Creelman, 2005). The observer’s performance is characterized by a hit rate (fraction of “same” responses on same trials) and a false alarm rate (fraction of “same” responses on different trials).
It is well known that the hit and false alarm rates obtained by an observer in a same-different task depend on both the qualify of the information supplied by the visual responses (i.e., signal-to-noise ratio) and how the observer chooses to trade off hits and false alarms (Green & Swets, 1966; Macmillan & Creelman, 2005). By tolerating more false alarms, an observer can increase his or her hit rate. Indeed, by varying the response criterion used in the hit-false alarm trade-off, an observer can obtain performance denoted by a locus of points in what is referred to as a receiver operating characteristic (ROC) diagram (see Figure 1 and its caption). A standard criterion-free measure of the quality of information available in the visual responses is A′, the area under the ROC curve (Green & Swets, 1966; Macmillan & Creelman, 2005). In this letter, we use A′ as our measure of performance for both discrimination (as is standard) and constancy (see below).
2.4 Effect of Adaptation on Discrimination
To understand the effect of adaptation, we ask how the average A′ depends on the adaptation parameters, given the surface ensemble, illuminant, and noise. For a roving design, a near-optimal strategy is to compute the magnitude of the difference between the visual responses for two surfaces and compare this difference to a criterion C (Macmillan & Creelman, 2005). The intuition is that when the visual responses to the two surfaces are similar, the observer should say “same.” Let ui,j be the visual response to one surface under the given illuminant ei, ui,k to the other surface. The observer responds “same” if the squared response difference is less than C and “different” if .
For any pair of surfaces rj and rk, we can compute the values of the deterministic component of the corresponding visual responses (ui,j and ui,k), once we know the illuminant ei and the adaptation parameters g and n. Because of noise, the observed response difference varies from trial to trial. If the variance of the noise is , the distribution of the quantity is noncentral chi-squared with 1 degree of freedom and noncentrality parameter .2 Because scaling the visual response for both same and different trials by a common factor does not affect the information contained in these responses, a decision rule based on comparing criterion C′ = C/2σ2 leads to the same performance as one that compares to C. Thus, the known noncentral chi-square distributions on same and different trials may be used, along with standard signal detection methods, to compute hit and false alarm rates for a set of criteria. The resultant ROC curve may then be numerically integrated to find the value of .
To evaluate overall discrimination performance, we compute for many pairs of surfaces drawn according to the surface ensemble and compute an aggregate measure. Figure 2 illustrates how the gain parameter g affects discrimination performance for a single illuminant and surface ensemble, when the steepness parameter is held fixed at n = 2. The top shows histograms of for two choices of gain. As the gain parameter is changed from g = 0.010 (solid bars) to g = 0.021 (hatched bars), the values of increase, with fewer values near 0.5 and more values near 1.0.
To study how performance varies parametrically with changes in gain, we need a measure that summarizes the change in the distribution of the . In this letter, we use the mean of the for this purpose. For simplicity of notation, we denote this value by the symbol (script “D” for discrimination). The bottom panel of Figure 2 shows how varies with gain for four noise levels. There is an optimal choice of gain for each noise level (cf. Brenner et al., 2000), and the optimal gain does not vary appreciably with noise level. To provide some intuition about the state of the model visual system when the gain is optimized, the top right panel of Figure 3 shows the response function obtained for the optimal choice of gain when σn = 0.05. The histogram below the x-axis of this panel shows the distribution of reflected light intensities, while that to the left of the y-axis shows the distribution of visual responses. The histogram of responses appears more uniform than the histogram of light intensities. This general effect is expected from standard results in information theory, where maximizing the information transmitted by a channel occurs when the distribution of channel responses is uniform (Cover & Thomas, 1991). The response histogram is not perfectly uniform because varying the gain alone cannot produce this result and because our performance measure is rather than bits transmitted. Figure 6 below shows response histograms when both gain and steepness parameters are allowed to vary.
2.5 Effect of Illuminant Change on Discrimination
We can also investigate the effect of illumination changes on performance and how adaptation can compensate for such changes. First, consider the case where the adaptation parameters are held fixed. We can compute the performance measure for any visual environment. The filled circles and solid line in Figure 4 plot as a function of the illuminant intensity when the adaptation parameters, noise, and surface ensemble are held fixed. Not surprisingly, performance falls off with the change of illuminant: increasing the illuminant intensity pushes the intensity of the reflected light toward the saturating region of the visual response function and compresses the response range used.
The effect of increasing the illuminant intensity is multiplicative, so this effect can be compensated for by decreasing the gain (which also acts multiplicatively) so as to keep the distribution of responses constant. Perfect compensation is possible in this example because of the match between the physical effect of an illuminant change (multiplication of all reflected light intensities by the same factor) and the effect of a gain change (also multiplication of the same intensities by a common factor). In general, such perfect compensation is not possible.
2.6 Constancy
Suppose that instead of discriminating between surfaces seen under a common illuminant, we ask the question of constancy: How well can the visual responses be used to judge whether two surfaces are the same, when on each trial one surface is viewed in a reference environment and the other is viewed in a test environment? On same trials of the constancy experiment, the observer sees a surface in the reference environment and the same surface in the test environment. On different trials, the observer sees one surface in the reference environment and a different surface in the test environment. As in the discrimination experiment, the observer must respond “same” or “different.” The test and reference environments can differ through a change in illuminant, a change in surface ensemble, a change in adaptation parameters, or all of these.
We assume that the observer continues to employ the same basic distance decision rule applied to the visual responses, with the decision variable evaluated across the change of environment: . On same trials, the expression is evaluated for a single surface across the change (rk = rj), and on different trials, the expression is evaluated for two draws from the surface ensemble. In the notation, the arrow indicates that the response difference is evaluated across the change from reference to test environment. Basing the decision rule on the response difference models the fact that in our framework, the observer has no explicit knowledge of the illuminant, surface ensemble, or state of adaptation—all effects of adaptation on performance are modeled explicitly with a change in adaptation parameters.3
The quantity A′ remains an appropriate measure of performance across a change in visual environments, as it continues to characterize how well hits and false alarms trade off as a function of a decision criterion. For any pair of surfaces, we denote the value of A′ obtained across the change as . We obtain an aggregate performance measure by computing the mean of the . To emphasize the fact that the performance measure for constancy is computed across a change in visual environments, we denote this measure by the symbol (script “C” for constancy) rather than overloading the meaning of the symbol . Evaluating requires specification of the illuminant and adaptation parameters for both test and reference environments, as well as the surface ensemble and noise level over which the are evaluated. Note that may be regarded as a special case of when the illumination, surface, and adaptation parameters are all held fixed, so that the test and reference environments are identical.
As an example, the open circles and dashed line in Figure 4 show how constancy performance falls off with a change in test illuminant when there is no compensatory change in adaptation parameters. The reference illuminant had intensity 100, and the x-axis provides the intensity of the test illuminant. Constancy performance was evaluated across draws from the surface ensemble common to the reference and test environments.
As with the effect of the illuminant change on within-illuminant discrimination performance, the deleterious effect of the illuminant change on constancy may be eliminated if an appropriate gain change occurs between the test and reference scenes. This is because changing the gain with the illumination can restore the responses under the test light back to their values under the reference light.
2.7 Trade-offs Between Discrimination and Constancy
When the adaptation parameters include a gain change, adaptation can compensate perfectly for changes in illumination intensity so that discrimination performance (obtained in a discrimination experiment) remains unchanged and constancy performance (obtained in a constancy experiment with a change of illuminant intensity and a gain change that compensates for it) is at ceiling given discrimination. More generally, there will be cases where the adaptation parameters available within a given model visual system are not able to compensate completely for environmental changes. This raises the possibility that the adaptation parameters that optimize discrimination may differ from those that optimize constancy.
Consider the case of an illuminant change where the gain parameter is held fixed and the steepness parameter n is allowed to vary between test and reference environments. Each connected set of solid circles in the left panel of Figure 5 plots against for various choices of the steepness parameter. The five different sets shown were computed for different levels of noise. The point at the lower right of each set indicates performance when the steepness parameter was chosen to maximize for the test illuminant, while the point at the upper left plots performance when the steepness parameter was chosen to maximize , evaluated across the change from reference to test illuminant. The points between these two extremes represent performance obtained when the steepness parameter was chosen to maximize either the expression − w( − 0)2 or the expression − w( − 0)2 Maximizing these expressions pushes the value of the leading measure as high as possible while holding the value of the other measure close to a target value. Which expression was used, as well as values of w, 0, and 0, were chosen by hand so that the trade-off curve represented by each connected set was well sampled. Values of w and 0 or 0 were held fixed during the optimization for individual points on the trade-off curves. All optimizations were performed in Matlab using routines from its Optimization Toolbox (Version 3).
Figure 5 shows that there is a trade-off between the two performance measures—optimizing for constancy results in decreased discrimination performance and vice versa. Indeed, the open circles connected by the dashed line show the performance points that could be obtained for each noise level if there were no trade-off between discrimination and constancy. These were obtained as the points ( max, max) where the maxima were obtained over the trade-off curves for each noise level.
Although the trade-off curves do not include the open points, the distance between each trade-off curve and its corresponding no-trade-off point is not large. One way to quantify this distance is to ask, for each trade-off curve, how much the visual noise would have to be reduced so that performance at the no-trade-off point was feasible. We call this noise reduction the equivalent trade-off noise. To find its value, we treat each solid point as a triplet (, σn) and use bilinear interpolation to find σn as a function of and . We then identify the value of σn corresponding to each ( max, max). For the trade-off curve corresponding to visual noise level σn = 0.10 (the lowest left curve in the left panel of Figure 5), for example, the noise level corresponding to ( max, max) is 0.092, leading to an equivalent trade-off noise value of 0.008. The right panel of Figure 5 plots the equivalent tradeoff noise versus noise level σn.4 The mean value was 0.005 ± 0.003 S.D. If there were no trade-off, performance at the point ( max, max) would be possible for each noise level, but to achieve each ( max, max) requires, on average, a reduction of the visual noise by 0.005.
2.8 Intermediate Discussion
The example above illustrates our basic approach to understanding how adaptation affects both discrimination and constancy. The example illustrates a number of key points. First, as is well known, adaptation is required to maintain optimal discrimination performance across changes in the state of the visual environment (Walraven et al., 1990). Second, adaptation is also necessary to optimize performance for constancy, when we require that surface identity be judged directly in terms of the visual responses. The link between adaptation and constancy has also been explored previously (Burnham, Evans, & Newhall, 1957; D’Zmura & Lennie, 1986; Wandell, 1995). What is new about our approach is that we have set our evaluations of both discrimination and constancy in a common framework by using an A′ measure for both. This allows us to ask questions about how any given adaptation strategy affects both tasks and whether common mechanisms of adaptation can simultaneously optimize performance for both. The theory we develop is closely related to measurements of lightness constancy made by Robilotto and Zaidi (2004), who used a forced-choice method to measure both discrimination within and identification across changes in illuminant. Our theory allows us to quantify the trade-off between constancy and discrimination, either by examination of the shape of trade-off curves or through the equivalent trade-off noise concept.
2.9 Contrast Adaptation
Changing the illuminant is not the only way to change the properties of the environment. Within the context of the univariate case introduced above, we can also vary both the mean and variance of the surface ensemble. Such variation might occur as a person travels from, say, the city to the suburbs during an afternoon commute. There is good evidence that the visual system adapts to changes in the variance of the reflected light. This is generally called contrast adaptation (Krauskopf, Williams, & Heeley, 1982; Webster & Mollon, 1991; Chubb, Sperling, & Solomon, 1989; Zaidi & Shapiro, 1993; Jenness & Shevell, 1995; Schirillo & Shevell, 1996; Brown & MacLeod, 1997; Bindman & Chubb, 2004; Chander & Chichilnisky, 2001; Solomon, Peirce, Dhruv, & Lennie, 2004). Here we expand our analysis by considering changes to the mean and variance of the surface ensemble and explore the effect of adaptation to such changes on both discrimination and constancy, using the approach developed above.
Given a particular illuminant, we used numerical search to find the values of g and n that optimized for two visual environments that differed in terms of their surface ensembles (surface ensemble 1 and surface ensemble 2). The illuminant was held constant across the change in visual environment. This calculation tells us how the adaptation parameters should be chosen under a discrimination criterion. Figure 6 shows the results. We see in the middle panel in the top row that the visual response function under surface ensemble 2 has shifted to the right and become steeper. The effect of this adaptation is to distribute the visual responses fairly evenly across the available response range for each ensemble (cf. Fairhall, Lewen, Bialek, & de Ruyter van Steveninck, 2001). The gain and steepness parameters that optimize discrimination for surface ensemble 1 and surface ensemble 2 are different.
Suppose now that we evaluate constancy by computing across the change in visual environment and adaptation parameters required to optimize discrimination for the two surface ensembles.5 The lower right points on each of the trade-off curves in Figure 7 plot this value of against the corresponding value of for five different noise levels. The resultant value is very low (see Figure 7). This low value occurs because the change in adaptation parameters remaps the relation between surface reflectance and visual response (see the dashed lines in the response function panel of Figure 6).
Rather than choosing adaptation parameters for the test environment to optimize discrimination performance , one can instead choose them to optimize constancy performance . This choice leads to quite different adaptation parameters and to different values of and . Here the best adaptation parameters for surface ensemble 2 are very similar (but not identical) to their values for surface ensemble 16 and constancy performance is better (upper left points on the trade-off curves shown in Figure 7). Discrimination performance suffers, however.
More generally, the visual system can choose adaptation parameters that trade off against . This trade-off is shown in Figure 7 in the same format as Figure 5.7 If there were no trade-off, each set of connected dots would pass through the corresponding open circle. We quantify the deviation as before, using the equivalent trade-off noise. The right panel of Figure 7 plots equivalent trade-off noise against visual noise. The average value is 0.029 ± 0.012 SD, larger than the average value of 0.005 obtained for the illuminant change example.
The comparison shows that adapting to optimize discrimination in the face of changes in the distribution of surfaces in the environment is not always compatible with adapting to maximize constancy across the same change in surface ensemble. The intuition underlying this result is relatively straightforward: changing the surface ensemble affects the optimal use of response range and hence leads to a change in adaptation parameters for optimizing discrimination, but it does not affect the mapping between surface reflectance and receptor response. Thus, any change in adaptation parameters perturbs the visual response to any fixed surface.
3 Chromatic Adaptation
The univariate example presented above illustrates the key idea of our approach. In this section, we generalize the calculations to a more realistic trichromatic model visual system and a more general parametric model of adaptation. In addition, in comparing adaptation to changes in illumination and changes in surface ensemble, we develop a principled method of equating the magnitude of the changes. The overall approach, however, is the same as for the univariate example.
We begin with a standard description (Wandell, 1987; Brainard, 1995) of the color stimulus and its initial encoding by the visual system. Each illuminant is specified by its spectral power distribution, which we represent by a column vector e. The entries of e provide the power of the illuminant in a set of Nλ discretely sampled wavelength bands. Each surface is specified by its spectral reflectance function, which we represent by a column vector s. The entries of s provide the fraction of incident light power reflected in each wavelength band. The light reflected to the eye has a spectrum described by the column vector
(3.1) |
where diag() is a function that returns a square diagonal matrix with the elements of its argument along the diagonal. The initial encoding of the reflected light is the quantal absorption rate of the L-, M-, and S-cones. We represent the spectral sensitivity of the three cone types by a 3 × Nλ matrix T. Each row of T provides the sensitivity of the corresponding cone type (L, M, or S) to the incident light. The quantal absorption rates may then by computed as
(3.2) |
where q is a three-dimensional column vector whose three entries represent the L-, M-, and S-cone quantal absorption rates. We used the Stockman and Sharpe (2000) estimates of the human cone spectral sensitivities (2 degree), and we tabulate these in the supplemental material (http://color.psych.upenn.edu/supplements/adaptdiscrimappear/).
As with the univariate example, we model visual processing as a transformation between cone quantal absorptions (q) and visual responses. Here we model the deterministic component of this transformation as
(3.3) |
where u is a three-dimensional column vector representing trivariate visual responses, D is a 3 × 3 diagonal matrix whose entries specify multiplicative gain control applied to the cone quantal absorbtion rates, M is a fixed 3 × 3 matrix that describes a postreceptoral recombination of cone signals, q0 is a three-dimensional column vector that describes subtractive adaptation, and the vector-valued function f() applies the function fi() to the ith entry of its vector argument. Because incorporation of subtractive adaptation allows the argument to the nonlinearity to be negative, we used a modified form of the nonlinearity used in the univariate example:
(3.4) |
This nonlinearity maps input x in the range [−∞, ∞] from the real line into the range [0,1]. We allow the exponent ni to vary across entries. The matrix M was chosen to model, in broad outline, the postreceptoral processing of color information (Wandell, 1995; Kaiser & Boynton, 1996; Eskew et al., 1999; Brainard, 2001):
(3.5) |
This choice of M improves discrimination performance by approximately decorrelating the three entries of the visual response vector prior to application of the nonlinearity and the injection of noise (Buchsbaum & Gottschalk, 1983; Wandell, 1995).
As with the univariate example, we assume that each entry of the deterministic component of the visual response vector is perturbed by independent zero-mean additive visual noise that is normally distributed with variance .
We characterized the reference environment surface ensemble using the approach developed by Brainard and Freeman (Brainard & Freeman, 1997; Zhang & Brainard, 2004). We assumed that the spectral reflectance of each surface could be written as a linear combination of Ns basis functions via
(3.6) |
Here Bs is an Nλ × Ns matrix whose columns provide the basis functions, and ws is an Ns-dimensional vector whose entries provide the weights that describe any particular surface as a linear combination of the columns of Bs. We then assume that surfaces are drawn from an ensemble where ws is drawn from a truncated multivariate normal distribution with mean vector w̄ and covariance matrix Kw. The truncation is chosen so that the reflectance in each wavelength band lies within the range [0, 1]. We obtained Bs by computing the first eight principal components of the reflectance spectra measured by Vrhel, Gershon, and Iwan (1994). We obtained w̃ and by Kw taking the mean and covariance of the set of ws required to best approximate each of the measured spectra with respect to Bs. Computations were run using an ensemble consisting of 400 draws from this distribution.8 The 400 reflectances in the reference environment surface ensemble are tabulated in the online supplement (http://color.psych.upenn.edu/supplements/adaptdiscrimappear/), and we refer to this ensemble below as the baseline surface ensemble.
Given the visual system model and surface ensemble defined above, we can proceed as with the univariate case and ask how the adaptation parameters affect and , the discrimination and constancy performance measures, respectively. The only modification required is that the decision rule now operates on the difference variable , and this variable is distributed as a noncentral chi-squared distribution with 3 degrees of freedom rather than 1. The adaptation parameters are the three diagonal entries of D, the three entries of q0, and the three exponents ni.
Figure 8 shows how , and trade off when the illuminant is changed from CIE illuminant D65 to three separate changed illuminants. Each of the changed illuminants was constructed as a linear combination of the CIE daylight basis functions. We refer to the three changed illuminants as the blue, yellow, and red illuminants, respectively. Their CIE u′v′ chromaticities are provided in Table 1, and their spectra are tabulated in the supplemental material (http://color.psych.upenn.edu/supplements/adaptdiscrimappear/). The relative illuminant spectra are essentially the same as the neutral (here D65), Blue_60 (here blue), Yellow_60 (here yellow), and Red_60 (here red) illuminants used by Delahunt and Brainard (2004) in a psychophysical study of color constancy. The changes between D65 and the blue and yellow illuminants are typical of variation in natural daylight (see Delahunt & Brainard, 2004). The change between D65 and the red illuminant has a similar colorimetric magnitude but is atypical of variation in daylight. For the calculations here, the units of overall illuminant intensity are arbitrary; the four illuminant spectra were scaled to have the same CIE 1931 photopic luminance. Figure 8 shows that discrimination and constancy are highly compatible here.
Table 1.
Illuminant | CIE u′ | CIE v′ |
---|---|---|
D65 | 0.198 | 0.468 |
Blue | 0.185 | 0.419 |
Yellow | 0.226 | 0.508 |
Red | 0.242 | 0.450 |
Notes: CIE u′v′ chromaticity coordinates of the four illuminants used in the trichomatic calculations. Chromaticity coordinates were computed over the wavelength range 390 nm to 730 nm, which is the range for which we had surface reflectance data from the Vrhel et al. (1994) data set.
We also investigated discrimination constancy trade-offs for the color case when the surface ensemble is changed. An issue that arises is how to produce a surface ensemble change whose magnitude is commensurate with that of the illuminant changes. We did not treat this magnitude issue in the univariate example above. Here we created three changed surface ensembles (the blue, yellow, and red ensembles) so that the cone responses to each changed ensemble under the reference illuminant were exactly the same as those of the baseline surface ensemble under the corresponding changed illuminant. For example, the 400 triplets of LMS cone responses from the blue ensemble under illuminant D65 were exactly the same as the 400 triplets of LMS cone responses from the baseline ensemble under the blue illuminant. Construction of changed surface ensembles such that they have this property is straightforward using the type of linear-model-based colorimetric calculations developed by Brainard (1995). We constrained the reflectance functions in the changed ensemble to be a linear combination of the first three columns of the matrix Bs that was used to construct the baseline ensemble. We also required that all of the surfaces in all four ensembles have reflectance functions with values between 0 and 1. This required rejecting some draws from the truncated normal distribution used to define the baseline ensemble at the time the ensembles were constructed. The supplemental material (http://color.psych.upenn.edu/supplements/adaptdiscrimappear/) tabulates the changed surface ensembles, as well as the baseline surface ensemble.
Figure 9 shows the results from the surface ensemble change calculations, in the same format as Figure 8. Direct examination of both the trade-off curves and the summary provided by the equivalent trade-off noise measure indicate that constancy and discrimination are considerably less compatible in the surface ensemble change case than in the illuminant change case. This difference is summarized in Figure 10, where the mean equivalent trade-off noise is shown for each of the changes reported in Figures 8 and 9.
4 Summary and Discussion
The theory and calculations presented here lead to several broad conclusions. First, we note that constancy cannot be evaluated meaningfully without considering discrimination. By using a signal detection theoretic measure (A′) to quantify constancy, we explicitly incorporate discrimination into our treatment of constancy.
When the environmental change is a change in illuminant, then the dual goals of discrimination and constancy are reasonably compatible for the cases we studied: a common change in adaptation parameters comes close to optimizing performance for both our discrimination and constancy performance measures. To be more precise about the meaning of “reasonably compatible” and “comes close,” we turn to the quantification in terms of the mean equivalent trade-off noise, which was less than 2% for each of the changes we studied in the chromatic example (see Figure 10). For applications where an increase in 2% in visual noise relative to the baseline visual noise (10–50% across the trade-off curves we computed) is deemed to be large, one could revise the verbal descriptions accordingly.
When the environmental change is a change in the surface ensemble, discrimination and constancy were less compatible. As measured by the mean equivalent trade-off noise, the incompatibility between constancy and discrimination is approximately two to four times larger for surface ensemble changes than for the corresponding illuminant changes, under conditions where the physical effect of the corresponding illuminant and surface ensemble changes on the LMS cone responses between reference and test environments was equated. Thus, the analysis suggests that stimulus conditions where the surface ensemble changes may provide psychophysical data that are most diagnostic of whether the early visual system optimizes for discrimination, for constancy, or whether it has evolved separate sites that mediate performance on the two tasks. We have started to develop an experimental framework for approaching this question (see Hillis & Brainard, 2005; see also Robilotto & Zaidi, 2004).
As noted in the introduction, our approach is similar to that of Grzywacz and colleagues (Grzywacz & Balboa, 2002; Grzywacz & de Juan, 2003; see also Foster et al., 2004). Previous authors have considered the adaptation of the visual response function required to optimize discrimination performance (Laughlin, 1989; Buchsbaum & Gottschalk, 1983; Brenner et al., 2000; von der Twer & MacLeod, 2001; Fairhall et al., 2001), as well as the nature of adaptive transformations that can mediate constancy (von Kries, 1970; Buchsbaum, 1980; West & Brill, 1982; Brainard & Wandell, 1986; D’Zmura & Lennie, 1986; Maloney & Wandell, 1986; Foster & Nascimento, 1994; Foster et al., 2004; Finlayson, Drew, & Funt, 1994; Finlayson & Funt, 1996). Here the two tasks are analyzed in a unified manner using the theory of signal detection. The work provides both a framework for a fuller theoretical exploration of adaptation across different models of adaptation and environmental changes and an ideal observer benchmark against which future experimental results may be evaluated.
Acknowledgments
Dan Lichtman helped with early versions of the computations. We thank M. Kahana and the Penn Psychology Department for access to computing power. This work was supported by NIH RO1 EY10016.
Footnotes
This is sometimes referred to as the Ford algorithm, after a quip attributed to Henry Ford: “People can have the Model T in any color—so long as it’s black” (http://en.wikiquote.org/wiki/Henry_Ford).
On same trials, the difference is 0, and the distribution reduces to ordinary chi-squared.
This choice may be contrasted with work where the measure of performance is bits of information transmitted (Foster et al., 2004). Measurements of information transmitted are silent about what subsequent processing is required to extract the information. Here we are explicitly interested in the performance supported directly by the visual response representation.
Equivalent trade-off noise was computed only for visual noise levels where the corresponding point ( max, max) was well within the region of the trade-off diagram where interpolation was possible. For points ( max, max) outside this region, the equivalent trade-off noise is not well constrained by the trade-off curves that we computed.
Since there are now two separate surface ensembles under consideration, evaluation of requires a decision about what surface ensemble performance should be evaluated over. For this evaluation purpose, we used a surface ensemble that was a 50–50 mixture of the reference environment ensemble (surface ensemble 1) and the test environment ensemble (surface ensemble 2.) That is, each surface drawn during the evaluation of was chosen at random from surface ensemble 1 with probability 50% and from surface ensemble 2 with probability 50%. Evaluation of was with respect to surface ensemble 2.
One might initially intuit that that the best adaptation parameters for constancy would be identical to the reference parameters in this case, since the illuminant does not change. The reason that a small change in parameters helps is that the cost of variation in visual response to a fixed surface caused by the shift in parameters is offset by an improved use of the available response range. The fact that constancy can sometimes be improved by changing responses to fixed surfaces is an insight that we obtain by assessing constancy with a signal detection theoretic measure.
The trade-off curves obtained for Figure 7 (and other similar plots below) are not convex. If the visual system adopts a strategy of switching, on a trial-by-trial basis, adaptation parameters for the test environment between those corresponding to any two of the obtained points, then it can achieve performance anywhere on the line connecting those two points. More generally, a visual system that adopts the switching strategy can achieve a trade-off curve that is the convex hull of points shown. This is analogous to the standard result that ROC curves are convex if the system is allowed to switch decision criterion on a trial-by-trial basis (see Green & Swets, 1966).
In drawing the 400 surfaces for the ensemble used in the calculations, we also imposed a requirement that the drawn surfaces be compatible with our procedure for constructing the changed surface ensembles. This procedure is described in more detail where it is introduced below.
Contributor Information
Alicia B. Abrams, Email: fiolalicia@yahoo.se.
James M. Hillis, Email: j.hillis@psy.gla.ac.uk.
David H. Brainard, Email: brainard@psych.upenn.edu.
References
- Bindman D, Chubb C. Mechanisms of contrast induction in heterogeneous displays. Vision Research. 2004;44:1601–1613. doi: 10.1016/j.visres.2004.01.008. [DOI] [PubMed] [Google Scholar]
- Brainard DH. Colorimetry. In: Bass M, editor. Handbook of optics, Vol. 1:Fundamentals, techniques, and design. New York: McGraw-Hill; 1995. pp. 1–54. [Google Scholar]
- Brainard DH. Color vision theory. In: Smelser NJ, Baltes PB, editors. International encyclopedia of the social and behavioral sciences. Vol. 4. Oxford: Elsevier; 2001. pp. 2256–2263. [Google Scholar]
- Brainard DH. Color constancy. In: Chalupa L, Werner J, editors. The visual neurosciences. Vol. 1. Cambridge, MA: MIT Press; 2004. pp. 948–961. [Google Scholar]
- Brainard DH, Freeman WT. Bayesian color constancy. Journal of the Optical Society of America A. 1997;14:1393–1411. doi: 10.1364/josaa.14.001393. [DOI] [PubMed] [Google Scholar]
- Brainard DH, Wandell BA. Analysis of the retinex theory of color vision. Journal of the Optical Society of America A. 1986;3:1651–1661. doi: 10.1364/josaa.3.001651. [DOI] [PubMed] [Google Scholar]
- Brenner N, Bialek W, de Ruyter van Steveninck R. Adaptive rescaling maximizes information transmission. Neuron. 2000;26:695–702. doi: 10.1016/s0896-6273(00)81205-2. [DOI] [PubMed] [Google Scholar]
- Brown RO, MacLeod DIA. Color appearance depends on the variance of surround colors. Current Biology. 1997;7:844–849. doi: 10.1016/s0960-9822(06)00372-1. [DOI] [PubMed] [Google Scholar]
- Buchsbaum G. A spatial processor model for object colour perception. Journal of the Franklin Institute. 1980;310:1–26. [Google Scholar]
- Buchsbaum G, Gottschalk A. Trichromacy, opponent colours coding and optimum colour information transmission in the retina. Proceedings of the Royal Society of London B. 1983;220:89–113. doi: 10.1098/rspb.1983.0090. [DOI] [PubMed] [Google Scholar]
- Burnham RW, Evans RM, Newhall SM. Prediction of color appearance with different adaptation illuminations. Journal of the Optical Society of America. 1957;47:35–42. [Google Scholar]
- Chander D, Chichilnisky EJ. Adaptation to temporal contrast in primate and salamander retina. Journal of Neuroscience. 2001;21:9904–9916. doi: 10.1523/JNEUROSCI.21-24-09904.2001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Chubb C, Sperling G, Solomon JA. Texture interactions determine perceived contrast. PNAS. 1989;86:9631–9635. doi: 10.1073/pnas.86.23.9631. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cover TM, Thomas JA. Elements of information theory. New York: Wiley; 1991. [Google Scholar]
- Delahunt PB, Brainard DH. Does human color constancy incorporate the statistical regularity of natural daylight? Journal of Vision. 2004;4:57–81. doi: 10.1167/4.2.1. [DOI] [PubMed] [Google Scholar]
- D’Zmura M, Lennie P. Mechanisms of color constancy. Journal of the Optical Society of America A. 1986;3:1662–1672. doi: 10.1364/josaa.3.001662. [DOI] [PubMed] [Google Scholar]
- Eskew RT, McLellan JS, Giulianini R. Chromatic detection and discrimination. In: Gegenfurtner K, Sharpe LT, editors. Color vision: From molecular genetics to perception. Cambridge: Cambridge University Press; 1999. pp. 345–368. [Google Scholar]
- Fairhall AL, Lewen GD, Bialek W, de Ruyter van Steveninck R. Efficiency and ambiguity in an adaptive neural code. Nature. 2001;412:787–792. doi: 10.1038/35090500. [DOI] [PubMed] [Google Scholar]
- Finlayson GD, Drew MS, Funt BV. Color constancy—Generalized diagonal transforms suffice. Journal of the Optical Society of America A. 1994;11:3011–3019. doi: 10.1364/josaa.11.001553. [DOI] [PubMed] [Google Scholar]
- Finlayson GD, Funt BV. Coefficient channels—derivation and relationship to other theoretical studies. Color Research and Application. 1996;21:87–96. [Google Scholar]
- Foster DH. Does colour constancy exist? Trends in Cognitive Science. 2003;7:493–443. doi: 10.1016/j.tics.2003.08.002. [DOI] [PubMed] [Google Scholar]
- Foster DH, Nascimento SMC. Relational colour constancy from invariant cone-excitation ratios. Proc R Soc Land B. 1994;257:115–121. doi: 10.1098/rspb.1994.0103. [DOI] [PubMed] [Google Scholar]
- Foster DH, Nascimento SMC, Amano K. Information limits on neural identification of colored surfaces in natural scenes. Visual Neuroscience. 2004;21:1–6. doi: 10.1017/s0952523804213335. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Green DM, Swets JA. Signal detection theory and psychophysics. New York: Wiley; 1966. [Google Scholar]
- Grzywacz NM, Balboa RM. A Bayesian framework for sensory adaptation. Neural Computation. 2002;14:543–559. doi: 10.1162/089976602317250898. [DOI] [PubMed] [Google Scholar]
- Grzywacz NM, de Juan J. Sensory adaptation as Kalman filtering: Theory and illustration with contrast adaptation. Network: Computation in Neural Systems. 2003;14:465–82. [PubMed] [Google Scholar]
- Hillis JM, Brainard DH. Do common mechanisms of adaptation mediate color discrimination and appearance? Uniform backgrounds. Journal of the Optical Society of America A. 2005;22:2090–2106. doi: 10.1364/josaa.22.002090. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hood DC, Finkelstein MA. Senstivity to light. In: Boff KR, Kaufman L, Thomas JP, editors. Handbook of perception and human performance: Sensory processes and perception. Vol. 1. New York: Wiley; 1986. [Google Scholar]
- Jacobs GH. Comparative color vision. New York: Academic Press; 1981. [Google Scholar]
- Jenness JW, Shevell SK. Color appearance with sparse chromatic context. Vision Research. 1995;35:797–805. doi: 10.1016/0042-6989(94)00169-m. [DOI] [PubMed] [Google Scholar]
- Kaiser PK, Boynton RM. Human color vision. 2. Washington, DC: Optical Society of America; 1996. [Google Scholar]
- Krauskopf J, Williams DR, Heeley DW. Cardinal directions of color space. Vision Research. 1982;22:1123–1131. doi: 10.1016/0042-6989(82)90077-3. [DOI] [PubMed] [Google Scholar]
- Laughlin S. The reliability of single neurons and circuit design: A case study. In: Durbin R, Miall C, Mitchison G, editors. The computing neuron. Reading, MA: Addison-Wesley; 1989. pp. 322–335. [Google Scholar]
- Lennie P, D’Zmura M. Mechanisms of color vision. CRC Critical Reviews in Neurobiology. 1988;3:333–400. [PubMed] [Google Scholar]
- Macmillan NA, Creelman CD. Detection theory: A user’s guide. 2. Mahwah, NJ: Erlbaum; 2005. [Google Scholar]
- Maloney LT, Wandell BA. Color constancy: A method for recovering surface spectral reflectances. Journal of the Optical Society of America A. 1986;3:29–33. doi: 10.1364/josaa.3.000029. [DOI] [PubMed] [Google Scholar]
- Mollon JD. Color vision. Annual Review of Psychology. 1982;33:41–85. doi: 10.1146/annurev.ps.33.020182.000353. [DOI] [PubMed] [Google Scholar]
- Robilotto R, Zaidi Q. Limits of lightness identification for real objects under natural viewing conditions. Journal of Vision. 2004;4:779–797. doi: 10.1167/4.9.9. [DOI] [PubMed] [Google Scholar]
- Schirillo JA, Shevell SK. Brightness contrast from inhomogeneous surrounds. Vision Research. 1996;36:1783–1796. doi: 10.1016/0042-6989(95)00217-0. [DOI] [PubMed] [Google Scholar]
- Shevell SK. Color appearance. In: Shevell SK, editor. The science of color. 2. Washington, DC: Optical Society of America; 2003. [Google Scholar]
- Solomon SG, Peirce JW, Dhruv NT, Lennie P. Profound contrast adaptation early in the visual pathway. Neuron. 2004;42:155–162. doi: 10.1016/s0896-6273(04)00178-3. [DOI] [PubMed] [Google Scholar]
- Stocker AA, Simoncelli EP. Sensory adaptation within a Bayesian framework for perception. In: Weiss Y, Schölkopf B, Platt J, editors. Advances in neural information processing systems. Vol. 18. Cambridge, MA: MIT Press; 2005. pp. 1291–1298. [Google Scholar]
- Stockman A, Sharpe LT. The spectral sensitivities of the middle- and long-wavelength-sensitive cones derived from measurements in observers of known genotype. Vision Research. 2000;40:1711–1737. doi: 10.1016/s0042-6989(00)00021-3. [DOI] [PubMed] [Google Scholar]
- von der Twer T, MacLeod DIA. Optimal nonlinear codes for the perception of natural colors. Network: Computation in Neural Systems. 2001;12:395–407. [PubMed] [Google Scholar]
- von Kries J. Chromatic adaptation. In: MacAdam DL, editor. Sources of color vision. Cambridge, MA: MIT Press; 1970. pp. 109–119. (Originally published 1902) [Google Scholar]
- Vrhel MJ, Gershon R, Iwan LS. Measurement and analysis of object reflectance spectra. Color Research and Application. 1994;19:4–9. [Google Scholar]
- Walraven J, Enroth-Cugell C, Hood DC, MacLeod DIA, Schnapf JL. The control of visual sensitivity. Receptoral and postreceptoral processes. In: Spillman L, Werner JS, editors. Visual perception: The neurophysiological foundations. San Diego: Academic Press; 1990. pp. 53–101. [Google Scholar]
- Wandell BA. The synthesis and analysis of color images. IEEE Transactions on Pattern Analysis and Machine Intelligence, PAMI-9. 1987:2–13. doi: 10.1109/tpami.1987.4767868. [DOI] [PubMed] [Google Scholar]
- Wandell BA. Foundations of vision. Sunderland, MA: Sinauer; 1995. [Google Scholar]
- Webster MA, Mollon JD. Changes in colour appearance following post-receptoral adaptation. Nature. 1991;349:235–238. doi: 10.1038/349235a0. [DOI] [PubMed] [Google Scholar]
- West G, Brill MH. Necessary and sufficient conditions for von Kries chromatic adaptation to give color constancy. J Theor Biolog. 1982;15:249. doi: 10.1007/BF00275077. [DOI] [PubMed] [Google Scholar]
- Wyszecki G. Color appearance. In: Boff KR, Kaufman L, Thomas JP, editors. Handbook of perception and human performance: Sensory processes and perception. Vol. 1. New York: Wiley; 1986. pp. 9.1–9.56. [Google Scholar]
- Wyszecki G, Stiles WS. Color science—Concepts and methods, quantitative data and formulae. 2. New York: Wiley; 1982. [Google Scholar]
- Zaidi Q. Color and brightness inductions: From Mach bands to three-dimensional configurations. In: Gegenfurtner KR, Sharpe LT, editors. Color vision: from genes to perception. Vol. 1. Cambridge: Cambridge University Press; 1999. pp. 317–344. [Google Scholar]
- Zaidi Q, Shapiro AG. Adaptive orthogonalization of opponent-color signals. Biological Cybernetics. 1993;69:415–428. [PubMed] [Google Scholar]
- Zhang X, Brainard DH. Bayesian color-correction method for non-colorimetric digital image sensors; Paper presented at the 12th IS&T/SID Color Imaging Conference; Scottsdale, AZ. 2004. [Google Scholar]