Chromatic Adaptation#

Chromatic Adaptation#

colour

chromatic_adaptation(XYZ, XYZ_w, XYZ_wr[, ...])

Adapt given stimulus from test viewing conditions to reference viewing conditions.

CHROMATIC_ADAPTATION_METHODS

Supported chromatic adaptation methods.

VIEWING_CONDITIONS_CMCCAT2000

Reference CMCCAT2000 chromatic adaptation model viewing conditions.

Dataset

colour

CHROMATIC_ADAPTATION_TRANSFORMS

Chromatic adaptation transforms.

Fairchild (1990)#

colour.adaptation

chromatic_adaptation_Fairchild1990(XYZ_1, ...)

Adapt given stimulus CIE XYZ_1 tristimulus values from test viewing conditions to reference viewing conditions using Fairchild (1990) chromatic adaptation model.

CIE 1994#

colour.adaptation

chromatic_adaptation_CIE1994(XYZ_1, xy_o1, ...)

Adapt given stimulus CIE XYZ_1 tristimulus values from test viewing conditions to reference viewing conditions using CIE 1994 chromatic adaptation model.

CMCCAT2000#

colour.adaptation

chromatic_adaptation_CMCCAT2000(XYZ, XYZ_w, ...)

Adapt given stimulus CIE XYZ tristimulus values using given viewing conditions.

VIEWING_CONDITIONS_CMCCAT2000

Reference CMCCAT2000 chromatic adaptation model viewing conditions.

Ancillary Objects

colour.adaptation

chromatic_adaptation_forward_CMCCAT2000(XYZ, ...)

Adapt given stimulus CIE XYZ tristimulus values from test viewing conditions to reference viewing conditions using CMCCAT2000 forward chromatic adaptation model.

chromatic_adaptation_inverse_CMCCAT2000(...)

Adapt given stimulus corresponding colour CIE XYZ tristimulus values from reference viewing conditions to test viewing conditions using CMCCAT2000 inverse chromatic adaptation model.

InductionFactors_CMCCAT2000(F)

CMCCAT2000 chromatic adaptation model induction factors.

Von Kries#

colour.adaptation

chromatic_adaptation_VonKries(XYZ, XYZ_w, XYZ_wr)

Adapt given stimulus from test viewing conditions to reference viewing conditions.

CHROMATIC_ADAPTATION_TRANSFORMS

Chromatic adaptation transforms.

Dataset

colour.adaptation

CAT_BRADFORD

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_BIANCO2010

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_PC_BIANCO2010

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_CAT02_BRILL2008

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_CAT02

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_CAT16

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_CMCCAT2000

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_CMCCAT97

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_FAIRCHILD

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_SHARP

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_VON_KRIES

ndarray(shape, dtype=float, buffer=None, offset=0,

CAT_XYZ_SCALING

ndarray(shape, dtype=float, buffer=None, offset=0,

Ancillary Objects

colour.adaptation

matrix_chromatic_adaptation_VonKries(XYZ_w, ...)

Compute the chromatic adaptation matrix from test viewing conditions to reference viewing conditions.

Zhai and Luo (2018)#

colour.adaptation

chromatic_adaptation_Zhai2018(XYZ_b, XYZ_wb, ...)

Adapt given sample colour \(XYZ_{\beta}\) tristimulus values from input viewing conditions under \(\beta\) illuminant to output viewing conditions under \(\delta\) illuminant using Zhai and Luo (2018) chromatic adaptation model.