A subscription to JoVE is required to view this content. Sign in or start your free trial.

Method Article

Visualizing Visual Adaptation

8.7K views

DOI:

10.3791/54038

April 24th, 2017

In This Article

Summary

This article describes a novel method for simulating and studying adaptation in the visual system.

Abstract

Many techniques have been developed to visualize how an image would appear to an individual with a different visual sensitivity: e.g., because of optical or age differences, or a color deficiency or disease. This protocol describes a technique for incorporating sensory adaptation into the simulations. The protocol is illustrated with the example of color vision, but is generally applicable to any form of visual adaptation. The protocol uses a simple model of human color vision based on standard and plausible assumptions about the retinal and cortical mechanisms encoding color and how these adjust their sensitivity to both the average color and range of color in the prevailing stimulus. The gains of the mechanisms are adapted so that their mean response under one context is equated for a different context. The simulations help reveal the theoretical limits of adaptation and generate "adapted images" that are optimally matched to a specific environment or observer. They also provide a common metric for exploring the effects of adaptation within different observers or different environments. Characterizing visual perception and performance with these images provides a novel tool for studying the functions and consequences of long-term adaptation in vision or other sensory systems.

Introduction

What might the world look like to others, or to ourselves as we change? Answers to these questions are fundamentally important for understanding the nature and mechanisms of perception and the consequences of both normal and clinical variations in sensory coding. A wide variety of techniques and approaches have been developed to simulate how images might appear to individuals with different visual sensitivities. For example, these include simulations of the colors that can be discriminated by different types of color deficiencies1,2,3,4, the spatial and chromatic differences that can be resolved by infants or older observers5,6,7,8,9, how images appear in peripheral vision10, and the consequences of optical errors or disease11,12,13,14. They have also been applied to visualize the discriminations that are possible for other species15,16,17. Typically, such simulations use measurements of the sensitivity losses in different populations to filter an image and thus reduce or remove the structure they have difficulty seeing. For instance, common forms of color blindness reflect a loss of one of the two photoreceptors sensitive to medium or long wavelengths, and images filtered to remove their signals typically appear devoid of "reddish-greenish" hues1. Similarly, infants have poorer acuity, and thus the images processed for their reduced spatial sensitivity appear blurry5. These techniques provide invaluable illustrations of what one person can see that another may not. However, they do not — and often are not intended to — portray the actual perceptual experience of the observer, and in some cases may misrepresent the amount and types of information available to the observer.

This article describes a novel technique developed to simulate differences in visual experience which incorporates a fundamental characteristic of visual coding — adaptation18,19. All sensory and motor systems continuously adjust to the context they are exposed to. A pungent odor in a room quickly fades, while vision accommodates to how bright or dim the room is. Importantly, these adjustments occur for almost any stimulus attribute, including "high-level" perceptions such as the characteristics of someone's face20,21 or their voice22,23, as well as calibrating the motor commands made when moving the eyes or reaching for an object24,25. In fact, adaptation is likely an essential property of almost all neural processing. This paper illustrates how to incorporate these adaptation effects into simulations of the appearance of images, by basically "adapting the image" to predict how it would appear to a specific observer under a specific state of adaptation26,27,28,29. Many factors can alter the sensitivity of an observer, but adaptation can often compensate for important aspects of these changes, so that the sensitivity losses are less conspicuous than would be predicted without assuming that the system adapts. Conversely, because adaptation adjusts sensitivity according to the current stimulus context, these adjustments are also important to incorporate for predicting how much perception might vary when the environment varies.

The following protocol illustrates the technique by adapting the color content of images. Color vision has the advantage that the initial neural stages of color coding are relatively well understood, as are the patterns of adaptation30. The actual mechanisms and adjustments are complex and varied, but the main consequences of adaptation can be captured using a simple and conventional two-stage model (Figure 1a). In the first stage, color signals are initially encoded by three types of cone photoreceptors that are maximally sensitive to short, medium or long wavelengths (S, M, and L cones). In the second stage, the signals from different cones are combined within post-receptoral cells to form "color-opponent" channels that receive antagonistic inputs from the different cones (and thus convey "color" information), and "non-opponent" channels that sum together the cone inputs (thus coding "brightness" information). Adaptation occurs at both stages, and adjusts to two different aspects of the color — the mean (in the cones) and the variance (in post-receptoral channels)30,31. The goal of the simulations is to apply these adjustments to the model mechanisms and then render the image from their adapted outputs.

