All Topics  
Gamma correction

 

   Email Print
   Bookmark   Link






 

Gamma correction



 
 
Gamma correction, gamma nonlinearity, gamma encoding, or often simply gamma, is the name of a nonlinear operation used to code and decode luminance or tristimulus values in video
Video

Video is the technology of electronics Videography, recording, processing, storing, transmitting, and reconstructing a sequence of still images representing Scene in motion....
 or still image systems. Gamma correction is, in the simplest cases, defined by the following power-law
Power law

A power law is a special kind of mathematical relationship between two quantities. If one quantity is the frequency of an event, the relationship is a power-law distribution, and the frequencies decrease very slowly as the size of the event increases....
 expression:

where the input and output values are non-negative real values, typically in a predetermined range such as 0 to 1.






Discussion
Ask a question about 'Gamma correction'
Start a new discussion about 'Gamma correction'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Gamma06 600
Gamma correction, gamma nonlinearity, gamma encoding, or often simply gamma, is the name of a nonlinear operation used to code and decode luminance or tristimulus values in video
Video

Video is the technology of electronics Videography, recording, processing, storing, transmitting, and reconstructing a sequence of still images representing Scene in motion....
 or still image systems. Gamma correction is, in the simplest cases, defined by the following power-law
Power law

A power law is a special kind of mathematical relationship between two quantities. If one quantity is the frequency of an event, the relationship is a power-law distribution, and the frequencies decrease very slowly as the size of the event increases....
 expression:

where the input and output values are non-negative real values, typically in a predetermined range such as 0 to 1. A gamma value is sometimes called an encoding gamma, and the process of encoding with this compressive power-law nonlinearity is called gamma compression; conversely a gamma value is called a decoding gamma and the application of the expansive power-law nonlinearity is called gamma expansion.

Explanation


Gamma compression, also known as gamma encoding, is used to encode linear luminance or RGB
RGB color model

The RGB color model is an additive color in which red, green, and blue light are added together in various ways to reproduce a broad array of colors....
 values into video signals or digital video
Digital video

Digital video is a type of video recording system that works by using a digital rather than an analog signal video signal.The terms camera, video camera, and camcorder are used interchangeably in this article....
 file values; gamma expansion is the inverse, or decoding, process, and occurs largely in the nonlinearity of the electron-gun current–voltage curve in cathode ray tube
Cathode ray tube

The cathode ray tube is a vacuum tube containing an electron gun and a fluorescent screen, with internal or external means to accelerate and deflect the electron beam, used to create images in the form of light emitted from the fluorescent screen....
 (CRT) monitor systems, which acts as a kind of spontaneous decoder. Gamma encoding helps to map data (both analog and digital) into a more perceptually uniform domain.

The following figure shows the behavior of a typical display when image signals are sent linearly ( = 1.0) and gamma-encoded (standard NTSC
NTSC

NTSC is the analog television system used in most of the Americas, Japan, South Korea, Taiwan, the Philippines, Burma, and some Pacific island nations and territories ....
  = 2.2). In the first case, the resulting image over the CRT is notably darker than the original, while it is shown with high fidelity in the second case. Digital cameras produce, and TV stations broadcast, signals in gamma-encoded form, anticipating the standardized gamma of the reproducing device, so that the overall system will be linear, as shown on the bottom; if cameras were linear, as on the top, the overall system would be nonlinear. Similarly, image files are almost always stored on computers and communicated across the Internet with gamma encoding.

Generalized gamma


A gamma value is used to quantify contrast, for example of photographic film
Photographic film

Photographic film is a sheet of plastic coated with an emulsion containing light-sensitive silver halide salts with variable crystal sizes that determine the sensitivity, contrast and of the film....
. It is the slope of an input–output curve in log–log space, that is:

which is consistent with the power-law relation above, but applicable to more general nonlinearities. In the case of film, such nonlinearities are called Hurter–Driffield curves
Sensitometry

