colour.characterisation.matrix_augmented_Cheung2004#
- colour.characterisation.matrix_augmented_Cheung2004(RGB: ArrayLike, terms: Literal[3, 4, 5, 7, 8, 10, 11, 14, 16, 17, 19, 20, 22, 35] | int = 3) NDArrayFloat[source]#
Perform polynomial expansion of RGB colourspace array using Cheung et al. (2004) method.
- Parameters:
- Returns:
Polynomial-expanded RGB colourspace array.
- Return type:
Notes
References
Examples
>>> RGB = np.array([0.17224810, 0.09170660, 0.06416938]) >>> matrix_augmented_Cheung2004(RGB, terms=5) array([0.1722481..., 0.0917066..., 0.0641693..., 0.0010136..., 1...])