colour_hdri.highlights_recovery_blend

colour_hdri.highlights_recovery_blend(RGB, multipliers, threshold=0.99)[source]

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

[Cof15]