Skip to content

Instantly share code, notes, and snippets.

@fasterthanlime
Created November 19, 2024 19:58
Show Gist options
  • Save fasterthanlime/cb6b12988ae713806edf4b576222cca3 to your computer and use it in GitHub Desktop.
Save fasterthanlime/cb6b12988ae713806edf4b576222cca3 to your computer and use it in GitHub Desktop.

The most "modern" or "accurate" color space depends on the context and purpose, but generally, the CIE XYZ and CIE LAB spaces are considered foundational in terms of accuracy relative to human vision. However, newer color spaces like ICtCp and Jzazbz are gaining attention for their modern design and enhanced accuracy in specific contexts like HDR and perceptual uniformity.

Here's a breakdown:

1. CIE XYZ (1931)

  • Why it's accurate: CIE XYZ was designed to encompass all colors visible to the human eye, based on direct measurements of human color perception.

  • Strengths:

  • Foundation for all modern color spaces.

  • Device-independent and universal.

  • Limitations:

  • Not perceptually uniform (equal distances in XYZ do not match perceived color differences).

2. CIE LAB (1976)

  • Why it's accurate: LAB improves on XYZ by being perceptually uniform, meaning that equal distances correspond to roughly equal perceived differences.

  • Strengths:

  • Full human-visible gamut.

  • Perceptual uniformity.

  • Useful for color manipulation in image processing.

  • Limitations:

  • Less suited for direct usage in digital displays or workflows due to complexity and non-intuitive structure.

3. DCI-P3, Rec. 709, Rec. 2020

  • Why they're modern: These are RGB-based color spaces optimized for display technologies, not human vision, but they excel in practical applications:

  • Rec. 709: Standard for HDTVs (sRGB shares the same gamut).

  • DCI-P3: Standard for digital cinema and many modern displays.

  • Rec. 2020: Future-focused with an extremely wide gamut for UHD and HDR.

  • Strengths:

  • Directly tied to current hardware capabilities.

  • Limitations:

  • Gamut restricted compared to LAB or XYZ.

  • Not perceptually uniform.

4. ICtCp (2016)

  • Why it's modern: Developed for HDR content, ICtCp offers better perceptual uniformity and chroma compression than older spaces like Rec. 2020 or YCbCr.

  • Strengths:

  • Efficient for HDR.

  • High perceptual accuracy for brightness and color differences.

  • Limitations:

  • Tied to HDR workflows and not widely adopted yet.

5. Jzazbz (2017)

  • Why it's cutting-edge: Jzazbz builds on LAB principles and is specifically designed for HDR and WCG (Wide Color Gamut) content.

  • Strengths:

  • Extremely accurate for HDR, accounting for high dynamic ranges and wide gamuts.

  • Improved perceptual uniformity over LAB and ICtCp.

  • Limitations:

  • New and not yet widely supported in tools and hardware.

Conclusion:

  • For human-perception accuracyCIE LAB or Jzazbz.

  • For modern digital contentICtCp or Rec. 2020.

  • For a universal baselineCIE XYZ remains the theoretical standard.

If you're working in HDR, Jzazbz or ICtCp are the most "accurate." For general workflows, CIE LAB is the best perceptual match to human vision, while DCI-P3 or Rec. 2020 are practical standards tied to hardware and display capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment