colour.colorimetry.yellowness_ASTME313#
- colour.colorimetry.yellowness_ASTME313(XYZ: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], C_XZ: ArrayLike = YELLOWNESS_COEFFICIENTS_ASTME313['CIE 1931 2 Degree Standard Observer']['D65']) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 100][source]#
Compute the yellowness index \(YI\) of the specified sample CIE XYZ tristimulus values using the ASTM E313 method.
ASTM E313 has been successfully used for a variety of white or near white materials. This includes coatings, plastics, and textiles.
- Parameters:
XYZ (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – 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 with CIE Illuminant C and CIE Standard Illuminant D65.
- Returns:
Yellowness index \(YI\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
XYZ100
1
Range
Scale - Reference
Scale - 1
YI100
1
References
Examples
>>> XYZ = np.array([95.00000000, 100.00000000, 105.00000000]) >>> yellowness_ASTME313(XYZ) np.float64(4.3400000...)