The process of adapting images involves six primary components. These are 1) choosing the images; 2) choosing the format for the image spectra; 3) defining the change in color of the environment; 4) defining the change in the sensitivity of the observer; 5) using the program to create the adapted images; and 6) using the images to evaluate the consequences of the adaptation. The following considers each of these steps in detail. The basic model and mechanism responses are illustrated in Figure 1, while Figures 2 - 5 show examples of images rendered with the model.

Access restricted. Please log in or start a trial to view this content.

Protocol

NOTE: The protocol illustrated uses a program that allows one to select images and then adapt them using options selected by different drop-down menus.

1. Select the Image to Adapt

  1. Click on the image and browse for the filename of the image to work with. Observe the original image in the upper left pane.

2. Specify the Stimulus and the Observer

  1. Click the "format" menu to choose how to represent the image and the observer.
  2. Click on the "standard observer" option to model a standard or average observer adapting to a specific color distribution. In this case, use standard equations to convert the RGB values of the image to the cone sensitivities32.
  3. Click on "individual observer" option to model the spectral sensitivities of a specific observer. Because these sensitivities are wavelength-dependent, the program converts the RGB values of the image into gun spectra by using the standard or measured emission spectra for the display.
  4. Click on "natural spectra" option to approximate actual spectra in the world. This option converts the RGB values to spectra, for example by using standard basis functions33 or Gaussian spectra34 to approximate the corresponding spectrum for the image color.

3. Select the Adaptation Condition

  1. Adapt either the same observer to different environments (e.g., to the colors of a forest vs. urban landscape), or different observers to the same environment (e.g., a normal vs. color deficient observer).
    1. In the former case, use the menus to select the environments. In the latter, use the menus to define the sensitivity of the observer.
  2. To set the environments, select the "reference" and "test" environments from the dropdown menus. These control the two different states of adaptation by loading the mechanism responses for different environments.
    1. Choose the "reference" menu to control the starting environment. This is the environment the subject is adapted to while viewing the original image.
      NOTE: The choices shown have been precalculated for different environments. These were derived from measurements of the color gamuts for different collections of images. For example, one application examined how color perception might vary with changes in the seasons, by using calibrated images taken from the same location at different times27. Another study, exploring how adaptation might affect color percepts across different locations, represented the locations by sampling images of different scene categories29.
    2. Select the "user defined" environment to load the values for a custom environment. Observe a window to browse and select a particular file. To create these files for independent images, display each image to be included (as in step 1) and then click the "save image responses" button.
      NOTE: This will display a window where one can create or append to an excel file storing the responses to each image. To create a new file, enter the filename, or browse for an existing file. For existing files, the responses to the current image are added and the responses to all images automatically averaged. These averages are input for the reference environment when the file with the "user defined" option is selected.
    3. Select the "test" menu to access a list of environments for the image to be adjusted for. Select the "current image" option to use the mechanism responses for the displayed image.
      NOTE: This option assumes the subjects are adapting to the colors in the image that is currently being viewed. Otherwise select one of the precalculated environments or the "user defined" option to load the test environment.

4. Select the Spectral Sensitivity of the Observer

NOTE: For the adaptation effects of different environments, the observer will usually remain constant, and is set to the default "standard observer" with average spectral sensitivity. There are 3 menus for setting an individual spectral sensitivity, which control the amount of screening pigment or the spectral sensitivities of the observer.

  1. Click on the "lens" menu to select the density of the lens pigment. The different options allow one to choose the density characteristic of different ages.
  2. Click on the "macular" menu to similarly select the density of the macular pigment. Observe these options in terms of the peak density of the pigment.
  3. Click on the "cones" menu to choose between observers with normal trichromacy or different types of anomalous trichromacy.
    NOTE: Based on the choices the program defines the cone spectral sensitivities of the observer and a set of 26 postreceptoral channels that linearly combine the cone signals to roughly uniformly sample different color and luminance combinations.

