Contrast (vision)

From HandWiki
Short description: Difference in luminance and/or color that makes objects visually distinguishable
The contrast in the left half of the image is lower than that in the right half.
The amount of contrast in six versions of a rocky shore photo increases clockwise.

Contrast is the contradiction in luminance or colour that makes an object (or its representation in an image or display) distinguishable. In visual perception of the real world, contrast is determined by the difference in the colour and brightness of the object and other objects within the same field of view. The human visual system is more sensitive to contrast than absolute luminance; we can perceive the world similarly regardless of the huge changes in illumination over the day or from place to place. The maximum contrast of an image is the contrast ratio or dynamic range. Images with a contrast ratio close to their medium's maximum possible contrast ratio experience a conservation of contrast, wherein any increase in contrast in some parts of the image must necessarily result in a decrease in contrast elsewhere. Brightening an image will increase contrast in dark areas but decrease contrast in bright areas, while darkening the image will have the opposite effect. Bleach bypass destroys contrast in both the darkest and brightest parts of an image while enhancing luminance contrast in areas of intermediate brightness.

Biological contrast sensitivity

According to Campbell and Robson (1968), the human contrast sensitivity function shows a typical band-pass filter shape peaking at around 4 cycles per degree, with sensitivity dropping off either side of the peak.[1] That finding has led many to claim that the human visual system is most sensitive in detecting contrast differences occurring at 4 cycles per degree.[2][3] However, the claim of frequency sensitivity is problematic given, for example, that changes of distance do not seem to affect the relevant perceptual patterns (as noted, for example, in the figure caption to Solomon and Pelli (1994)[4] While the latter authors are referring specifically to letters, they make no objective distinction between these and other shapes. The relative insensitivity of contrast effects to distance (and thus spatial frequency) may also be observed by casual inspection of a paradigmantic sweep grating, as may be observed here

The high-frequency cut-off represents the optical limitations of the visual system's ability to resolve detail and is typically about 60 cycles per degree. The high-frequency cut-off is related to the packing density of the retinal photoreceptor cells: a finer matrix can resolve finer gratings.

The low frequency drop-off is due to lateral inhibition within the retinal ganglion cells. A typical retinal ganglion cell presents a centre region with either excitation or inhibition and a surround region with the opposite sign. By using coarse gratings, the bright bands fall on the inhibitory as well as the excitatory region of the ganglion cell resulting in lateral inhibition and account for the low-frequency drop-off of the human contrast sensitivity function.

One experimental phenomenon is the inhibition of blue in the periphery if blue light is displayed against white, leading to a yellow surrounding. The yellow is derived from the inhibition of blue on the surroundings by the center. Since white minus blue is red and green, this mixes to become yellow.[5]

For example, in the case of graphical computer displays, contrast depends on the properties of the picture source or file and the properties of the computer display, including its variable settings. For some screens the angle between the screen surface and the observer's line of sight is also important.


An image of the Notre Dame cathedral as seen from the Eiffel Tower
The same image, with added global contrast, and local contrast (acutance) increased through unsharp masking.
A hand holding a multi-color leaf
The same image with greater contrast and saturation
A photograph of a leaf with several colors—the bottom image has an 11% saturation boost and around 10% increase in contrast.

There are many possible definitions of contrast. Some include color; others do not. Travnikova laments, "Such a multiplicity of notions of contrast is extremely inconvenient. It complicates the solution of many applied problems and makes it difficult to compare the results published by different authors."[6][7]

Various definitions of contrast are used in different situations. Here, luminance contrast is used as an example, but the formulas can also be applied to other physical quantities. In many cases, the definitions of contrast represent a ratio of the type

[math]\displaystyle{ \frac{\mbox{Luminance difference}}{\mbox{Average luminance}}. }[/math]

The rationale behind this is that a small difference is negligible if the average luminance is high, while the same small difference matters if the average luminance is low (see Weber–Fechner law). Below, some common definitions are given.

Weber contrast

Weber contrast is defined as[6]

[math]\displaystyle{ \frac{I-I_\mathrm{b}}{I_\mathrm{b}}, }[/math]

with [math]\displaystyle{ I }[/math] and [math]\displaystyle{ I_\mathrm{b} }[/math] representing the luminance of the features and the background, respectively. The measure is also referred to as Weber fraction, since it is the term that is constant in Weber's Law. Weber contrast is commonly used in cases where small features are present on a large uniform background, i.e., where the average luminance is approximately equal to the background luminance.

Michelson contrast

Michelson contrast[8] (also known as the visibility) is commonly used for patterns where both bright and dark features are equivalent and take up similar fractions of the area (e.g. sine-wave gratings). The Michelson contrast is defined as[6]

[math]\displaystyle{ \frac{I_\mathrm{max} - I_\mathrm{min}}{I_\mathrm{max} + I_\mathrm{min}}, }[/math]

with [math]\displaystyle{ I_\mathrm{max} }[/math] and [math]\displaystyle{ I_\mathrm{min} }[/math] representing the highest and lowest luminance. The denominator represents twice the average of the maximum and minimum luminances.[9]

This form of contrast is an effective way to quantify contrast for periodic functions f(x) and is also known as the modulation mf of a periodic signal f. Modulation quantifies the relative amount by which the amplitude (or difference) (fmaxfmin)/2 of f stands out from the average value (or background) (fmax + fmin)/2. In general, mf refers to the contrast of the periodic signal f relative to its average value. If mf = 0, then f has no contrast. If two periodic functions f and g have the same average value, then f has more contrast than g if mf > mg.[10]

RMS contrast

Root mean square (RMS) contrast does not depend on the angular frequency content or the spatial distribution of contrast in the image. RMS contrast is defined as the standard deviation of the pixel intensities:[6]

[math]\displaystyle{ \sqrt{\frac{1}{M N}\sum_{i=0}^{N-1}\sum_{j=0}^{M - 1}\left(I_{ij} - \bar{I}\right)^2} }[/math]

where intensities [math]\displaystyle{ I_{ij} }[/math] are the [math]\displaystyle{ i }[/math]-th [math]\displaystyle{ j }[/math]-th element of the two-dimensional image of size [math]\displaystyle{ M }[/math] by [math]\displaystyle{ N }[/math]. [math]\displaystyle{ \bar{I} }[/math] is the average intensity of all pixel values in the image. The image [math]\displaystyle{ I }[/math] is assumed to have its pixel intensities normalized in the range [math]\displaystyle{ [0,1] }[/math].

Contrast sensitivity

Contrast sensitivity is a measure of the ability to discern between luminances of different levels in a static image. Contrast sensitivity varies between individuals, reaching a maximum at approximately 20 years of age, and at angular frequencies of about 2–5 cycles per degree. In addition it can decline with age and also due to other factors such as cataracts and diabetic retinopathy.[11]

In this image, the contrast amplitude depends only on the vertical coordinate, and the spatial frequency depends only on the horizontal coordinate. For medium frequency, less contrast is needed than for high or low frequency to detect the sinusoidal fluctuation.

Contrast sensitivity and visual acuity

Log-log plot of spatial contrast sensitivity functions for luminance and chromatic contrast

Visual acuity is a parameter that is frequently used to assess overall vision. However, diminished contrast sensitivity may cause decreased visual function in spite of normal visual acuity.[12] For example, some individuals with glaucoma may achieve 20/20 vision on acuity exams, yet struggle with activities of daily living, such as driving at night.

As mentioned above, contrast sensitivity describes the ability of the visual system to distinguish bright and dim components of a static image. Visual acuity can be defined as the angle with which one can resolve two points as being separate since the image is shown with 100% contrast and is projected onto the fovea of the retina.[13] Thus, when an optometrist or ophthalmologist assesses a patient’s visual acuity using a Snellen chart or some other acuity chart, the target image is displayed at high contrast, e.g., black letters of decreasing size on a white background. A subsequent contrast sensitivity exam may demonstrate difficulty with decreased contrast (using, e.g., the Pelli-Robson chart, which consists of uniform-sized but increasingly pale grey letters on a white background).

To assess a patient’s contrast sensitivity, one of several diagnostic exams may be used. Most charts in an ophthalmologist’s or optometrist's office will show images of varying contrast and angular frequency. Parallel bars of varying width and contrast, known as sine-wave gratings, are sequentially viewed by the patient. The width of the bars and their distance apart represent angular frequency, measured in cycles per degree (cpd or cyc/deg).

Studies have demonstrated that medium-level angular frequency, approximately 5–7 cycles per degree, is optimally detected by most individuals, compared with low- or high-level angular frequencies.[14] The contrast threshold can be defined as the minimum contrast that can be resolved by the patient. The contrast sensitivity is equal to 1/contrast-threshold.

Using the results of a contrast sensitivity exam, a contrast sensitivity curve can be plotted, with angular frequency on the horizontal, and contrast threshold on the vertical axis. Also known as contrast sensitivity function (CSF), the plot demonstrates the normal range of contrast sensitivity, and will indicate diminished contrast sensitivity in patients who fall below the normal curve. Some graphs contain “contrast sensitivity acuity equivalents”, with lower acuity values falling in the area under the curve. In patients with normal visual acuity and concomitant reduced contrast sensitivity, the area under the curve serves as a graphical representation of the visual deficit. It can be because of this impairment in contrast sensitivity that patients have difficulty driving at night, climbing stairs and other activities of daily living in which contrast is reduced.[15]

The graph demonstrates the relationship between contrast sensitivity and spatial frequency. The target-like images are representative of center-surround organization of neurons, with peripheral inhibition at low, intermediate and high spatial frequencies. Used with permission from Brian Wandell, PhD.

Recent studies have demonstrated that intermediate-frequency sinusoidal patterns are optimally-detected by the retina due to the center-surround arrangement of neuronal receptive fields.[16] In an intermediate angular frequency, the peak (brighter bars) of the pattern is detected by the center of the receptive field, while the troughs (darker bars) are detected by the inhibitory periphery of the receptive field. For this reason, low- and high-angular frequencies elicit excitatory and inhibitory impulses by overlapping frequency peaks and troughs in the center and periphery of the neuronal receptive field.[17] Other environmental,[18] physiologic and anatomical factors influence the neuronal transmission of sinusoidal patterns, including adaptation.[19]

Decreased contrast sensitivity arises from multiple etiologies, including retinal disorders such as Age-Related Macular Degeneration (ARMD), amblyopia, lens abnormalities, such as cataract, and by higher-order neural dysfunction, including stroke and Alzheimer's disease.[20] In light of the multitude of etiologies leading to decreased contrast sensitivity, contrast sensitivity tests are useful in the characterization and monitoring of dysfunction, and less helpful in detection of disease.

See also


  1. Campbell, F. W.; Robson, J. G. (1968). "Application of Fourier analysis to the visibility of gratings". Journal of Physiology 197 (3): 551–566. doi:10.1113/jphysiol.1968.sp008574. PMID 5666169. PMC 1351748. Retrieved 2011-02-12. 
  2. Klein, S. A., Carney, T., Barghout-Stein, L., & Tyler, C. W. (1997, June). Seven models of masking. In Electronic Imaging'97 (pp. 13-24). International Society for Optics and Aerodynamics.
  3. Barghout-Stein, Lauren. On differences between peripheral and foveal pattern masking. Diss. University of California, Berkeley, 1999.
  4. Solomon, J. A.; Pelli, D. G. (1994). "The visual filter mediating letter identification". Nature 369 (6479): 395–397. doi:10.1038/369395a0. PMID 8196766. Bibcode1994Natur.369..395S. 
  5. "eye, human."Encyclopædia Britannica. 2008. Encyclopædia Britannica 2006 Ultimate Reference Suite DVD
  6. 6.0 6.1 6.2 6.3 E. Peli (Oct 1990). "Contrast in Complex Images". Journal of the Optical Society of America A 7 (10): 2032–2040. doi:10.1364/JOSAA.7.002032. PMID 2231113. Bibcode1990JOSAA...7.2032P. Retrieved 2009-02-16. 
  7. Travnikova, N. P. (1985). Efficiency of Visual Search. p.4. Mashinostroyeniye.
  8. Michelson, A. (1927). Studies in Optics. U. of Chicago Press.
  9. Ph.D., Lawrence Arend. "Luminance Contrast". 
  10. Prince, Jerry L., Links, Jonathan M. Medical Imaging Signals and Systems, (2006). pg 65 Ch 3 Image Quality, 3.2 Contrast, 3.2.1 Modulation.
  11. Peter Wenderoth. "The Contrast Sensitivity Function". 
  12. Hashemi, H; Khabazkhoob, M; Jafarzadehpur, E; Emamian, MH; Shariati, M; Fotouhi, A (Mar 2012). "Contrast sensitivity evaluation in a population-based study in Shahroud, Iran". Ophthalmology 119 (3): 541–6. doi:10.1016/j.ophtha.2011.08.030. PMID 22153705. 
  13. Sadun, A. A. Optics lecture on 03/06/2013. University of Southern California.
  14. Leguire LE, Algaze A, Kashou NH, Lewis J, Rogers GL, Roberts C. “Relationship among fMRI, contrast sensitivity and visual acuity”. Brain Res. 2011 Jan 7;1367:162-9.
  15. Sia DI, Martin S, Wittert G, Casson RJ. “Age-related change in contrast sensitivity among Australian male adults: Florey Adult Male Ageing Study”. Acta Ophthalmol. 2012 Mar 16.
  16. Wandell, B.A. Foundations of Vision. Chapter 5: The Retinal Representation. 1995. Sinauer Associates, Inc. Accessed at on 03/05/2019.
  17. Tsui JM, Pack CC. “Contrast sensitivity of MT receptive field centers and surrounds.” J Neurophysiol. 2011 Oct;106(4):1888-900.
  18. Jarvis, JR; Wathes, CM (May 2012). "Mechanistic modeling of vertebrate spatial contrast sensitivity and acuity at low luminance". Vis Neurosci 29 (3): 169–81. doi:10.1017/s0952523812000120. PMID 22569345. 
  19. Cravo AM, Rohenkohl G, Wyart V, Nobre AC. “Temporal expectation enhances contrast sensitivity by phase entrainment of low-frequency oscillations in visual cortex.” J Neurosci. 2013 Feb 27;33(9):4002-10.
  20. Risacher SL, Wudunn D, Pepin SM, MaGee TR, McDonald BC, Flashman LA, Wishart HA, Pixley HS, Rabin LA, Paré N, Englert JJ, Schwartz E, Curtain JR, West JD, O'Neill DP, Santulli RB, Newman RW, Saykin AJ. “Visual contrast sensitivity in Alzheimer's disease, mild cognitive impairment, and older adults with cognitive complaints.” Neurobiol Aging. 2013 Apr;34(4):1133-44.

External links