Sensitometry is the scientific study of light-sensitive materials, especially photographic film. The study has its origins in the work by Ferdinand Hurter and Vero Charles Driffield with early black-and-white emulsions....
.

Gamma values less than 1 are typical of negative film, and values greater than 1 are typical of slide (reversal) film.

Windows, Mac, sRGB and TV/video standard gammas


In most computer systems, images are encoded with a gamma of about 0.45 and decoded with a gamma of 2.2; in Macintosh
Macintosh

File:Imac alu.pngMacintosh, commonly shortened to Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc....
 systems, the corresponding typical values are 0.55 and 1.8. In any case, binary
Binary

Binary means composed of two parts or two pieces. It contrasts with Unary, Ternary, Quaternary , and so on.Binary may also refer to:* Binary option, also known as digital option OR all-or-nothing option...
 data in still image files (as JPEG
JPEG

In computing, JPEG is a commonly used method of for photographic images. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality....
) are explicitly encoded (that is, they carry gamma-encoded values, not linear intensities), as are motion picture files (such as MPEG). The system can optionally further manage both cases, through color management
Color management

In digital imaging systems, color management is the controlled conversion between the color representations of various devices, such as s, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, and corresponding media....
, if a better match to the output device gamma is required.

The sRGB color space
SRGB color space

sRGB is a standard RGB color spaces created cooperatively by Hewlett-Packard and Microsoft for use on monitors, printers, and the Internet....
 standard used with most cameras, PCs, and printers does not use a simple power-law nonlinearity as above, but has a decoding gamma value near 2.2 over much of its range, as shown in the plot to the right. Below a compressed value of 0.04045 or a linear intensity of 0.00313, the curve is linear (encoded value proportional to intensity), so the gamma is 1. The dashed black curve behind the red curve is a standard gamma = 2.2 power-law curve, for comparison.

Output to CRT-based television receivers and monitors does not usually require further gamma correction, since the standard video signals that are transmitted or stored in image files incorporate gamma compression that matches close enough the gamma expansion of the CRT. For television signals, the actual gamma values are defined by the video standards (NTSC
NTSC

NTSC is the analog television system used in most of the Americas, Japan, South Korea, Taiwan, the Philippines, Burma, and some Pacific island nations and territories ....
, PAL
PAL

PAL, short for Phase Alternating Line, is a color-encoding system used in broadcast television systems in large parts of the world. Other common analog television systems are SECAM and NTSC....
 or SECAM
SECAM

SECAM, also written S?CAM , is an analog television system first used in France.A team led by Henri de France working at Compagnie Fran?aise de T?l?vision invented SECAM....
), and are always fixed and well known values.

Power law for video display


A gamma characteristic is a power-law
Power law

A power law is a special kind of mathematical relationship between two quantities. If one quantity is the frequency of an event, the relationship is a power-law distribution, and the frequencies decrease very slowly as the size of the event increases....
 relationship that approximates the relationship between the encoded luma
Luminance (video)

Relative luminance follows the Luminance, but with the values normalized to 1 or 100 for a reference white. Like the photometric definition, it is related to the luminous flux density in a particular direction, which is radiant flux density weighted by the Luminosity_function of the CIE Standard Observer....
 in a television
Television

Television is a widely used telecommunication mass-media for transmitting and receiving moving , either monochrome or color, usually accompanied by sound....
 system and the actual desired image luminance.

With this nonlinear relationship, equal steps in encoded luminance correspond roughly to subjectively equal steps in brightness. Ebner and Fairchild used an exponent of 0.43 to convert linear intensity into lightness for neutrals; the reciprocal, approximately 2.33 (quite close to the 2.2 figure cited for a typical display susbsytem), would provide optimal perceptual encoding of grays. The following illustration shows the difference between a scale with linearly-increasing encoded luminance signal (linear input) and a scale with linearly-increasing intensity (i.e., gamma-corrected) scale (linear output).