5. Adapt the Image

  1. Click the "adapt" button.
    NOTE: This executes the code for calculating the responses of the cones and post-receptoral mechanisms to each pixel in the image. The response is scaled so that the mean response to the adapting color distribution equals the mean responses to the reference distribution, or so that the average response is the same for an individual or reference observer. The scaling is multiplicative to simulate von Kries adaptation35. The new image is then rendered by summing the mechanism responses and converting back to RGB values for display. Details of the algorithm are given in 26,27,28,29.
  2. Observe three new images on the screen. These are labeled as 1) "unadapted" — how the test image should appear to someone fully adapted to the reference environment; 2) "cone adaptation"- this shows the image adjusted only for adaptation in the receptors; and 3) "full adaptation"- this shows the image predicted by complete adaptation to the change in the environment or the observer.
  3. Click the "save images" button to save the three calculated-images. Observe a new window on the screen to browse for the folder and select the filename.

6. Evaluate the Consequences of the Adaptation

NOTE: The original reference and adapted images simulate how the same image should appear under the two states of modeled adaptation, and importantly, differ only because of the adaptation state. The differences in the images thus provide insight into consequences of the adaptation.

  1. Visually look at the differences between the images.
    NOTE: Simple inspection of the images can help show how much color vision might vary when living in different color environments, or how much adaptation might compensate for a sensitivity change in the observer.
  2. Quantify these adaptation effects by using analyses or behavioral measurements with the images to empirically evaluate the consequences of the adaptation29.
    1. Measure how color appearance changes. For example, compare the colors in the two images to measure how color categories or perceptual salience shift across different environments or observers. For example, use analyses of the changes in color with adaptation to calculate how much the unique hues (e.g., pure yellow or blue) could theoretically vary because of variations in the observer's color environment29.
    2. Ask how the adaptation affects visual sensitivity or performance. For example, use the adapted images to compare whether visual search for a novel color is faster when observers are first adapted to the colors of the background. Conduct the experiment by superimposing on the images an array of targets and differently-colored distractors that were adapted along with the images, with the reaction times measured for locating the odd target29.

Access restricted. Please log in or start a trial to view this content.

Results

Figures 2 - 4 illustrate the adaptation simulations for changes in the observer or the environment. Figure 2 compares the predicted appearance of Cezanne's Still Life with Apples for a younger and older observer who differ only in the density of the lens pigment28. The original image as seen through the younger eye (Figure 2a) appears much yellower and dimmer through the more densely pigmented lens (

Access restricted. Please log in or start a trial to view this content.

Discussion

The illustrated protocol demonstrates how the effects of adaptation to a change in the environment or the observer can be portrayed in images. The form this portrayal takes will depend on the assumptions made for the model — for example, how color is encoded, and how the encoding mechanisms respond and adapt. Thus the most important step is deciding on the model for color vision — for example what the properties of the hypothesized channels are, and how they are assumed to adapt. The other important steps are...

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors have nothing to disclose.

Acknowledgements

Supported by National Institutes of Health (NIH) grant EY-10834.

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Computer
Images to adapt
Programming language (e.g., Visual Basic or Matlab)
Program for processing the images
Observer spectral sensitivities (for applications involving observer-specific adaptation)
Device emmission spectra (for device-dependent applications)

