# colour_hdri.recovery.highlights Module

## Clipped Highlights Recovery

Defines the clipped highlights recovery objects:

- `highlights_recovery_blend()`
- `highlights_recovery_LCHab()`

See also

Colour - HDRI - Examples: Merge from Raw Files Jupyter Notebook

`colour_hdri.recovery.highlights.``highlights_recovery_blend`(RGB, multipliers, threshold=0.99)

  Performs highlights recovery using Coffin (1997) method from dcraw.

  Parameters: | RGB (array_like) – RGB colourspace array. multipliers (array_like) – Normalised camera white level or white balance multipliers. threshold (numeric, optional) – Threshold for highlights selection.
  Returns: | Highlights recovered RGB colourspace array.
  Return type: | ndarray

  References

  [1] | Coffin, D. (2015). dcraw. Retrieved from https://www.cybercom.net/~dcoffin/dcraw/

`colour_hdri.recovery.highlights.``highlights_recovery_LCHab`(RGB, threshold=None, RGB_colourspace=<Mock name='mock.sRGB_COLOURSPACE' id='4496374416'>)

  Performs highlights recovery in CIE LCHab 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 LCHab to and from.
  Returns: | Highlights recovered RGB colourspace array.
  Return type: | ndarray