Chromatic Adaptation#

Chromatic Adaptation#

colour

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

Adapt the specified stimulus CIE XYZ tristimulus values from test viewing conditions to reference viewing conditions using the specified chromatic adaptation method.

CHROMATIC_ADAPTATION_METHODS

Supported chromatic adaptation methods.

VIEWING_CONDITIONS_CMCCAT2000

Define the reference CMCCAT2000 chromatic adaptation model viewing conditions.

Dataset

colour

CHROMATIC_ADAPTATION_TRANSFORMS

Supported chromatic adaptation transforms.

Fairchild (1990)#

colour.adaptation

chromatic_adaptation_Fairchild1990(XYZ_1, ...)

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

Fairchild (2020)#

colour.adaptation

chromatic_adaptation_vK20(XYZ, XYZ_p, XYZ_n)

Adapt the specified stimulus CIE XYZ tristimulus values from test viewing conditions to reference viewing conditions using the Von Kries 2020 (vK20) chromatic adaptation model.

CONDITIONS_DEGREE_OF_ADAPTATION_VK20

Define the degree of adaptation coefficient conditions for the Von Kries 2020 (vK20) chromatic adaptation model.

matrix_chromatic_adaptation_vk20(XYZ_p, XYZ_n)

Compute the chromatic adaptation matrix from previous viewing conditions to adapting viewing conditions using the Von Kries 2020 (vK20) method.

CIE 1994#

colour.adaptation

chromatic_adaptation_CIE1994(XYZ_1, xy_o1, ...)

Adapt the specified stimulus CIE XYZ tristimulus values from test viewing conditions to reference viewing conditions using the CIE 1994 chromatic adaptation model.

CMCCAT2000#

colour.adaptation

chromatic_adaptation_CMCCAT2000(XYZ, XYZ_w, ...)

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

VIEWING_CONDITIONS_CMCCAT2000

Define the reference CMCCAT2000 chromatic adaptation model viewing conditions.

Ancillary Objects

colour.adaptation

chromatic_adaptation_forward_CMCCAT2000(XYZ, ...)

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

chromatic_adaptation_inverse_CMCCAT2000(...)

Adapt the specified CIE XYZ tristimulus values from reference viewing conditions to test viewing conditions using the inverse CMCCAT2000 chromatic adaptation model.

InductionFactors_CMCCAT2000(F)

Define the CMCCAT2000 chromatic adaptation model induction factors.

Von Kries#

colour.adaptation

CHROMATIC_ADAPTATION_TRANSFORMS

Supported chromatic adaptation transforms.

chromatic_adaptation_VonKries(XYZ, XYZ_w, XYZ_wr)

Adapt the specified stimulus CIE XYZ tristimulus values from test viewing conditions to reference viewing conditions using the Von Kries chromatic adaptation model.

Dataset

colour.adaptation

CAT_BIANCO2010

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

CAT_BRADFORD

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

CAT_CAT02

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

CAT_CAT02_BRILL2008

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_PC_BIANCO2010

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 the specified stimulus CIE XYZ tristimulus values from test viewing conditions to reference viewing conditions using the Zhai and Luo (2018) chromatic adaptation model.