On most displays (those with gamma of about 2.2), one can observe that the linear-intensity scale has a large jump in perceived brightness between the intensity values 0.0 and 0.1, while the steps at the higher end of the scale are hardly perceptible. The linearly-encoded scale, which has a nonlinearly-increasing intensity, will show much more even steps in perceived brightness.

A cathode ray tube
Cathode ray tube

The cathode ray tube is a vacuum tube containing an electron gun and a fluorescent screen, with internal or external means to accelerate and deflect the electron beam, used to create images in the form of light emitted from the fluorescent screen....
 (CRT), for example, converts a video signal to light in a nonlinear way, because the electron gun's intensity (brightness) as a function of applied video voltage is nonlinear. The light intensity I is related to the source voltage
Voltage

Electrical tension is the potential difference between two points of an electrical or electronic circuit, expressed in volts. It is the measurement of the potential for an electric field to cause an electric current in an electrical conductor....
 VS according to

where is the Greek
Greek alphabet

The Greek alphabet is a set of twenty-four letters that has been used to write the Greek language since the late 9th century BC or early 8th century BCE....
 letter gamma
Gamma

Gamma is the third letter of the Greek alphabet. In the system of Greek numerals it has a value of 3. It was derived from the Phoenician alphabet Gimel ....
. For a computer CRT, is about 2.2. By coincidence, this results in the perceptually homogeneous scale as shown in the diagram on the top of this section.

For simplicity, consider the example of a monochrome CRT. In this case, when a video signal of 0.5 (representing mid-gray) is fed to the display, the intensity or brightness is about 0.22 (resulting in a dark gray). Pure black (0.0) and pure white (1.0) are the only shades that are unaffected by gamma.

To compensate for this effect, the inverse transfer function (gamma correction) is sometimes applied to the video signal so that the end-to-end response is linear. In other words, the transmitted signal is deliberately distorted so that, after it has been distorted again by the display device, the viewer sees the correct brightness. The inverse of the function above is:

where VC is the corrected voltage and VS is the source voltage, for example from an image sensor
Image sensor

An image sensor is a device that converts an optical image to an electric signal. It is used mostly in digital cameras and other imaging devices....
 that converts photocharge linearly to a voltage. In our CRT example 1/ is 1/2.2 or 0.45.

A color CRT receives three video signals (red, green and blue) and in general each color has its own value of gamma, denoted R, G or B. However, in simple display systems, a single value of is used for all three colors.

Other display devices have different values of gamma: for example, a Game Boy Advance
Game Boy Advance

The is a 32-bit Handheld game console developed, manufactured and marketed by Nintendo; resembling Sega's 8-bit Game Gear. It is the successor to the Game Boy Color....
 display has a gamma between 3 and 4 depending on lighting conditions. In LCDs such as those on laptop computers, the relation between the signal voltage VS and the intensity I is very nonlinear and cannot be described with gamma value. However, such displays apply a correction onto the signal voltage in order to approximately get a standard =2.5 behavior. In NTSC
NTSC

NTSC is the analog television system used in most of the Americas, Japan, South Korea, Taiwan, the Philippines, Burma, and some Pacific island nations and territories ....
 television
Television

Television is a widely used telecommunication mass-media for transmitting and receiving moving , either monochrome or color, usually accompanied by sound....
 recording, is 2.2.

The power-law function, or its inverse, has a slope of infinity at zero. This leads to problems in converting from and to a gamma colorspace. For this reason most formally defined colorspaces such as sRGB will define a straight-line segment near zero and add raising x+K (where K is a constant) to a power so the curve has continuous slope. This straight line does not represent what the CRT does, but does make the rest of the curve more closely match the effect of ambient light on the CRT. In such expressions the exponent is not the gamma; for instance, the sRGB function uses a power of 2.4 in it, but more closely resembles a power-law function with an exponent of 2.2, without a linear portion.

