`ColorLab.LMSToXYZ10`

— ConstantCIE(2012) 10-deg XYZ “physiologically-relevant” color matching functions Matrix

`ColorLab.LMSToXYZ2`

— ConstantCIE(2012) 2-deg XYZ “physiologically-relevant” color matching functions Matrix

`ColorLab.WP_A`

— ConstantCIE White Points in CIE [X,Y,Z] coordinates

`ColorLab.cam16surround`

— ConstantCAM16 Surround Parameters [Surround F c Nc]

`ColorLab.cam16uniquehue`

— ConstantCAM16 [h,e,H] for Unique Hue [Red Yellow Green Blue Red]

`ColorLab.cat16`

— ConstantCIE 2016 Chromatic Adaptation Transformation

`ColorLab.cat16inv`

— ConstantCIE 2016 Chromatic Adaptation Inverse Transformation

`ColorLab.rogpg279q`

— ConstantSpectral intensity of R, G, B primaries of a linearized ROGPG279Q LCD display

`ColorLab.sbrgb10`

— ConstantStiles & Burch (1959) 10-deg r̄(λ), ḡ(λ), b̄(λ) color matching functions

`ColorLab.sbrgb2`

— ConstantStiles & Burch (1955) 2-deg r̄(λ), ḡ(λ), b̄(λ) color matching functions

`ColorLab.sbrgb_primary`

— ConstantStiles & Burch (1955, 1959) color matching primaries, wavelength(nm) for 𝑹, 𝑮, 𝑩.

`ColorLab.sscone10le`

— Constant10-deg cone fundamentals based on the Stiles & Burch 10-deg CMFs, Stockman & Sharpe (2000). Each row are the wavelength(nm), L, M, S Cone spectral sensitivity(Linear Energy).

`ColorLab.sscone2le`

— Constant2-deg cone fundamentals based on the Stiles & Burch 10-deg CMFs (adjusted to 2-deg), Stockman & Sharpe (2000). Each row are the wavelength(nm), L, M, S Cone spectral sensitivity(Linear Energy).

`ColorLab.v10le`

— Constant10-deg CIE(2008) "physiologically-relevant" luminous efficiency function V(λ), consistent with the Stockman & Sharpe(2000) 10-deg cone fundamentals. Each row are the wavelength(nm), photopic luminous efficiency(Linear Energy).

`ColorLab.v2le`

— Constant2-deg CIE(2008) "physiologically-relevant" luminous efficiency function V(λ), consistent with the Stockman & Sharpe(2000) 2-deg cone fundamentals. Each row are the wavelength(nm), photopic luminous efficiency(Linear Energy).

`ColorLab.CAM162XYZ`

— MethodConvert CIE Color Appearance Model 2016 to CIE XYZ

`ColorLab.CAM16UCS`

— MethodCAM16 Uniform Color Space in polar[J′, M′, h] or cartesian[J′, a′, b′] Luo, M.R., Cui, G., and Li, C. (2006). Uniform colour spaces based on CIECAM02 colour appearance model. Color Research & Application 31, 320–330.

`ColorLab.ConvertMatrix`

— MethodSolve System of Linear Equations to get converting matrices between X and Y

`ColorLab.LMSContrastMatrix`

— MethodConverting Matrices between LMS and Cone Contrast(Weber) color spaces. (DH Brainard, Cone contrast and opponent modulation color spaces, human color vision, 1996)

`ColorLab.LMSDKLMatrix`

— MethodConverting Matrices between LMS and DKL[L+M, L-M, S-(L+M)] color spaces.

`ColorLab.RGBLMSMatrix`

— MethodConverting Matrices between RGB and LMS color spaces, based on spectral measurement and cone fundamentals

`ColorLab.RGBXYZMatrix`

— MethodConverting Matrices between RGB and CIE XYZ color spaces, based on spectral measurement and CIE xyz matching functions

`ColorLab.XYZ2CAM16`

— MethodConvert CIE XYZ to CIE Color Appearance Model 2016 Li, C., Li, Z., Wang, Z., Xu, Y., Luo, M.R., Cui, G., Melgosa, M., Brill, M.H., and Pointer, M. (2017). Comprehensive color solutions: CAM16, CAT16, and CAM16‐UCS.

