Colour Models#
CIE Models#
CIE xyY Colourspace#
colour
|
Convert from CIE xy chromaticity coordinates to CIE xyY colourspace by extending the array's last dimension with the specified \(Y\) luminance. |
|
Convert from CIE xy chromaticity coordinates to CIE XYZ tristimulus values. |
|
Convert from CIE xyY colourspace to CIE xy chromaticity coordinates. |
|
Convert from CIE xyY colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to CIE xy chromaticity coordinates. |
|
Convert from CIE XYZ tristimulus values to CIE xyY colourspace. |
CIE L*a*b* Colourspace#
colour
|
Convert from CIE L*a*b* colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to CIE L*a*b* colourspace. |
CIE L*u*v* Colourspace#
colour
|
Convert from \(uv^pL^*\) colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE L*u*v* colourspace to \(uv^p\) chromaticity coordinates. |
|
Convert from CIE L*u*v* colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE L*u*v* colourspace \(u'v'\) chromaticity coordinates to CIE xy chromaticity coordinates. |
|
Convert from \(uv^p\) chromaticity coordinates to CIE L*u*v* colourspace by extending the array's last dimension with the specified \(L^*\) Lightness. |
|
Convert from CIE xy chromaticity coordinates to CIE L*u*v* colourspace \(u'v'\) chromaticity coordinates. |
|
Convert from CIE XYZ tristimulus values to \(uv^pL^*\) colourspace. |
|
Convert from CIE XYZ tristimulus values to CIE L*u*v* colourspace. |
CIE 1960 UCS Colourspace#
colour
|
Convert from CIE 1960 UCS \(uvV\) colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE 1960 UCS colourspace to uv chromaticity coordinates. |
|
Convert from CIE 1960 UCS \(UVW\) colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE 1960 UCS \(UVW\) colourspace uv chromaticity coordinates to CIE xy chromaticity coordinates. |
|
Convert from uv chromaticity coordinates to CIE 1960 UCS colourspace. |
|
Convert from CIE xy chromaticity coordinates to CIE 1960 UCS \(UVW\) colourspace uv chromaticity coordinates. |
|
Convert from CIE XYZ tristimulus values to CIE 1960 UCS \(uvV\) colourspace. |
|
Convert from CIE XYZ tristimulus values to CIE 1960 UCS \(UVW\) colourspace. |
CIE 1964 U*V*W* Colourspace#
colour
|
Convert from CIE 1964 U*V*W* colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to CIE 1964 U*V*W* colourspace. |
Colourspace Models#
colour
Colourspace models supporting a direct conversion to CIE XYZ tristimulus values. |
CAM02-LCD, CAM02-SCD, and CAM02-UCS Colourspaces - Luo, Cui and Li (2006)#
colour
|
Convert from Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array to CIECAM02 \(JMh\) correlates array. |
|
Convert from Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array to CIE XYZ tristimulus values. |
|
Convert from Luo et al. (2006) CAM02-SCD colourspace \(J'a'b'\) array to CIECAM02 \(JMh\) correlates array. |
|
Convert from Luo et al. (2006) CAM02-SCD colourspace \(J'a'b'\) array to CIE XYZ tristimulus values. |
|
Convert from Luo et al. (2006) CAM02-UCS colourspace \(J'a'b'\) array to CIECAM02 \(JMh\) correlates array. |
|
Convert from Luo et al. (2006) CAM02-UCS colourspace \(J'a'b'\) array to CIE XYZ tristimulus values. |
Convert from CIECAM02 \(JMh\) correlates array to Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array. |
|
Convert from CIECAM02 \(JMh\) correlates array to Luo et al. (2006) CAM02-SCD colourspace \(J'a'b'\) array. |
|
Convert from CIECAM02 \(JMh\) correlates array to Luo et al. (2006) CAM02-UCS colourspace \(J'a'b'\) array. |
|
|
Convert from CIE XYZ tristimulus values to Luo et al. (2006) CAM02-LCD colourspace \(J'a'b'\) array. |
|
Convert from CIE XYZ tristimulus values to Luo et al. (2006) CAM02-SCD colourspace \(J'a'b'\) array. |
|
Convert from CIE XYZ tristimulus values to Luo et al. (2006) CAM02-UCS colourspace \(J'a'b'\) array. |
CAM16-LCD, CAM16-SCD, and CAM16-UCS Colourspaces - Li et al. (2017)#
colour
|
Convert from Li et al. (2017) CAM16-LCD colourspace \(J'a'b'\) array to CAM16 \(JMh\) correlates array. |
|
Convert from Li et al. (2017) CAM16-LCD colourspace \(J'a'b'\) array to CIE XYZ tristimulus values. |
|
Convert from Li et al. (2017) CAM16-SCD colourspace \(J'a'b'\) array to CAM16 \(JMh\) correlates array. |
|
Convert from Li et al. (2017) CAM16-SCD colourspace \(J'a'b'\) array to CIE XYZ tristimulus values. |
|
Convert from Li et al. (2017) CAM16-UCS colourspace \(J'a'b'\) array to CAM16 \(JMh\) correlates array. |
|
Convert from Li et al. (2017) CAM16-UCS colourspace \(J'a'b'\) array to CIE XYZ tristimulus values. |
|
Convert from CAM16 \(JMh\) correlates array to Luo et al. (2006) CAM16-LCD colourspace \(J'a'b'\) array. |
|
Convert from CAM16 \(JMh\) correlates array to Luo et al. (2006) CAM16-SCD colourspace \(J'a'b'\) array. |
|
Convert from CAM16 \(JMh\) correlates array to Luo et al. (2006) CAM16-UCS colourspace \(J'a'b'\) array. |
|
Convert from CIE XYZ tristimulus values to Li et al. (2017) CAM16-LCD colourspace \(J'a'b'\) array. |
|
Convert from CIE XYZ tristimulus values to Li et al. (2017) CAM16-SCD colourspace \(J'a'b'\) array. |
|
Convert from CIE XYZ tristimulus values to Li et al. (2017) CAM16-UCS colourspace \(J'a'b'\) array. |
DIN99 Colourspace and DIN99b, DIN99c, DIN99d Refined Formulas#
colour
|
Convert from DIN99 colourspace or one of the DIN99b, DIN99c, DIN99d refined formulas according to Cui et al. (2002) to CIE L*a*b* colourspace. |
|
Convert from DIN99 colourspace or one of the DIN99b, DIN99c, DIN99d refined formulas according to Cui et al. (2002) to CIE XYZ tristimulus values. |
|
Convert from CIE L*a*b* colourspace to DIN99 colourspace or one of the DIN99b, DIN99c, DIN99d refined formulas according to Cui et al. (2002). |
|
Convert from CIE XYZ tristimulus values to DIN99 colourspace or one of the DIN99b, DIN99c, DIN99d refined formulas according to Cui et al. (2002). |
Hunter L,a,b Colour Scale#
colour
|
Convert from Hunter L,a,b colour scale to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to Hunter L,a,b colour scale. |
Convert from whitepoint CIE XYZ tristimulus values to Hunter L,a,b \(K_{a}\) and \(K_{b}\) chromaticity coefficients. |
Hunter Rd,a,b Colour Scale#
colour
|
Convert from Hunter Rd,a,b colour scale to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to Hunter Rd,a,b colour scale. |
\(IC_AC_B\) Colourspace#
colour
|
Convert from \(IC_AC_B\) colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to \(IC_AC_B\) colourspace. |
\(I_GP_GT_G\) Colourspace#
colour
|
Convert from \(I_GP_GT_G\) colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to \(I_GP_GT_G\) colourspace. |
IPT Colourspace#
colour
|
Convert from IPT colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to IPT colourspace. |
Ancillary Objects
colour.models
|
Compute the hue angle in degrees from the IPT colourspace array. |
hdr-CIELAB Colourspace#
colour
Supported hdr-CIELAB colourspace computation methods. |
|
|
Convert from hdr-CIELAB colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to hdr-CIELAB colourspace. |
hdr-IPT Colourspace#
colour
Supported hdr-IPT colourspace computation methods. |
|
|
Convert from hdr-IPT colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to hdr-IPT colourspace. |
\(Jzazbz\) Colourspace#
colour
|
Convert from \(J_za_zb_z\) colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to \(J_za_zb_z\) |
Ancillary Objects
colour.models
Supported \(I_za_zb_z\) computation methods. |
|
|
Convert from \(I_za_zb_z\) colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to \(I_za_zb_z\) colourspace. |
Oklab Colourspace#
colour
|
Convert from Oklab colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to Oklab colourspace. |
OSA UCS Colourspace#
colour
|
Convert from OSA UCS colourspace to CIE XYZ tristimulus values under the CIE 1964 10 Degree Standard Observer. |
|
Convert from CIE XYZ tristimulus values under the CIE 1964 10 Degree Standard Observer to OSA UCS colourspace. |
ProLab Colourspace#
colour
|
Convert from ProLab colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to ProLab colourspace. |
Ragoo and Farup (2021) Optimised IPT Colourspace#
colour
|
Convert from Ragoo and Farup (2021) Optimised IPT colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to Ragoo and Farup (2021) Optimised IPT colourspace. |
sUCS Colourspace#
colour
|
Convert from sUCS colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to sUCS colourspace. |
Ancillary Objects
colour.models
|
Compute the chroma component from the sUCS colourspace. |
|
Compute the hue angle in degrees from the sUCS colourspace. |
|
Convert from sUCS \(Iab\) rectangular coordinates to sUCS \(ICh\) cylindrical coordinates. |
|
Convert from sUCS \(ICh\) cylindrical coordinates to sUCS \(Iab\) rectangular coordinates. |
Yrg Colourspace - Kirk (2019)#
colour
|
Convert from CIE XYZ tristimulus values to Kirk (2019) Yrg colourspace. |
|
Convert from Kirk (2019) Yrg colourspace to CIE XYZ tristimulus values. |
colour.models
|
Convert from LMS cone fundamentals colourspace to Kirk (2019) Yrg colourspace. |
|
Convert from Kirk (2019) Yrg colourspace to LMS cone fundamentals colourspace. |
Polar Transformations#
colour
Built-in immutable sequence. |
|
Convert from hdr_CIELab colourspace to hdr_CIELCHab colourspace. |
|
Convert from hdr_CIELCHab colourspace to hdr_CIELab colourspace. |
|
|
Convert from hdr_ICH colourspace to hdr_IPT colourspace. |
|
Convert from hdr_IPT colourspace to hdr_ICH colourspace. |
Convert from Hunter_Lab colourspace to Hunter_LCHab colourspace. |
|
Convert from Hunter_LCHab colourspace to Hunter_Lab colourspace. |
|
Convert from Hunter_Rdab colourspace to Hunter_RdCHab colourspace. |
|
Convert from Hunter_RdCHab colourspace to Hunter_Rdab colourspace. |
|
|
Convert from ICaCb colourspace to ICHab colourspace. |
Convert from ICH_Ragoo2021 colourspace to IPT_Ragoo2021 colourspace. |
|
|
Convert from ICH colourspace to IPT colourspace. |
|
Convert from ICHab colourspace to ICaCb colourspace. |
|
Convert from ICHtp colourspace to ICtCp colourspace. |
|
Convert from ICtCp colourspace to ICHtp colourspace. |
|
Convert from IgCHpt colourspace to IgPgTg colourspace. |
|
Convert from IgPgTg colourspace to IgCHpt colourspace. |
Convert from IPT_Ragoo2021 colourspace to ICH_Ragoo2021 colourspace. |
|
|
Convert from IPT colourspace to ICH colourspace. |
|
Convert from Izazbz colourspace to IzCHab colourspace. |
|
Convert from IzCHab colourspace to Izazbz colourspace. |
|
Convert from Jzazbz colourspace to JzCHab colourspace. |
|
Convert from JzCHab colourspace to Jzazbz colourspace. |
|
Convert from Lab colourspace to LCHab colourspace. |
|
Convert from LCHab colourspace to Lab colourspace. |
|
Convert from LCHuv colourspace to Luv colourspace. |
|
Convert from Luv colourspace to LCHuv colourspace. |
|
Convert from Oklab colourspace to Oklch colourspace. |
|
Convert from Oklch colourspace to Oklab colourspace. |
|
Convert from ProLab colourspace to ProLCHab colourspace. |
|
Convert from ProLCHab colourspace to ProLab colourspace. |
Helper Functions#
colour.models
|
Convert from IPT-like \(Iab\) colour representation to CIE XYZ tristimulus values. |
|
Convert from Jab colour representation to JCh colour representation. |
|
Convert from JCh colour representation to Jab colour representation. |
|
Convert from CIE XYZ tristimulus values to IPT-like \(Iab\) colour representation. |
RGB Colourspace and Transformations#
colour
|
Compute the matrix \(M\) converting from the specified input RGB colourspace to the specified output RGB colourspace using the specified chromatic adaptation method. |
|
Convert RGB colourspace array from the specified input RGB colourspace to specified output RGB colourspace using the specified chromatic adaptation method. |
|
Convert specified RGB colourspace array to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to RGB colourspace array. |
Ancillary Objects
colour
|
Convert from sRGB colourspace to CIE XYZ tristimulus values. |
|
Convert from CIE XYZ tristimulus values to sRGB colourspace. |
RGB Colourspace Derivation#
colour
|
Chromatically adapt specified primaries \(xy\) chromaticity coordinates from test |
|
Compute the Normalised Primary Matrix (NPM) converting a RGB colourspace array to CIE XYZ tristimulus values using the specified primaries and whitepoint \(xy\) chromaticity coordinates. |
|
Compute the primaries and whitepoint \(xy\) chromaticity coordinates using the specified Normalised Primary Matrix (NPM). |
|
Calculate the luminance \(Y\) of the specified RGB components using the specified primaries and whitepoint chromaticity coordinates. |
|
Return the luminance equation from the specified primaries and whitepoint. |
RGB Colourspaces#
colour
|
Implement support for RGB colourspace datasets from modules including |
Aggregated RGB colourspaces. |
colour.models
ACES2065-1 colourspace, base encoding, used for exchange of full fidelity images and archiving. |
|
ACEScc colourspace, a working space for color correctors, target for ASC-CDL values created on-set. |
|
ACEScg colourspace, a working space for paint/compositor applications that don't support ACES2065-1 or ACEScc. |
|
ACESproxy colourspace, a lightweight encoding for transmission over HD-SDI (or other production transmission schemes), onset look management. |
|
Adobe RGB (1998) colourspace. |
|
Adobe Wide Gamut RGB colourspace. |
|
Apple RGB colourspace. |
|
ARRI Wide Gamut 3 colourspace. |
|
ARRI Wide Gamut 4 colourspace. |
|
Best RGB colourspace. |
|
Beta RGB colourspace. |
|
Blackmagic Wide Gamut colourspace. |
|
RecommendationITU-R BT.2020 colourspace. |
|
Recommendation ITU-R BT.470 - 525 colourspace. |
|
Recommendation ITU-R BT.470 - 625 colourspace. |
|
Recommendation ITU-R BT.709 colourspace. |
|
CIE RGB colourspace. |
|
Canon Cinema Gamut colourspace. |
|
ColorMatch RGB colourspace. |
|
DaVinci Wide Gamut colourspace. |
|
DCDM XYZ colourspace. |
|
DCI-P3 colourspace. |
|
DCI-P3+ colourspace. |
|
Display P3 colourspace. |
|
DJI_D-Gamut colourspace. |
|
Don RGB 4 colourspace. |
|
DRAGONcolor colourspace. |
|
DRAGONcolor2 colourspace. |
|
*EBU Tech. |
|
ECI RGB v2 colourspace. |
|
Ekta Space PS 5 colourspace. |
|
ERIMM RGB colourspace. |
|
Fujifilm F-Gamut colourspace. |
|
Fujifilm F-Gamut C colourspace. |
|
FilmLight E-Gamut colourspace. |
|
Gamma 1.8 Encoded Rec.709 colourspace. |
|
Gamma 2.2 Encoded AdobeRGB colourspace. |
|
Gamma 2.2 Encoded AP1 colourspace. |
|
Gamma 2.2 Encoded Rec.709 colourspace. |
|
Recommendation ITU-T H.273 row 22 colourspace as specified in Table 2 - Interpretation of colour primaries (ColourPrimaries) value. |
|
Recommendation ITU-T H.273 Generic Film (colour filters using Illuminant C) colourspace. |
|
Linear AdobeRGB colourspace. |
|
CIE XYZ-D65 - Scene-referred colourspace. |
|
Linear P3-D65 colourspace. |
|
Linear Rec.2020 colourspace. |
|
Linear Rec.709 (sRGB) colourspace. |
|
Max RGB colourspace. |
|
Nikon N-Gamut colourspace. |
|
NTSC (1953) colourspace. |
|
NTSC (1987) colourspace. |
|
P3-D65 colourspace. |
|
Pal/Secam colourspace. |
|
PLASA ANSI E1.54 colourspace. |
|
ProPhoto RGB colourspace, an alias colourspace for ROMM RGB. |
|
Protune Native colourspace. |
|
REDcolor colourspace. |
|
REDcolor2 colourspace. |
|
REDcolor3 colourspace. |
|
REDcolor4 colourspace. |
|
REDWideGamutRGB colourspace. |
|
RIMM RGB colourspace. |
|
ROMM RGB colourspace. |
|
Russell RGB colourspace. |
|
S-Gamut colourspace. |
|
S-Gamut3 colourspace. |
|
S-Gamut3.Cine colourspace. |
|
Sharp RGB colourspace. |
|
SMPTE 240M colourspace. |
|
SMPTE C colourspace. |
|
sRGB colourspace. |
|
sRGB Encoded AP1 colourspace. |
|
sRGB Encoded P3-D65 colourspace. |
|
sRGB Encoded Rec.709 (sRGB) colourspace. |
|
Panasonic V-Gamut colourspace. |
|
Venice S-Gamut3 colourspace. |
|
Venice S-Gamut3.Cine colourspace. |
|
Xtreme RGB colourspace. |
|
RGB colourspace encodings for texture assets and computer graphics (CG) rendering. |
Colour Component Transfer Functions#
colour
|
Apply the specified decoding colour component transfer function (Decoding CCTF). |
Supported decoding colour component transfer functions (decoding CCTFs), a collection comprising functions from |
|
|
Apply the specified encoding colour component transfer function (Encoding CCTF). |
Supported encoding colour component transfer functions (encoding CCTFs), a collection comprising functions from |
|
|
Apply a gamma encoding or decoding transformation to the specified array. |
|
Perform pass-through linear encoding/decoding transformation. |
colour.models
|
Apply the RIMM RGB decoding colour component transfer function (Decoding CCTF). |
|
Apply the ROMM RGB decoding colour component transfer function (Decoding CCTF). |
|
Apply the RIMM RGB encoding colour component transfer function (Encoding CCTF). |
|
Apply the ROMM RGB encoding colour component transfer function (Encoding CCTF). |
Aliases
colour.models
|
Apply the ProPhoto RGB decoding colour component transfer function (Decoding CCTF). |
|
Apply the ProPhoto RGB encoding colour component transfer function (Encoding CCTF). |
Ancillary Objects
colour.models
|
Apply a basic exponent transfer function to the specified array. |
|
Apply the Monitor Curve exponent transfer function to the specified array. |
|
Apply a logarithmic or anti-logarithmic transformation to the specified array. |
|
Apply a camera logarithmic function to the specified array. |
|
Apply the Quasilog logarithmic function for encoding and decoding. |
Opto-Electronic Transfer Functions#
colour
|
Apply the specified opto-electronic transfer function (OETF). |
|
Apply the specified inverse opto-electronic transfer function (OETF). |
Supported inverse opto-electrical transfer functions (OETFs / OECFs). |
|
Supported opto-electrical transfer functions (OETFs / OECFs). |
colour.models
|
Apply the ARIB STD-B67 (Hybrid Log-Gamma) opto-electronic transfer function (OETF). |
|
Apply the Blackmagic Film Generation 5 opto-electronic transfer function (OETF). |
|
Apply the Recommendation ITU-R BT.2020 opto-electronic transfer function (OETF). |
|
Apply the Recommendation ITU-R BT.2100 Reference HLG opto-electrical transfer function (OETF). |
Apply the Recommendation ITU-R BT.2100 Reference PQ opto-electronic transfer function (OETF). |
|
|
Apply the Recommendation ITU-R BT.601-7 opto-electronic transfer function (OETF). |
|
Apply the Recommendation ITU-R BT.709-6 opto-electronic transfer function (OETF). |
|
Apply the DaVinci Intermediate opto-electronic transfer function (OETF). |
|
Apply the Recommendation ITU-T H.273 opto-electronic transfer function (OETF) for IEC 61966-2 family of transfer functions (2-1 sRGB, 2-1 sYCC, 2-4 xvYCC). |
|
Apply the Recommendation ITU-T H.273 opto-electronic transfer function (OETF) for logarithmic encoding with 100:1 dynamic range. |
|
Apply the Recommendation ITU-T H.273 opto-electronic transfer function (OETF) for logarithmic encoding (100*Sqrt(10):1 range). |
|
Apply the ARIB STD-B67 (Hybrid Log-Gamma) inverse opto-electronic transfer function (OETF). |
|
Apply the Blackmagic Film Generation 5 inverse opto-electronic transfer function (OETF). |
|
Apply the Recommendation ITU-R BT.2020 inverse opto-electronic transfer function (OETF). |
|
Apply the Recommendation ITU-R BT.2100 Reference HLG inverse opto-electrical transfer function (OETF). |
Apply the Recommendation ITU-R BT.2100 Reference PQ inverse opto-electrical transfer function (OETF). |
|
Apply the Recommendation ITU-R BT.601-7 inverse opto-electronic transfer function (OETF). |
|
Apply the Recommendation ITU-R BT.709-6 inverse opto-electronic transfer function (OETF). |
|
|
Apply the DaVinci Intermediate inverse opto-electronic transfer function (OETF). |
Apply the Recommendation ITU-T H.273 inverse opto-electronic transfer function (OETF) for the IEC 61966-2 family of transfer functions (2-1 sRGB, 2-1 sYCC, 2-4 xvYCC). |
|
Apply the Recommendation ITU-T H.273 inverse opto-electronic transfer function (OETF) for logarithmic encoding with 100:1 dynamic range. |
|
Apply the Recommendation ITU-T H.273 inverse opto-electronic transfer function (OETF) for logarithmic encoding (100*Sqrt(10):1 range). |
|
|
Apply the SMPTE 240M opto-electronic transfer function (OETF). |
Electro-Optical Transfer Functions#
colour
|
Apply the specified electro-optical transfer function (EOTF). |
|
Apply the specified inverse electro-optical transfer function (EOTF). |
Supported inverse electro-optical transfer functions (EOTFs / EOCFs). |
|
Supported electro-optical transfer functions (EOTFs / EOCFs). |
colour.models
Define the supported ITU-R BT.2100 Reference HLG inverse electro-optical transfer function (EOTF) methods. |
|
Define supported ITU-R BT.2100 Reference HLG electro-optical transfer function (EOTF) methods. |
|
|
Apply the Recommendation ITU-R BT.1886 electro-optical transfer function (EOTF) for flat panel displays. |
|
Apply the Recommendation ITU-R BT.2100 Reference HLG electro-optical transfer function (EOTF). |
|
Apply the Recommendation ITU-R BT.2100 Reference PQ electro-optical transfer function (EOTF). |
|
Apply the DCDM electro-optical transfer function (EOTF). |
|
Apply the DICOM - Grayscale Standard Display Function electro-optical transfer function (EOTF). |
Apply the SMPTE ST 428-1 (2019) electro-optical transfer function (EOTF) as specified in ITU-T H.273. |
|
|
Apply the Recommendation ITU-R BT.1886 inverse electro-optical transfer function (EOTF) for flat panel displays. |
|
Apply the Recommendation ITU-R BT.2100 Reference HLG inverse electro-optical transfer function (EOTF). |
Apply the Recommendation ITU-R BT.2100 Reference PQ inverse electro-optical transfer function (EOTF). |
|
|
Apply the DCDM inverse electro-optical transfer function (EOTF). |
|
Apply the DICOM - Grayscale Standard Display Function inverse electro-optical transfer function (EOTF). |
Apply the SMPTE ST 428-1 (2019) inverse electro-optical transfer function (EOTF) as specified in ITU-T H.273. |
|
Apply the IEC 61966-2-1:1999 sRGB inverse electro-optical transfer function (EOTF). |
|
|
Apply the SMPTE ST 2084:2014 perceptual quantizer (PQ) inverse electro-optical transfer function (EOTF). |
|
Apply the SMPTE 240M electro-optical transfer function (EOTF). |
|
Apply the IEC 61966-2-1:1999 sRGB electro-optical transfer function (EOTF). |
|
Apply the SMPTE ST 2084:2014 perceptual quantizer (PQ) electro-optical transfer function (EOTF). |
Opto-Optical Transfer Functions#
colour
|
Apply the specified opto-optical transfer function (OOTF). |
|
Apply the specified inverse opto-optical transfer function (OOTF). |
Supported inverse opto-optical transfer functions (OOTFs / OOCFs). |
|
Supported opto-optical transfer functions (OOTFs / OOCFs). |
colour.models
Support methods for the ITU-R BT.2100 Reference HLG inverse opto-optical transfer function (OOTF). |
|
Map Recommendation ITU-R BT.2100 Reference HLG opto-optical transfer function (OOTF) methods. |
|
|
Apply the Recommendation ITU-R BT.2100 Reference HLG opto-optical transfer function (OOTF). |
Apply the Recommendation ITU-R BT.2100 Reference PQ opto-optical transfer function (OOTF). |
|
|
Apply the Recommendation ITU-R BT.2100 Reference HLG inverse opto-optical transfer function (OOTF). |
Apply the Recommendation ITU-R BT.2100 Reference PQ inverse opto-optical transfer function (OOTF). |
Log Encoding and Decoding#
colour
|
Apply the specified log decoding inverse opto-electronic transfer function (OETF). |
Supported log decoding functions. |
|
|
Apply the specified log encoding opto-electronic transfer function (OETF). |
Supported log encoding functions. |
colour.models
Supported Log3G10 log decoding curve / electro-optical transfer (EOTF) function methods. |
|
Supported Log3G10 log encoding curve / opto-electronic transfer (OETF) function methods. |
|
|
Apply the ACEScc log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the ACEScct log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the ACESproxy log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Apple Log Profile log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the ARRI LogC3 log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Canon Log log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Canon Log 2 log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Canon Log 3 log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Cineon log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the ERIMM RGB log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Fujifilm F-Log log decoding inverse opto-electronic transfer |
|
Apply the Fujifilm F-Log2 log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Leica L-Log log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the common Log2 log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Log3G10 log decoding inverse opto-electronic transfer function (OETF). |
Apply the Log3G12 log decoding inverse opto-electronic transfer function (OETF). |
|
|
Apply the Xiaomi Mi-Log Profile log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Nikon N-Log log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the OPPO O-Log Profile log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Panalog log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Josh Pines style Pivoted Log log decoding inverse opto-electronic transfer function (OETF). |
Apply the Protune log decoding inverse opto-electronic transfer function (OETF). |
|
|
Apply the REDLog log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the REDLogFilm log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Sony S-Log log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Sony S-Log2 log decoding inverse opto-electronic transfer function (OETF). |
|
Apply the Sony S-Log3 log decoding inverse opto-electronic transfer function (OETF). |
Apply the Viper Log log decoding inverse opto-electronic transfer function (OETF). |
|
|
Apply the Panasonic V-Log log decoding inverse opto-electronic transfer |
|
Apply the ACEScc log encoding opto-electronic transfer function (OETF). |
|
Apply the ACEScct log encoding opto-electronic transfer function (OETF). |
|
Apply the ACESproxy log encoding opto-electronic transfer function (OETF). |
|
Apply the Apple Log Profile log encoding opto-electronic transfer function (OETF). |
|
Apply the ARRI LogC3 log encoding opto-electronic transfer function (OETF). |
|
Apply the Canon Log log encoding opto-electronic transfer function (OETF). |
|
Apply the Canon Log 2 log encoding opto-electronic transfer function (OETF). |
|
Apply the Canon Log 3 log encoding opto-electronic transfer function (OETF). |
|
Apply the Cineon log encoding opto-electronic transfer function (OETF). |
|
Apply the ERIMM RGB log encoding opto-electronic transfer function (OETF). |
|
Apply the Fujifilm F-Log log encoding opto-electronic transfer function (OETF). |
|
Apply the Fujifilm F-Log2 log encoding opto-electronic transfer function (OETF). |
|
Apply the Leica L-Log log encoding opto-electronic transfer function (OETF). |
|
Apply the common Log2 log encoding opto-electronic transfer function (OETF). |
|
Apply the Log3G10 log encoding opto-electronic transfer function (OETF). |
Apply the Log3G12 log encoding opto-electronic transfer function (OETF). |
|
|
Apply the Xiaomi Mi-Log Profile log encoding opto-electronic transfer function (OETF). |
|
Apply the Nikon N-Log log encoding opto-electronic transfer function (OETF). |
|
Apply the OPPO O-Log Profile log encoding opto-electronic transfer function (OETF). |
|
Apply the Panalog log encoding opto-electronic transfer function (OETF). |
|
Apply the Josh Pines style Pivoted Log log encoding opto-electronic transfer function (OETF). |
Apply the Protune log encoding opto-electronic transfer function (OETF). |
|
|
Apply the REDLog log encoding opto-electronic transfer function (OETF). |
|
Apply the REDLogFilm log encoding opto-electronic transfer function (OETF). |
|
Apply the Sony S-Log log encoding opto-electronic transfer function (OETF). |
|
Apply the Sony S-Log2 log encoding opto-electronic transfer function (OETF). |
|
Apply the Sony S-Log3 log encoding opto-electronic transfer function (OETF). |
Apply the Viper Log log encoding opto-electronic transfer function (OETF). |
|
|
Apply the Panasonic V-Log log encoding opto-electronic transfer function (OETF). |
Colour Encodings#
Y’CbCr Colour Encoding#
colour
|
Compute the Y'CbCr to R'G'B' matrix for the specified weights, bit-depth, range legality and representation. |
|
Compute the R'G'B' to Y'CbCr offsets for the specified bit-depth, range legality and representation. |
|
Convert an array of R'G'B' values to the corresponding Y'CbCr colour encoding values array. |
|
Convert an array of RGB linear values to the corresponding Yc'Cbc'Crc' colour encoding values array. |
Represent a delimiter and case-insensitive |
|
Represent a delimiter and case-insensitive |
|
|
Convert an array of Y'CbCr colour encoding values to the corresponding R'G'B' values array. |
|
Convert an array of Yc'Cbc'Crc' colour encoding values to the corresponding RGB array of linear values. |
Ancillary Objects
colour
|
Return the code value \(CV\) range for the specified bit-depth, range legality and representation. |
|
Convert the specified code value \(CV\) or float equivalent of a code value at a specified bit-depth from full range (full swing) to legal range (studio swing). |
|
Convert the specified code value \(CV\) or float equivalent of a code value at a specified bit-depth from legal range (studio swing) to full range (full swing). |
YCoCg Colour Encoding#
colour
|
Convert an array of R'G'B' values to the corresponding YCoCg colour encoding values array. |
|
Convert an array of YCoCg colour encoding values to the corresponding R'G'B' values array. |
\(IC_TC_P\) Colour Encoding#
colour
|
Convert from \(IC_TC_P\) colour encoding to ITU-R BT.2020 colourspace. |
|
Convert from \(IC_TC_P\) colour encoding to CIE XYZ tristimulus values. |
|
Convert from ITU-R BT.2020 colourspace to \(IC_TC_P\) colour encoding. |
|
Convert from CIE XYZ tristimulus values to \(IC_TC_P\) colour encoding. |
RGB Representations#
Prismatic Colourspace#
colour
|
Convert from Prismatic \(L\rho\gamma\beta\) colourspace array to RGB colourspace. |
|
Convert from RGB colourspace to Prismatic \(L\rho\gamma\beta\) colourspace array. |
HSV Colourspace#
colour
|
Convert from HSV colourspace to RGB colourspace. |
|
Convert from RGB colourspace to HSV colourspace. |
HSL Colourspace#
colour
|
Convert from HSL colourspace to RGB colourspace. |
|
Convert from RGB colourspace to HSL colourspace. |
HCL Colourspace#
colour
|
Convert from HCL colourspace to RGB colourspace according to Sarifuddin and Missaoui (2005) method. |
|
Convert from RGB colourspace to HCL colourspace according to Sarifuddin and Missaoui (2005) method. |
CMY Colourspace#
colour
|
Convert from CMY colourspace to CMYK colourspace. |
|
Convert from CMY colourspace to RGB colourspace. |
|
Convert from CMYK colourspace to CMY colourspace. |
|
Convert from RGB colourspace to CMY colourspace. |
IHLS - Hanbury (2003)#
colour
|
Convert from IHLS (Improved HLS) colourspace to RGB colourspace. |
|
Convert from RGB colourspace to IHLS (Improved HLS) colourspace. |
Recommendation ITU-T H.273 Code points for Video Signal Type Identification#
colour
ColourPrimaries indicates the chromaticity coordinates of the source colour primaries as specified in Table 3 of [InternationalOfStandardization21] and [InternationalTUnion21] in terms of the CIE 1931 definition of x and y, which shall be interpreted as specified by ISO/ CIE 11664-1. |
|
MatrixCoefficients describes the matrix coefficients used in deriving luma and chroma signals from the green, blue and red or X, Y and Z primaries, as specified in Table 4 and equations 11 to 77 of [InternationalOfStandardization21] and [InternationalTUnion21]. |
|
TransferCharacteristics, as specified in Table 3 of [InternationalOfStandardization21] and [InternationalTUnion21], either indicates the reference opto-electronic transfer characteristic function of the source picture as a function of a source input linear optical intensity input Lc with a nominal real-valued range of 0 to 1 or indicates the inverse of the reference electro-optical transfer characteristic function as a function of an output linear optical intensity Lo with a nominal real-valued range of 0 to 1. |
Ancillary Objects
colour.models
Describe the specified video signal colour primaries code point. |
|
Describe the specified video signal matrix coefficients code point. |
|
Describe the specified video signal transfer characteristics code point. |
Pointer’s Gamut#
colour
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |
|
ndarray(shape, dtype=float, buffer=None, offset=0, |