colour_hdri.highlights_recovery_LCHab#

colour_hdri.highlights_recovery_LCHab(RGB: ArrayLike, threshold: float | None = None, RGB_colourspace: RGB_Colourspace = RGB_COLOURSPACE_sRGB) NDArrayFloat[source]#

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

Parameters:
  • RGB (ArrayLike) – RGB colourspace array.

  • threshold (float | None) – Threshold for highlights selection, automatically computed if not given.

  • RGB_colourspace (RGB_Colourspace) – Working RGB colourspace to perform the CIE L*C*Hab to and from.

Returns:

Highlights recovered RGB colourspace array.

Return type:

numpy.ndarray