return: J is the lightness C is the chroma h is the hue angle Q is the brightness M is the colourfulness s is the saturation

`ColorLab.XYZ2xyY`

— MethodConvert CIE XYZ to CIE xyY.

`ColorLab.cam16view`

— MethodCAM16 Viewing Conditions

W: White in test illuminant [Xw, Yw, Zw] Yb: Background in test conditions La: Luminance of test adapting field (cd/m2) Surround: Surround condition {Average, Dim, Dark}, Nc and F are functions of c, and their values can be linearly interpolated. Sr = Lsw / Ldw, where Lsw is the luminance of reference white in surround and Ldw in the display area. Sr == 0: Dark 0 < Sr < 0.2: Dim Sr >= 0.2: Average

`ColorLab.cmf`

— Methodnew color matching functions by transform existing ones

`ColorLab.contrast_michelson`

— MethodMichelson Contrast, where $michelson(Lmax, Lmin) = weber(Lmax, Lmean), Lmean = (Lmax+Lmin)/2$

`ColorLab.contrast_weber`

— MethodWeber Contrast, where $weber(L, Lb) = michelson(L, 2Lb-L)$

`ColorLab.dLMSDKLMatrix`

— MethodConverting Matrices between differential LMS relative to background and DKL[L+M, L-M, S-(L+M)] color spaces. (DH Brainard, Cone contrast and opponent modulation color spaces, human color vision, 1996)

`ColorLab.dehomomatrix`

— MethodDe-Augmenting Homogeneous Transformation Matrix to Linear Transformation Matrix

`ColorLab.dehomovector`

— MethodDe-Augmenting Homogeneous Coordinates(each column) to Cartesian Coordinates

`ColorLab.dehomovector`

— MethodDe-Augmenting Homogeneous Coordinate to Cartesian Coordinate

`ColorLab.desaturate2gamut!`

— MethodDesaturate perceptible but not displayable CIE colors(each column) into the gamut of a display

`ColorLab.divsum`

— MethodConvert Absolute Coordinates[X,Y,Z] to Relative Coordinates[x,y,z] where $x=X/X+Y+Z, y=Y/X+Y+Z, z=Z/X+Y+Z$

`ColorLab.homomatrix`

— MethodAugmenting Linear Transformation Matrix to Homogeneous Transformation Matrix

`ColorLab.homovector`

— MethodAugmenting Cartesian Coordinates(each column) to Homogeneous Coordinates

`ColorLab.homovector`

— MethodAugmenting Cartesian Coordinate to Homogeneous Coordinate

`ColorLab.intersectlineplane`

— MethodIntersection point of a line and a plane. points of a line are defined as a direction(Dₗ) through a point(Pₗ): P = Pₗ + λDₗ , where λ is a scaler. points of a plane are defined as a plane through a point(Pₚ) and with normal vector(Nₚ) : Nₚᵀ(P - Pₚ) = 0 , where Nᵀ is the transpose of N.

return the point of intersection and if it's on direction.

`ColorLab.intersectlineunitcube`

— MethodIntersection point of a line and the six faces of the unit cube with origin as a vertex and three axies as edges[0:1,0:1,0:1]. points of the line are defined as a direction(Dₗ) through a point(Pₗ).

return the intersection point on direction.

`ColorLab.linepoints`

— MethodPoints of a line segment defined by two points P₀ and P₁.

- d: points density of unit line length

`ColorLab.matchcolors`

— MethodTristimulus values, based on spectral measurement and matching functions

`ColorLab.matchcolors_LMS`

— MethodCone activations of colors, based on spectral measurement and cone fundamentals

`ColorLab.matchcolors_XYZ`

— MethodCIE “physiologically-relevant” XYZ of colors, based on following formula:

$XYZ = 683∫S(λ)x̄ȳz̄(λ)dλ$

where S(λ) is the power spectrum, x̄ȳz̄(λ) are the matching functions and Y will be the luminance(cd/m²).

`ColorLab.matchlambda`

— MethodTristimulus matching values of single wavelength unit spectral

`ColorLab.xyY2XYZ`

— MethodConvert CIE xyY to CIE XYZ.