Colour Appearance Models#

ATD (1995)#

colour

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

Compute the ATD (1995) colour vision model correlates.

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

Define the ATD (1995) colour vision model specification.

CIECAM02#

colour

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

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

CIECAM02_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert from CIECAM02 specification to CIE XYZ tristimulus values.

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

Define the CIECAM02 colour appearance model specification.

VIEWING_CONDITIONS_CIECAM02

Reference CIECAM02 colour appearance model viewing conditions.

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)

CIECAM02 colour appearance model induction factors.

CIECAM16#

colour

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

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

CIECAM16_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert from CIECAM16 specification to CIE XYZ tristimulus values.

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

Define the CIECAM16 colour appearance model specification.

VIEWING_CONDITIONS_CIECAM16

Reference CIECAM16 colour appearance model viewing conditions.

Ancillary Objects

colour.appearance

InductionFactors_CIECAM16(F, c, N_c)

CIECAM16 colour appearance model induction factors.

CAM16#

colour

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

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

CAM16_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert from CAM16 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

Reference CAM16 colour appearance model viewing conditions.

Ancillary Objects

colour.appearance

InductionFactors_CAM16(F, c, N_c)

CAM16 colour appearance model induction factors.

Hellwig and Fairchild (2022) Colour Appearance Model#

colour

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

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

Hellwig2022_to_XYZ(specification, XYZ_w, ...)

Convert from Hellwig and Fairchild (2022) specification to CIE XYZ tristimulus values.

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

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

VIEWING_CONDITIONS_HELLWIG2022

Reference Hellwig and Fairchild (2022) colour appearance model viewing conditions.

Ancillary Objects

colour.appearance

InductionFactors_Hellwig2022(F, c, N_c)

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

Hunt#

colour

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

Compute the Hunt colour appearance model correlates.

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

Define the Hunt colour appearance model specification.

VIEWING_CONDITIONS_HUNT

Reference Hunt colour appearance model viewing conditions.

Kim, Weyrich and Kautz (2009)#

colour

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

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

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

Convert from Kim, Weyrich and Kautz (2009) specification to CIE XYZ tristimulus values.

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

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

MEDIA_PARAMETERS_KIM2009

Reference Kim, Weyrich and Kautz (2009) colour appearance model media parameters.

VIEWING_CONDITIONS_KIM2009

Reference Kim, Weyrich and Kautz (2009) colour appearance model viewing conditions.

Ancillary Objects

colour.appearance

InductionFactors_Kim2009(F, c, N_c)

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

MediaParameters_Kim2009(E)

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

\(LLAB(l:c)\)#

colour

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

Compute the :math:`LLAB(l:c)` colour appearance model correlates.

CAM_Specification_LLAB(J, ...)

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

VIEWING_CONDITIONS_LLAB

Reference \(LLAB(l:c)\) colour appearance model viewing conditions.

Ancillary Objects

colour.appearance

InductionFactors_LLAB(D, F_S, F_L, F_C)

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

Nayatani (1995)#

colour

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

Compute the Nayatani (1995) colour appearance model correlates.

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

Define the Nayatani (1995) colour appearance model specification.

RLAB#

colour

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

Compute the RLAB model color appearance correlates.

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

Define the RLAB colour appearance model specification.

VIEWING_CONDITIONS_RLAB

Reference RLAB colour appearance model viewing conditions.

Ancillary Objects

colour.appearance

D_FACTOR_RLAB

RLAB colour appearance model Discounting-the-Illuminant factor values.

ZCAM#

colour

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

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

ZCAM_to_XYZ(specification, XYZ_w, L_A, Y_b)

Convert from ZCAM specification to CIE XYZ tristimulus values.

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

Define the ZCAM colour appearance model specification.

VIEWING_CONDITIONS_ZCAM

Reference ZCAM colour appearance model viewing conditions.

Ancillary Objects

colour.appearance

InductionFactors_ZCAM(F_s, F, c, N_c)

ZCAM colour appearance model induction factors.

Helmholtz-Kohlrausch Effect Estimation#

colour

HKE_NAYATANI1997_METHODS

Nayatani (1997) HKE computation methods, choice between variable achromatic colour ('VAC') and variable chromatic colour ('VCC')

HelmholtzKohlrausch_effect_object_Nayatani1997(uv, ...)

Return the HKE value for object colours using Nayatani (1997) method.

HelmholtzKohlrausch_effect_luminous_Nayatani1997(uv, ...)

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

Ancillary Objects

colour.appearance

coefficient_q_Nayatani1997(theta)

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

coefficient_K_Br_Nayatani1997(L_a)

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