Methods to perform display gamma correction in computing


Up to four elements can be manipulated in order to achieve gamma encoding to correct the image to be shown on a typical 2.2- or 1.8-gamma computer display:

  • The pixel's intensity values in a given image file; that is, the binary pixel values are stored in the file in such way that they represent the light intensity via gamma-compressed values instead a linear encoding. This is done systematically with digital video files (as those in a DVD
    DVD

    DVD, also known as "Digital Versatile Disc" or "Digital Video Disc,"is a popular optical disc data storage device media format. Its main uses are video and data storage....
     movie), in order to save a gamma-decoding step while playing. Similarly, pixel values in standard image file formats are usually gamma-compensated, either for sRGB gamma (or equivalent, an approximation of typical of legacy monitor gammas), or according to some gamma specified by metadata such as an ICC profile
    ICC profile

    In color management, an ICC profile is a set of data that characterizes a color input or output device, or a color space, according to standards promulgated by the International Color Consortium ....
    . If the encoding gamma does not match the reproduction system's gamma, further correction may be done, either on display or to create a modified image file with a different profile.


  • The rendering software writes gamma-encoded pixel binary values directly to the video memory (when highcolor/truecolor
    Truecolor

    Truecolor is a method of representing and storing graphical image information in an RGB color space such that a very large number of colors, shades, and hues can be displayed in an image, such as in high quality photographic images or complex graphics....
     modes are used) or in the CLUT
    CLUT

    A colour look-up table is a mechanism used to transform a range of input colors into another range of colors. It can be a hardware device built into an imaging system or a software function built into an application....
     hardware register
    Hardware register

    In digital electronics, especially computing, a hardware register stores bits of information, in a way that all the bits can be written to or read out simultaneously....
    s (when indexed color
    Indexed color

    In computing, indexed color is a technique to manage digital images' colors in a limited fashion, in order to save computer's computer data storage and Hard disk drive, while speeding up display refresh and telecom transfers....
     modes are used) of the display adapter. They drive Digital-to-Analog Converter
    Digital-to-analog converter

    In electronics, a digital-to-analog converter is a device for converting a digital code to an analog signal .An analog-to-digital converter performs the reverse operation....
    s (DAC) which output the proportional voltages to the display. For example, when using 8-bit per channel, 24-bit RGB
    List of monochrome and RGB palettes

    This list of monochrome and RGB palettes includes generic repertoires of colors to produce black-and-white and RGB color pictures by a computer's display Computer hardware, not necessarily the total number of such colors that can be simultaneously displayed in a given text or graphic mode of any machine....
     color, writing a value of 128 (rounded midpoint of the 0-255 byte
    Byte

    A byte is a basic unit of measurement of Computer storage in computer science. In many computer architectures it is a Byte addressing memory address space....
     range) in video memory it outputs the proportional ˜0.5 voltage to the display, which it is shown darker due to the monitor behavior. Alternatively, to achieve ˜50% intensity, a gamma-encoded look-up table can be applied to write a value near to 187 instead of 128 by the rendering software.


  • Modern display adapters have dedicated calibrating CLUTs, which can be loaded once with the appropriate gamma-correction look-up table in order to modify the encoded signals digitally before the DACs that output voltages to the monitor. Setting up these tables to be correct is called hardware calibration.


  • Some modern monitors allow to the user to manipulate their gamma behavior (as if it were merely another brightness/contrast-like setting), encoding the input signals by themselves before they are displayed on screen. This is also a calibration by hardware technique, but it is performed in an analogic way with the electric signals, instead of digitally remapping the binary values as in the previous cases.


In a correct calibrated system, ideally only one of the elements, the one the first creates image data, should have the gamma encoder role, in order to avoid successively cascaded gamma encodings. Subsequent stages may change the gamma to correct for different requirements, and finally the output device will do gamma decoding back to a linear intensity domain. All the encoding and correction methods can be arbitrarily superimposed, without mutual knowledge of this fact among the different elements, which if done incorrectly can lead to highly distorted results but if done correctly as dictated by standards and conventions will lead to a properly functioning system.

