Colour Appearance Models#

ATD (1995)#

colour

CAM_Specification_ATD95(h, C, Q, A_1, T_1, ...)

Define the ATD (1995) colour vision model specification.

XYZ_to_ATD95(XYZ, XYZ_0, Y_0, k_1, k_2[, sigma])

Compute the ATD (1995) colour vision model correlates from the specified CIE XYZ tristimulus values.

CIECAM02#

colour

CAM_Specification_CIECAM02(J, C, h, s, Q, M, ...)

Define the CIECAM02 colour appearance model specification.

CIECAM02_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert the CIECAM02 colour appearance model specification to CIE XYZ tristimulus values.

VIEWING_CONDITIONS_CIECAM02

Define the reference CIECAM02 colour appearance model viewing conditions.

XYZ_to_CIECAM02(XYZ, XYZ_w, L_A, Y_b[, ...])

Compute the CIECAM02 colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

CAM_KWARGS_CIECAM02_sRGB

Default parameter values for the CIECAM02 colour appearance model usage in the context of sRGB.

InductionFactors_CIECAM02(F, c, N_c)

Define the CIECAM02 colour appearance model induction factors.

CIECAM16#

colour

CAM_Specification_CIECAM16(J, C, h, s, Q, M, ...)

Define the CIECAM16 colour appearance model specification.

CIECAM16_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert the CIECAM16 colour appearance model specification to CIE XYZ tristimulus values.

VIEWING_CONDITIONS_CIECAM16

Define the reference CIECAM16 colour appearance model viewing conditions.

XYZ_to_CIECAM16(XYZ, XYZ_w, L_A, Y_b[, ...])

Compute the CIECAM16 colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

InductionFactors_CIECAM16(F, c, N_c)

Define the CIECAM16 colour appearance model induction factors.

CAM16#

colour

CAM16_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert the CAM16 colour appearance model specification to CIE XYZ tristimulus values.

CAM_Specification_CAM16(J, C, h, s, Q, M, H, HC)

Define the CAM16 colour appearance model specification.

VIEWING_CONDITIONS_CAM16

Define the reference CAM16 colour appearance model viewing conditions.

XYZ_to_CAM16(XYZ, XYZ_w, L_A, Y_b[, ...])

Compute the CAM16 colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

InductionFactors_CAM16(F, c, N_c)

Define the CAM16 colour appearance model induction factors.

Hellwig and Fairchild (2022) Colour Appearance Model#

colour

CAM_Specification_Hellwig2022(J, C, h, s, Q, ...)

Define the Hellwig and Fairchild (2022) colour appearance model specification.

Hellwig2022_to_XYZ(specification, XYZ_w, ...)

Convert the Hellwig and Fairchild (2022) colour appearance model specification to CIE XYZ tristimulus values.

VIEWING_CONDITIONS_HELLWIG2022

Define the reference Hellwig and Fairchild (2022) colour appearance model viewing conditions.

XYZ_to_Hellwig2022(XYZ, XYZ_w, L_A, Y_b[, ...])

Compute the Hellwig and Fairchild (2022) colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

InductionFactors_Hellwig2022(F, c, N_c)

Define the Hellwig and Fairchild (2022) colour appearance model induction factors.

Hunt#

colour

CAM_Specification_Hunt(J, C, h, s, Q, M, H, HC)

Define the Hunt colour appearance model specification.

VIEWING_CONDITIONS_HUNT

Define the reference Hunt colour appearance model viewing conditions.

XYZ_to_Hunt(XYZ, XYZ_w, XYZ_b, L_A[, ...])

Compute the Hunt colour appearance model correlates from the specified CIE XYZ tristimulus values.

Kim, Weyrich and Kautz (2009)#

colour

CAM_Specification_Kim2009(J, C, h, s, Q, M, ...)

Represent the Kim, Weyrich and Kautz (2009) colour appearance model output specification.

Kim2009_to_XYZ(specification, XYZ_w, L_A[, ...])

Convert the Kim, Weyrich and Kautz (2009) colour appearance model specification to CIE XYZ tristimulus values.

MEDIA_PARAMETERS_KIM2009

Define the reference Kim, Weyrich and Kautz (2009) colour appearance model media parameters.

VIEWING_CONDITIONS_KIM2009

