Class KnownChromaticAdaptationMatrices
- Namespace
- SixLabors.ImageSharp.ColorProfiles
- Assembly
- SixLabors.ImageSharp.dll
Provides matrices for chromatic adaptation, facilitating the adjustment of color values under different light sources to maintain color constancy. This class supports common adaptation transforms based on the von Kries coefficient law, which assumes independent scaling of the cone responses in the human eye. These matrices can be applied to convert color coordinates between different illuminants, ensuring consistent color appearance across various lighting conditions.
public static class KnownChromaticAdaptationMatrices
- Inheritance
-
KnownChromaticAdaptationMatrices
- Inherited Members
Remarks
Supported adaptation matrices include the Bradford, von Kries, and Sharp transforms. These matrices are typically used in conjunction with color space conversions, such as from XYZ to RGB, to achieve accurate color rendition in digital imaging applications.
Fields
Bradford
Bradford chromatic adaptation transform matrix (used in CMCCAT97)
public static readonly Matrix4x4 Bradford
Field Value
BradfordSharp
Spectral sharpening and the Bradford transform
public static readonly Matrix4x4 BradfordSharp
Field Value
CAT02
CAT02 (optimized for minimizing CIELAB differences)
public static readonly Matrix4x4 CAT02
Field Value
CMCCAT2000
CMCCAT2000 (fitted from all available color data sets)
public static readonly Matrix4x4 CMCCAT2000
Field Value
VonKriesHPE
von Kries chromatic adaptation transform matrix (Hunt-Pointer-Estevez for equal energy)
public static readonly Matrix4x4 VonKriesHPE
Field Value
VonKriesHPEAdjusted
von Kries chromatic adaptation transform matrix (Hunt-Pointer-Estevez adjusted for D65)
public static readonly Matrix4x4 VonKriesHPEAdjusted
Field Value
XyzScaling
XYZ scaling chromatic adaptation transform matrix
public static readonly Matrix4x4 XyzScaling