Enum kolor_64::details::color::TransformFn [−][src]
#[repr(u8)] pub enum TransformFn {}Show variants
NONE, sRGB, Oklab, Oklch, CIE_xyY, CIELAB, CIELCh, CIE_1960_UCS, CIE_1960_UCS_uvV, CIE_1964_UVW, CIE_1976_Luv, HSL, HSV, HSI, ICtCp_PQ, ICtCp_HLG, BT_601, PQ,
Expand description
A TransformFn identifies an invertible mapping of colors in a linear ColorSpace.
Variants
The sRGB transfer functions (aka “gamma correction”)
Oklab conversion from xyz
Oklch (Oklab’s LCh variant) conversion from xyz
CIE xyY transform
CIELAB transform
CIELCh transform
CIE 1960 UCS transform
CIE 1960 UCS transform in uvV form
CIE 1964 UVW transform
CIE 1976 Luv transform
(Hue, Saturation, Lightness), where L is defined as the average of the largest and smallest color components
(Hue, Saturation, Value), where V is defined as the largest component of a color
(Hue, Saturation, Intensity), where I is defined as the average of the three components
BT.2100 ICtCp with PQ transfer function
BT.2100 ICtCp with HLG transfer function
The BT.601/BT.709/BT.2020 (they are equivalent) OETF and inverse.
SMPTE ST 2084:2014 aka “Perceptual Quantizer” transfer functions used in BT.2100 for digitally created/distributed HDR content.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TransformFn
impl Send for TransformFn
impl Sync for TransformFn
impl Unpin for TransformFn
impl UnwindSafe for TransformFn
Blanket Implementations
Mutably borrows from an owned value. Read more