Define the reference Kim, Weyrich and Kautz (2009) colour appearance model viewing conditions inherited from CIECAM02.

XYZ_to_Kim2009(XYZ, XYZ_w, L_A[, media, ...])

Compute the Kim, Weyrich and Kautz (2009) colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

InductionFactors_Kim2009(F, c, N_c)

Define the Kim, Weyrich and Kautz (2009) colour appearance model surround induction factors.

MediaParameters_Kim2009(E)

Define the media parameters for the Kim, Weyrich and Kautz (2009) colour appearance model.

\(LLAB(l:c)\)#

colour

CAM_Specification_LLAB(J, C, h, s, M, HC, a, b)

Define the :math:`LLAB(l:c)` colour appearance model specification.

VIEWING_CONDITIONS_LLAB

Define the reference \(LLAB(l:c)\) colour appearance model viewing conditions.

XYZ_to_LLAB(XYZ, XYZ_0, Y_b, L[, surround])

Compute the :math:`LLAB(l:c)` colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

InductionFactors_LLAB(D, F_S, F_L, F_C)

Define the :math:`LLAB(l:c)` colour appearance model induction factors.

Nayatani (1995)#

colour

CAM_Specification_Nayatani95(L_star_P, C, h, ...)

Define the Nayatani (1995) colour appearance model specification.

XYZ_to_Nayatani95(XYZ, XYZ_n, Y_o, E_o, E_or)

Compute the Nayatani (1995) colour appearance model correlates from the specified CIE XYZ tristimulus values.

RLAB#

colour

CAM_Specification_RLAB(J, C, h, s, HC, a, b)

Define the RLAB colour appearance model specification.

VIEWING_CONDITIONS_RLAB

Define the reference RLAB colour appearance model viewing conditions.

XYZ_to_RLAB(XYZ, XYZ_n, Y_n[, sigma, D])

Compute the RLAB colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

D_FACTOR_RLAB

Define the RLAB colour appearance model Discounting-the-Illuminant factor values for the specified media types.

sCAM#

colour

CAM_Specification_sCAM(J, C, h, Q, M, H, HC, ...)

Define the specification for the sCAM colour appearance model.

sCAM_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert the sCAM colour appearance model specification to CIE XYZ tristimulus values.

VIEWING_CONDITIONS_sCAM

Define the reference sCAM colour appearance model viewing conditions.

XYZ_to_sCAM(XYZ, XYZ_w, L_A, Y_b[, ...])

Compute the sCAM colour appearance model correlates from the specified CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

InductionFactors_sCAM(F, c, Fm)

Define the sCAM colour appearance model induction factors.

ZCAM#

colour

CAM_Specification_ZCAM(J, C, h, s, Q, M, H, ...)

Define the ZCAM colour appearance model specification.

VIEWING_CONDITIONS_ZCAM

Define the reference ZCAM colour appearance model viewing conditions.

XYZ_to_ZCAM(XYZ, XYZ_w, L_A, Y_b[, ...])

Compute the ZCAM colour appearance model correlates from the specified CIE XYZ tristimulus values.

ZCAM_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert the ZCAM specification to CIE XYZ tristimulus values.

Ancillary Objects

colour.appearance

InductionFactors_ZCAM(F_s, F, c, N_c)

Define the ZCAM colour appearance model induction factors.

Helmholtz-Kohlrausch Effect Estimation#

colour

HelmholtzKohlrausch_effect_luminous_Nayatani1997(uv, ...)

Compute the HKE factor for luminous colours using the Nayatani (1997) method.

HelmholtzKohlrausch_effect_object_Nayatani1997(uv, ...)

Compute the Helmholtz-Kohlrausch effect (HKE) value for object colours using the Nayatani (1997) method.

HKE_NAYATANI1997_METHODS

Define Nayatani (1997) Helmholtz-Kohlrausch effect (HKE) computation methods: variable achromatic colour ('VAC') and variable chromatic colour ('VCC').

Ancillary Objects

colour.appearance

coefficient_K_Br_Nayatani1997(...)

Compute the \(K_{Br}\) coefficient for Nayatani (1997) HKE computations.

coefficient_q_Nayatani1997(theta)

Compute the \(q(\theta)\) coefficient for Nayatani (1997) HKE computations.