encyclopegia.org

Gamma correction

Gamma correction or gamma is a nonlinear operation used to encode and decode luminance in video or images.[src] Gamma correction is, in the simplest cases, defined by the following power-law expression: : V_\text{out} = A V_\text{in}^\gamma, where the non-negative real input value V_\text{in} is raised to the power \gamma and multiplied by the constant A to get the output value V_\text{out} .[src] In the common case of , inputs and outputs are typically in the range 0–1.[src] A gamma value \gamma 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 \gamma > 1 is called a decoding gamma, and the application of the expansive power-law nonlinearity is called gamma expansion.[src]

Gamma correction or gamma is a nonlinear operation used to encode and decode luminance in video or images.[src] Gamma correction is, in the simplest cases, defined by the following power-law expression: V_\text{out} = A V_\text{in}^\gamma, where the non-negative real input value V_\text{in} is raised to the power \gamma and multiplied by the constant A to get the output value V_\text{out} .[src] In the common case of , inputs and outputs are typically in the range 0–1.[src] A gamma value \gamma 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 \gamma > 1 is called a decoding gamma, and the application of the expansive power-law nonlinearity is called gamma expansion.[src] The concept of gamma can be applied to any nonlinear relationship.[src] For the power-law relationship V_\text{out} = V_\text{in}^\gamma , the curve on a log–log plot is a straight line, with slope everywhere equal to gamma (slope is represented here by the derivative operator): \gamma = \frac{\mathrm{d} \log(V_\text{out})}{\mathrm{d} \log(V_\text{in})}.[src] That is, gamma can be visualized as the slope of the input–output curve when plotted on logarithmic axes.[src] For a power-law curve, this slope is constant, but the idea can be extended to any type of curve, in which case gamma (strictly speaking, "point gamma" ) is defined as the slope of the curve in any particular region.[src] Gamma correction in computers is used, for example, to display a gamma = 1.8 Apple picture correctly on a gamma = 2.2 PC monitor by changing the image gamma.[src] Another usage is equalizing of the individual color-channel gammas to correct for monitor discrepancies.[src] Paradoxically, when upsampling (scaling up) an image, the result processed in a "wrong" (non-physical) gamma color space is often more aesthetically pleasing.[src] This is because resampling filters with negative lobes like Mitchell–Netravali and Lanczos create ringing artifacts linearly even though human perception is non-linear and better approximated by gamma.[src] (Emulating "stepping back," which motivates downsampling in linear light (gamma=1), does not apply when upsampling.) A related method of reducing the visibility of ringing artifacts consists of using a sigmoidal light transfer function as pioneered by ImageMagick and GIMP's LoHalo filter and adapted to video upsampling by madVR, AviSynth and Mpv.[src] Inverting a high-contrast image (such as text) by doing 1-x looks correct (same weight of the letters) in a gamma space.[src] Also several of the "Photoshop operations" (overlay, hard light, soft light, etc) were designed to work in gamma space and look incorrect in linear space.[src] These functions must be adjusted to work in a different gamma or linear space.[src] Programmers must also watch out for whether "premultiplication" by the alpha was done before or after converting to the stored space, and whether the alpha channel itself is linear or gamma corrected.[src] Gamma error in picture scaling by Eric Brasseur WHAT EVERY CODER SHOULD KNOW ABOUT GAMMA by JOHN NOVAK[src]

22 sentences · 22 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Gamma correction." encyclopegia.org, 2026, https://encyclopegia.org/wiki/gamma-correction. Accessed 02 December 2026.

Chicago

"Gamma correction." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/gamma-correction.

APA

encyclopegia.org. (2026). Gamma correction. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/gamma-correction

Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Astro-rivelatore Gamma a Immagini Leggero

stub · references available

Bonferroni correction

stub · references available

Correction

stub · references available

Bessel's correction

stub · references available

list of gamma-ray bursts

stub · references available

High-Energy-Gamma-Ray Astronomy

stub · references available

Gamma Canis Minoris

stub · references available

Gamma Serpentis

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1374196278 · 0.5 · snapshot enwiki-001374196278

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.