colour.colorimetry.yellowness_ASTME313#
- colour.colorimetry.yellowness_ASTME313(XYZ: ArrayLike, C_XZ: ArrayLike = YELLOWNESS_COEFFICIENTS_ASTME313['CIE 1931 2 Degree Standard Observer']['D65']) NDArrayFloat [source]#
Return the yellowness index \(YI\) of given sample CIE XYZ tristimulus values using ASTM E313 method.
ASTM E313 has successfully been used for a variety of white or near white materials. This includes coatings, plastics, textiles.
- Parameters:
XYZ (ArrayLike) – CIE XYZ tristimulus values of the sample.
C_XZ (ArrayLike) – Coefficients \(C_X\) and \(C_Z\) for the CIE 1931 2 Degree Standard Observer and CIE 1964 10 Degree Standard Observer and CIE Illuminant C and CIE Standard Illuminant D65.
- Returns:
Yellowness \(YI\).
- Return type:
np.float
ornumpy.ndarray
Notes
Domain
Scale - Reference
Scale - 1
XYZ
[0, 100]
[0, 1]
Range
Scale - Reference
Scale - 1
YI
[0, 100]
[0, 1]
References
Examples
>>> XYZ = np.array([95.00000000, 100.00000000, 105.00000000]) >>> yellowness_ASTME313(XYZ) 4.3400000...