Gamma vs Gamut
Gamma and Gamut are two fundamental concepts in video editing and color science that deal with different aspects of how colors are perceived, stored, and displayed. They are both crucial for achieving accurate and consistent color reproduction.
1. Gamut (Color Gamut)
Definition: Gamut refers to the range or subset of colors that a particular device (camera, monitor, printer), color space, or human eye can capture, reproduce, or perceive. Think of it as the "palette" of colors available.
Key Concepts:
- Color Space: A specific organization of colors that acts as a map for describing them. Common color spaces include:
- sRGB: The most common color space for web, general computer displays, and consumer devices. It has a relatively small gamut.
- Rec. 709: The standard color space for HD video. Its gamut is very similar to sRGB.
- DCI-P3: A wider gamut often used in digital cinema projectors and newer, high-end consumer displays (like many smartphones and Apple products).
- Rec. 2020 (BT.2020): A much wider gamut standard designed for Ultra HD (UHD) and HDR (High Dynamic Range) content, encompassing a very large range of colors, often exceeding what current display technology can fully reproduce.
- Device Gamut: Every device has its own limitations. A camera can only capture a certain range of colors, a monitor can only display a certain range, and a printer can only reproduce another range.
- Gamut Mapping: When you display content created in one color space (e.g., DCI-P3) on a device with a smaller gamut (e.g., sRGB monitor), the colors that fall outside the sRGB gamut must be "mapped" or adjusted to the closest reproducible color within the sRGB gamut. This can lead to a loss of color fidelity or vibrancy.
Why it's important in video editing:
- Color Consistency: Understanding gamut helps ensure that the colors you see in your editing suite are representative of what your audience will see on their various displays.
- Target Delivery: You need to work within the target color space (and its corresponding gamut) for your final delivery. For example, broadcasting generally requires Rec. 709. HDR delivery might target Rec. 2020.
- Avoiding "Out of Gamut" Colors: Being aware of your working and target gamuts helps you avoid introducing colors that can't be accurately reproduced, which might look fine on your wide-gamut editing monitor but become dull or posterized on a standard sRGB screen.
2. Gamma
Definition: Gamma describes the non-linear relationship between the numerical value of a pixel in an image and its actual perceived brightness or luminance. It addresses how light is encoded and decoded in a way that matches human vision.
Key Concepts:
- Human Vision is Non-Linear: Our eyes are more sensitive to changes in brightness in darker areas than in brighter areas. If light were encoded linearly (e.g., doubling the numerical value meant doubling the light output), most of the data would be wasted in bright areas, and dark areas would lack detail.
- Gamma Encoding (or Gamma Compression): Applied by cameras (and graphic cards/software) to image data to compress the dynamic range in a way that better matches human perception. It allocates more data bits to darker tones and fewer to brighter tones. This makes images appear more pleasing and makes efficient use of limited bit depth.
- Gamma Decoding (or Gamma Correction): Applied by displays to effectively "undo" the gamma encoding, restoring the image to its intended brightness range. Without proper gamma decoding, an image would look dark and muddy.
- Gamma Curves: Represented by a mathematical curve (often power-law functions like 2.2, 2.4). Different standards use different gamma values or curves:
- Rec. 709: Specifies a gamma of approximately 2.4 for displays (though cameras often encode around 0.45, resulting in a system gamma of 1.25, with a display target of 2.4).
- sRGB: Closely related to Rec. 709, often approximated with a 2.2 gamma.
- Log Gamma (Logarithmic Gamma): Specialized gamma curves (e.g., Canon Log, S-Log, V-Log) used by professional cameras to capture the widest possible dynamic range, especially for high-end color grading. Log footage looks flat and desaturated before grading.
- HLG (Hybrid Log-Gamma) / PQ (Perceptual Quantizer): Gamma curves used specifically for HDR (High Dynamic Range) content, designed to represent a much broader range of brightness levels.
Why it's important in video editing:
- Correct Brightness Reproduction: Proper gamma handling ensures that your video's brightness and contrast look correct and consistent across different devices.
- Dynamic Range Management: Understanding gamma curves (especially Log profiles) is crucial for working with footage that captures a wide dynamic range, allowing you to "stretch" that data into a viewable range during color grading.
- Monitoring: Your professional monitoring setup needs to be correctly calibrated for the target gamma (e.g., Rec. 709 Gamma 2.4 for broadcast, or specific HDR EOTFs for HDR projects) to ensure what you see is accurate.
- Color Grading: Gamma adjustments are a core part of color grading, affecting the overall lightness and contrast, especially in mid-tones.
Analogy
Imagine a painter:
- Gamut is like the set of colors available in their paint box. Some artists might have a small box with basic colors (sRGB), while others might have a huge, specialized box with every conceivable shade (Rec. 2020). They can only paint with the colors they have.
- Gamma is like how brightly or dimly the painter perceives and represents different shades of gray (brightness). If they paint linearly, bright areas get too much emphasis, and dark areas lose detail. So, they learn to compress the brights and expand the darks in their technique (gamma encoding) so that when viewed by others, the painting looks natural and detailed across all brightness levels.
Example: In DaVinci Resolve
In DaVinci Resolve, these 2 are often paired together, forming the core of Resolve's Color Management (RCM) system's "Timeline Color Space."
- DaVinci Wide Gamut (DWG): the color space.
- DaVinci Intermediate: the logarithmic gamma curve.
Etymology
The two words, gamma and gamut, are etymologically related.
The connection stems from the Greek letter gamma (Γ, γ).
-
Gamma (the Greek letter): The third letter of the Greek alphabet. In various scientific and mathematical contexts, it's used as a symbol for different concepts (e.g., gamma rays, gamma correction in imaging).
-
Gamut:
- Its origin is in medieval music theory.
- The lowest note in the medieval musical scale was called "gamma ut" (or "gamme ut"). The "gamma" part referred to the Greek letter gamma, which was used as the symbol for this lowest note (often equivalent to the modern G note). The "ut" was the old name for the first note of a hexachord (what we now call "do" in solfège, though in this context, it was the specific starting pitch).
- From referring to this foundational lowest note, "gamma ut" came to represent the entire range of notes in the musical scale.
- Over time, this musical term broadened its meaning to refer to the entire scope, range, or extent of anything.
So, both words ultimately derive from the use of the Greek letter gamma. In "gamma" (as in gamma correction), it's the direct use of the letter as a scientific symbol. In "gamut," it's derived from the specific use of the letter to denote a musical pitch which then extended to mean a "range."