Skip to main content

Module gamma

Module gamma 

Source
Expand description

Gamma, OETF, and EOTF transfer functions and lookup tables.

RGB and some other color spaces tend to be stored and communicated in a non-linear format. This module collects transfer functions for conversion between linear and non-linear values under the “gamma” umbrella term.

Modules§

lut
Lookup table utilities for gamma functions.

Functions§

adobe_rgb_builder
Create a lookup table builder for the transfer functions used in Adobe RGB.
p3_builder
Create a lookup table builder for the transfer functions used in DCI-P3.
prophoto_rgb_builder
Create a lookup table builder for the transfer functions used in ProPhoto RGB.
rec_oetf_builder
Create a lookup table builder for the transfer functions used in Rec. 709 and Rec. 2020.
srgb_lut_builder
Create a lookup table builder for the transfer functions used in sRGB.