References

  1. Vienot, F., Brettel, H., Ott, L., Ben M'Barek, A., Mollon, J. D. What do colour-blind people see? Nature. 376, 127-128 (1995).
  2. Brettel, H., Vienot, F., Mollon, J. D. Computerized simulation of color appearance for dichromats. J Opt Soc Am A Opt Image Sci Vis. 14, 2647-2655 (1997).
  3. Flatla, D. R., Gutwin, C. So that's what you see: building understanding with personalized simulations of colour vision deficiency. Proceedings of the 14th international ACM SIGACCESS conference on Computers and accessibility. , 167-174 (2012).
  4. Machado, G. M., Oliveira, M. M., Fernandes, L. A. A physiologically-based model for simulation of color vision deficiency. IEEE Trans. Vis. Comput. Graphics. 15, 1291-1298 (2009).
  5. Teller, D. Y. First glances: the vision of infants. the Friedenwald lecture. Invest. Ophthalmol. Vis. Sci. 38, 2183-2203 (1997).
  6. Wade, A., Dougherty, R., Jagoe, I. Tiny eyes. , Available from: http://www.tinyeyes.com/ (2016).
  7. Ball, L. J., Pollack, R. H. Simulated aged performance on the embedded figures test. Exp. Aging Res. 15, 27-32 (1989).
  8. Sjostrom, K. P., Pollack, R. H. The effect of simulated receptor aging on two types of visual illusions. Psychon Sci. 23, 147-148 (1971).
  9. Lindsey, D. T., Brown, A. M. Color naming and the phototoxic effects of sunlight on the eye. Psychol Sci. 13, 506-512 (2002).
  10. Raj, A., Rosenholtz, R. What your design looks like to peripheral vision. Proceedings of the 7th Symposium on Applied Perception in Graphics and Visualization. , 88-92 (2010).
  11. Perry, J. S., Geisler, W. S. Gaze-contingent real-time simulation of arbitrary visual fields. International Society for Optics and Photonics: Electronic Imaging. , 57-69 (2002).
  12. Vinnikov, M., Allison, R. S., Swierad, D. Real-time simulation of visual defects with gaze-contingent display. Proceedings of the 2008 symposium on Eye tracking research. , 127-130 (2008).
  13. Hogervorst, M. A., van Damme, W. J. M. Visualizing visual impairments. Gerontechnol. 5, 208-221 (2006).
  14. Aguilar, C., Castet, E. Gaze-contingent simulation of retinopathy: some potential pitfalls and remedies. Vision res. 51, 997-1012 (2011).
  15. Rowe, M. P., Jacobs, G. H. Cone pigment polymorphism in New World monkeys: are all pigments created equal? Visual neurosci. 21, 217-222 (2004).
  16. Rowe, M. P., Baube, C. L., Loew, E. R., Phillips, J. B. Optimal mechanisms for finding and selecting mates: how threespine stickleback (Gasterosteus aculeatus) should encode male throat colors. J. Comp. Physiol. A Neuroethol. Sens. Neural. Behav. Physiol. 190, 241-256 (2004).
  17. Melin, A. D., Kline, D. W., Hickey, C. M., Fedigan, L. M. Food search through the eyes of a monkey: a functional substitution approach for assessing the ecology of primate color vision. Vision Res. 86, 87-96 (2013).
  18. Webster, M. A. Adaptation and visual coding. J vision. 11 (5), 1-23 (2011).
  19. Webster, M. A. Visual adaptation. Annu Rev Vision Sci. 1, 547-567 (2015).
  20. Webster, M. A., Kaping, D., Mizokami, Y., Duhamel, P. Adaptation to natural facial categories. Nature. 428, 557-561 (2004).
  21. Webster, M. A., MacLeod, D. I. A. Visual adaptation and face perception. Philos. Trans. R. Soc. Lond., B, Biol. Sci. 366, 1702-1725 (2011).
  22. Schweinberger, S. R., et al. Auditory adaptation in voice perception. Curr Biol. 18, 684-688 (2008).
  23. Yovel, G., Belin, P. A unified coding strategy for processing faces and voices. Trends cognit sci. 17, 263-271 (2013).
  24. Shadmehr, R., Smith, M. A., Krakauer, J. W. Error correction, sensory prediction, and adaptation in motor control. Annu rev neurosci. 33, 89-108 (2010).
  25. Wolpert, D. M., Diedrichsen, J., Flanagan, J. R. Principles of sensorimotor learning. Nat rev Neurosci. 12, 739-751 (2011).
  26. McDermott, K., Juricevic, I., Bebis, G., Webster, M. A. Human Vision and Electronic Imaging. SPIE. Rogowitz, B. E., Pappas, T. N. 68060, V-1-10 (2008).
  27. Juricevic, I., Webster, M. A. Variations in normal color vision. V. Simulations of adaptation to natural color environments. Visual neurosci. 26, 133-145 (2009).
  28. Webster, M. A., Juricevic, I., McDermott, K. C. Simulations of adaptation and color appearance in observers with varying spectral sensitivity. Ophthalmic Physiol Opt. 30, 602-610 (2010).
  29. Webster, M. A. Probing the functions of contextual modulation by adapting images rather than observers. Vision res. , (2014).
  30. Webster, M. A. Human colour perception and its adaptation. Network: Computation in Neural Systems. 7, 587-634 (1996).
  31. Webster, M. A., Mollon, J. D. Colour constancy influenced by contrast adaptation. Nature. 373, 694-698 (1995).
  32. Brainard, D. H., Stockman, A. OSA Handbook of Optics. Bass, M. , 10-11 (2010).
  33. Maloney, L. T. Evaluation of linear models of surface spectral reflectance with small numbers of parameters. J Opt Soc Am A Opt Image Sci Vis. 3, 1673-1683 (1986).
  34. Mizokami, Y., Webster, M. A. Are Gaussian spectra a viable perceptual assumption in color appearance? J Opt Soc Am A Opt Image Sci Vis. 29, A10-A18 (2012).
  35. Chichilnisky, E. J., Wandell, B. A. Photoreceptor sensitivity changes explain color appearance shifts induced by large uniform backgrounds in dichoptic matching. Vision res. 35, 239-254 (1995).
  36. Boehm, A. E., MacLeod, D. I., Bosten, J. M. Compensation for red-green contrast loss in anomalous trichromats. J vision. 14, (2014).
  37. Regan, B. C., Mollon, J. D. Colour Vision Deficiencies. Vol. XIII. Cavonius, C. R. , Springer. Dordrecht. 261-270 (1997).
  38. Carandini, M., Heeger, D. J. Normalization as a canonical neural computation. Nature reviews. Neurosci. 13, 51-62 (2011).
  39. Rieke, F., Rudd, M. E. The challenges natural images pose for visual adaptation. Neuron. 64, 605-616 (2009).
  40. Hardy, J. L., Frederick, C. M., Kay, P., Werner, J. S. Color naming, lens aging, and grue: what the optics of the aging eye can teach us about color language. Psychol sci. 16, 321-327 (2005).
  41. Webster, M. A., Mollon, J. D. Adaptation and the color statistics of natural images. Vision res. 37, 3283-3298 (1997).
  42. Webster, M. A., Mizokami, Y., Webster, S. M. Seasonal variations in the color statistics of natural images. Network. 18, 213-233 (2007).
  43. Sagi, D. Perceptual learning in Vision Research. Vision res. , (2011).
  44. Lu, Z. L., Yu, C., Watanabe, T., Sagi, D., Levi, D. Perceptual learning: functions, mechanisms, and applications. Vision res. 50, 365-367 (2009).
  45. Bavelier, D., Green, C. S., Pouget, A., Schrater, P. Brain plasticity through the life span: learning to learn and action video games. Annu rev neurosci. 35, 391-416 (2012).
  46. Kompaniez, E., Abbey, C. K., Boone, J. M., Webster, M. A. Adaptation aftereffects in the perception of radiological images. PloS one. 8, e76175(2013).
  47. Ross, H. Behavior and Perception in Strange Environments. , George Allen & Unwin. (1974).
  48. Armann, R., Jeffery, L., Calder, A. J., Rhodes, G. Race-specific norms for coding face identity and a functional role for norms. J vision. 11, 9(2011).
  49. Oruc, I., Barton, J. J. Adaptation improves discrimination of face identity. Proc. R. Soc. A. 278, 2591-2597 (2011).
  50. Kording, K. P., Tenenbaum, J. B., Shadmehr, R. The dynamics of memory as a consequence of optimal adaptation to a changing body. Nature neurosci. 10, 779-786 (2007).
  51. Neitz, J., Carroll, J., Yamauchi, Y., Neitz, M., Williams, D. R. Color perception is mediated by a plastic neural mechanism that is adjustable in adults. Neuron. 35, 783-792 (2002).
  52. Delahunt, P. B., Webster, M. A., Ma, L., Werner, J. S. Long-term renormalization of chromatic mechanisms following cataract surgery. Visual neurosci. 21, 301-307 (2004).
  53. Bao, M., Engel, S. A. Distinct mechanism for long-term contrast adaptation. Proc Natl Acad Sci USA. 109, 5898-5903 (2012).
  54. Kwon, M., Legge, G. E., Fang, F., Cheong, A. M., He, S. Adaptive changes in visual cortex following prolonged contrast reduction. J vision. 9 (2), 1-16 (2009).
  55. Webster, M. A. Handbook of Color Psychology. Elliott, A., Fairchild, M. D., Franklin, A. , Cambridge University Press. 197-215 (2015).

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Tags

Color Vision SimulationSensory AdaptationCone AdaptationContrast AdaptationSpectral SensitivityLens PigmentMacular PigmentObserver ModelingEnvironment Adaptation