colour.characterisation.polynomial_expansion_Finlayson2015#
- colour.characterisation.polynomial_expansion_Finlayson2015(RGB: ArrayLike, degree: Literal[1, 2, 3, 4] = 1, root_polynomial_expansion: bool = True) NDArrayFloat [source]#
Perform polynomial expansion of given RGB colourspace array using Finlayson et al. (2015) method.
- Parameters:
- Returns:
Expanded RGB colourspace array.
- Return type:
References
[FMH15]
Examples
>>> RGB = np.array([0.17224810, 0.09170660, 0.06416938]) >>> polynomial_expansion_Finlayson2015(RGB, degree=2) array([ 0.1722481..., 0.0917066..., 0.0641693..., 0.1256832..., 0.0767121..., 0.1051335...])