In a typical system, for example from camera through JPEG
JPEG

In computing, JPEG is a commonly used method of for photographic images. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality....
 file to display, the role of gamma correction will involve several cooperating parts. The camera encodes its rendered image into the JPEG file using one of the standard gamma values such as 2.2, for storage and transmission. The display computer may use a color management
Color management

In digital imaging systems, color management is the controlled conversion between the color representations of various devices, such as s, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, and corresponding media....
 engine to convert to a different color space (such as a Macintosh's gamma=1.8 color space) before putting pixel values into its video memory. The monitor may do its own gamma correction to match the CRT gamma to that used by the video system. Coordinating the components via standard interfaces with default standard gamma values makes it possible to get such system properly configured.

Simple monitor tests


To see whether your computer monitor
Computer display

A visual display unit, often called simply a monitor or display, is a piece of electrical equipment which displays images generated from the video output of devices such as computers, without producing a permanent record....
 is properly hardware adjusted and can display shadow detail in sRGB images properly, you should see the left half of the circle in the large black square very faintly (or not at all), but the right half should be clearly visible. If not, you can adjust your monitor's contrast
Contrast (vision)

Contrast is the difference in visual properties that makes an object distinguishable from other objects and the background. In visual perception of the real world, contrast is determined by the difference in the color and brightness of the object and other objects within the same field of view....
 and/or brightness
Brightness

Brightness is an attribute of visual perception in which a source appears to be radiating or reflecting light. In other words, brightness is the perception elicited by the luminance of a visual target....
 setting. This alters the monitor's perceived gamma.

This procedure is not suitable for calibrating
Color calibration

The aim of color calibration is to measure or adjust the color response of a device to establish a known relationship to a standard color space....
 or print-proofing a monitor. It can be useful for making your monitor display sRGB images approximately correctly, on systems in which profiles are not used (for example, the Firefox browser prior to version 3.0 and many others) or in systems that assume untagged source images are in the sRGB colorspace.

On some operating systems running the X Window System
X Window System

The X Window System is a computing software system and network protocol that provides a graphical user interface for networked computers. It implements the X Window System protocols and architecture and provides windowing system on raster graphics Visual display units and manages Keyboard and pointing device control functions....
 you can change gamma-correction settings, by issuing the command xgamma -gamma 2.1 for setting gamma value to 2.1, and xgamma for querying current value. In Macintosh
Macintosh

File:Imac alu.pngMacintosh, commonly shortened to Mac, is a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc....
 systems, the gamma and other related screen calibrations are made through the OS control panel. Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 systems lack (up to the XP
Windows XP

Windows XP is a line of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptop, and media centers....
 version, inclusive) a true native calibration tool. Third-party tools, as those provided with Nvidia
NVIDIA

Nvidia is a multinational corporation specializing in the manufacture of graphics processing unit technologies for workstations, desktop computers, and mobile devices....
 graphic cards' driver
Device driver

In computing, a device driver or software driver is a computer program allowing higher-level computer programs to interact with a hardware device....
s or the Adobe gamma loader tool for Adobe
Adobe Systems

Adobe Systems Incorporated is an United States computer Computer software company headquartered in San Jose, California, USA. The company has historically focused upon the creation of multimedia and creativity software products, with a more-recent foray into rich Internet application software development....
 products play the same role under Microsoft Windows.

In the test pattern to the right, the linear intensity of each solid bar is the average of the linear intensities in the surrounding striped dither; therefore, ideally, the solid squares and the dithers should appear equally bright in a properly adjusted sRGB system.

Photography


The same term (gamma) has long been used in photography
Photography

Photography is the process, activity and art of creating still or moving by recording radiation on a sensitive medium, such as a photographic film, or an ....
 to describe an analogous nonlinearity. In photography, gamma refers to the slope of the straight-line region of the sensitometric
Sensitometry

Sensitometry is the scientific study of light-sensitive materials, especially photographic film. The study has its origins in the work by Ferdinand Hurter and Vero Charles Driffield with early black-and-white emulsions....
 curve (Hurter–Driffield curve), which is a plot of density (or the negative of the base 10 logarithm
Logarithm

In mathematics, the logarithm of a number to a given base is the Power or exponent to which the base must be raised in order to produce the number....
 of transmittance) of the film image versus the logarithm of the film's exposure to light.

Ansel Adams
Ansel Adams

Ansel Easton Adams was an American photographer and environmentalist, best known for his black-and-white photographs of the American West and primarily Yosemite National Park....
 describes the gamma concept, but then dismisses it as "a term of interest and significance only to the research scientist and the manufacturer", and elaborates:

'7 minutes at 68°F in Ansco 47 for Isopan' represents 'normal' to me. I have no idea what the actual effective gamma is, nor do I care. I could consider this degree of development as yielding Gamma = 1.0 or being Development No. 9 or Operation H, or any other symbol I choose. But why should I inject an unnecessary and confusing symbol for a perfectly simple statement of procedure? 'Isopan/Ansco 47/68°F/7minutes' is definite and easily expressed and understood as the means of obtaining my 'normal' negative.


Photographic film
Photographic film

Photographic film is a sheet of plastic coated with an emulsion containing light-sensitive silver halide salts with variable crystal sizes that determine the sensitivity, contrast and of the film....
 has a much greater ability to record fine differences in shade than can be reproduced on photographic paper
Photographic paper

This article is about light-sensitive photographic media; for digital printing media please see Photo printer, photo paper and inkjet paper.Photographic paper is paper coated with light-sensitive chemicals, used for making photographic prints....
. Similarly, most video screens are not capable of displaying the range of brightnesses (dynamic range) which can be captured by typical electronic cameras. For this reason, considerable artistic effort is invested in choosing in which reduced form the original image should be presented. The gamma correction
Gamma correction

Gamma correction, gamma nonlinearity, gamma encoding, or often simply gamma, is the name of a nonlinear operation used to code and decode luminance or tristimulus values in video or still image systems....
, or contrast selection, is part of the photographic repertoire used to adjust the reproduced image.

Analogously, digital cameras record light using electronic sensors that usually respond linearly. In the process of rendering linear raw data to conventional RGB data (e.g. for storage into JPEG image format), color space transformations and rendering transformations will be performed. In particular, almost all standard RGB color spaces and file formats use a non-linear encoding (a gamma compression) of the intended intensities of the primary color
Primary color

Primary colors are sets of colors that can be combined to make a useful range of colors. For human applications, three are often used; for additive combination of colors, as in overlapping projected lights or in cathode ray tube displays, the primary colors normally used are red, green, and blue....
s of the photographic reproduction; in addition, the intended reproduction is almost always nonlinearly related to the measured scene intensities, via a tone reproduction nonlinearity.

Terminology


The term intensity refers strictly to the amount of light that is emitted per unit of time and per unit of surface, in units of lux
Lux

The lux is the SI unit of illuminance and luminous emittance. It is used in photometry as a measure of the apparent intensity of light hitting or passing through a surface....
. Note, however, that in many fields of science this quantity is called luminous emittance, as opposed to luminous intensity
Luminous intensity

In Photometry , luminous intensity is a measure of the wavelength-weighted Power emitted by a light source in a particular direction per unit solid angle, based on the luminosity function, a standardized model of the sensitivity of the human eye....
, which is a different quantity. These distinctions, however, are largely irrelevant to gamma compression, which is applicable to any sort of normalized linear intensity-like scale.

Luminance can mean several things even within the context of video and imaging:
  • Luminance
    Luminance

    Luminance is a Photometry measure of the luminous intensity per unit area of light travelling in a given direction. It describes the amount of light that passes through or is emitted from a particular area, and falls within a given solid angle....
     is the photometric brightness of an object, taking into account the wavelength-dependent sensitivity of the human eye (in units of cd
    Candela

    The candela is the SI base unit of luminous intensity; that is, power emitted by a light source in a particular direction, weighted by the luminosity function ....
    /m²);
  • Luminance (video)
    Luminance (video)

    Relative luminance follows the Luminance, but with the values normalized to 1 or 100 for a reference white. Like the photometric definition, it is related to the luminous flux density in a particular direction, which is radiant flux density weighted by the Luminosity_function of the CIE Standard Observer....
     is the encoded video "luma" signal, i.e. similar to the signal voltage VS.
  • Luminance (relative) is the luminance signal used in a color-space encoding, relative to a white level.


Likewise, brightness
Brightness

Brightness is an attribute of visual perception in which a source appears to be radiating or reflecting light. In other words, brightness is the perception elicited by the luminance of a visual target....
 is sometimes applied to various measures, including light levels, though it more properly applies to a subjective visual attribute.

Gamma correction is a type of power law
Power law

A power law is a special kind of mathematical relationship between two quantities. If one quantity is the frequency of an event, the relationship is a power-law distribution, and the frequencies decrease very slowly as the size of the event increases....
 function whose exponent is the Greek letter gamma
Gamma

Gamma is the third letter of the Greek alphabet. In the system of Greek numerals it has a value of 3. It was derived from the Phoenician alphabet Gimel ....
. It should not be confused with the mathematical Gamma function
Gamma function

In mathematics, the Gamma function is an extension of the factorial function to real number and complex number numbers. For a complex number z with positive real part the Gamma function is defined by...
. The lower case gamma, ?, is a parameter
Parameter

In mathematics, statistics, and the mathematical sciences, a parameter is a quantity that defines certain characteristics of systems or function s....
 of the former; the upper case letter, G, is the name of (and symbol used for) the latter (as in ""). To use the word "function" in conjunction with gamma correction, one may avoid confusion by saying "generalized power law function."

In lack of context, a given gamma value can be either the encoding or the decoding value. Caution must be taken to correctly interpreting the value as that to be applied-to-compensate or to be compensated-by-applying its inverse. In common parlance, in many occasions the decoding value (as 2.2) is employed as if it were the encoding value, instead of its inverse (1/2.2 in this case) which is the real value that must be applied to encode gamma.

See also

  • Brightness
    Brightness

    Brightness is an attribute of visual perception in which a source appears to be radiating or reflecting light. In other words, brightness is the perception elicited by the luminance of a visual target....
  • Luminance
    Luminance

    Luminance is a Photometry measure of the luminous intensity per unit area of light travelling in a given direction. It describes the amount of light that passes through or is emitted from a particular area, and falls within a given solid angle....
  • Luminance (video)
    Luminance (video)

    Relative luminance follows the Luminance, but with the values normalized to 1 or 100 for a reference white. Like the photometric definition, it is related to the luminous flux density in a particular direction, which is radiant flux density weighted by the Luminosity_function of the CIE Standard Observer....
  • Luminance (relative)
  • Contrast (vision)
    Contrast (vision)

    Contrast is the difference in visual properties that makes an object distinguishable from other objects and the background. In visual perception of the real world, contrast is determined by the difference in the color and brightness of the object and other objects within the same field of view....
  • Color management
    Color management

    In digital imaging systems, color management is the controlled conversion between the color representations of various devices, such as s, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, and corresponding media....


External links


General information

  • by Poynton
  • (from the PNG specification)
  • by Computer Graphics Systems Development Corporation


Monitor gamma tools

  • for correct gamma correction (by Norman Koren)