colour_hdri.highlights_recovery_LCHab

colour_hdri.highlights_recovery_LCHab(RGB, threshold=None, RGB_colourspace=RGB_Colourspace(sRGB, [[0.64, 0.33, ][0.3, 0.6, ][0.15, 0.06, ]][0.3127, 0.329, ]D65, [[0.4124, 0.3576, 0.1805, ][0.2126, 0.7152, 0.0722, ][0.0193, 0.1192, 0.9505, ]][[3.2406, -1.5372, -0.4986, ][-0.9689, 1.8758, 0.0415, ][0.0557, -0.204, 1.057, ]]<function oetf_sRGB>, <function oetf_reverse_sRGB>, False, False))[source]

Performs highlights recovery in CIE L*C*Hab colourspace.

Parameters:
  • RGB (array_like) – RGB colourspace array.
  • threshold (numeric, optional) – Threshold for highlights selection, automatically computed if not given.
  • RGB_colourspace (RGB_Colourspace, optional) – Working RGB colourspace to perform the CIE L*C*Hab to and from.
Returns:

Highlights recovered RGB colourspace array.

Return type:

ndarray