colour_hdri.highlights_recovery_blend#

colour_hdri.highlights_recovery_blend(RGB: ArrayLike, multipliers: ArrayLike, threshold: float = 0.99) NDArrayFloat[source]#

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

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

  • multipliers (ArrayLike) – Normalised camera white level or white balance multipliers.

  • threshold (float) – Threshold for highlights selection.

Returns:

Highlights recovered RGB colourspace array.

Return type:

numpy.ndarray

References

[Cof15]