colour.colorimetry.luminance_Fairchild2011#

colour.colorimetry.luminance_Fairchild2011(L_hdr: FloatingOrArrayLike, epsilon: FloatingOrArrayLike = 0.474, method: Union[Literal['hdr-CIELAB', 'hdr-IPT'], str] = 'hdr-CIELAB') FloatingOrNDArray[source]#

Compute luminance \(Y\) of given Lightness \(L_{hdr}\) using Fairchild and Chen (2011) method according to Michaelis-Menten kinetics.

Parameters:
  • L_hdr (FloatingOrArrayLike) – Lightness \(L_{hdr}\).

  • epsilon (FloatingOrArrayLike) – \(\epsilon\) exponent.

  • method (Union[Literal['hdr-CIELAB', 'hdr-IPT'], str]) – Lightness \(L_{hdr}\) computation method.

Returns:

Luminance \(Y\).

Return type:

numpy.floating or numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

L_hdr

[0, 100]

[0, 1]

Range

Scale - Reference

Scale - 1

Y

[0, 1]

[0, 1]

References

[FC11]

Examples

>>> luminance_Fairchild2011(51.852958445912506)  
0.1219722...
>>> luminance_Fairchild2011(51.643108411718522, method='hdr-IPT')
... 
0.1219722...