Defines luminance \(Y\) computation objects.
The following methods are available:
See also
Returns the luminance \(Y\) of given Munsell value \(V\) using Newhall, Nickerson, and Judd (1943) method.
Parameters: |
|
---|---|
Returns: | luminance \(Y\). |
Return type: | numeric |
Notes
References
[1] | http://en.wikipedia.org/wiki/Lightness (Last accessed 13 April 2014) |
Examples
>>> luminance_newhall1943(3.74629715382)
10.4089874...
Returns the luminance \(Y\) of given Lightness \(L^*\) with given reference white luminance \(Y_n\).
Parameters: |
|
---|---|
Returns: | luminance \(Y\). |
Return type: | numeric |
Notes
References
[2] | http://www.poynton.com/PDFs/GammaFAQ.pdf (Last accessed 12 April 2014) |
Examples
>>> luminance_1976(37.9856290977)
10.0800000...
Returns the luminance \(Y\) of given Munsell value \(V\) using ASTM D1535-08e1 (2008) method.
Parameters: |
|
---|---|
Returns: | luminance \(Y\). |
Return type: | numeric |
Notes
References
Examples
>>> luminance_ASTM_D1535_08(3.74629715382)
10.1488096...
Supported luminance computations methods.
Aliases:
Returns the luminance \(Y\) of given Lightness \(L^*\) or given Munsell value \(V\).
Parameters: |
|
---|---|
Returns: | luminance \(Y\). |
Return type: | numeric |
Notes
Examples
>>> luminance(37.9856290977)
10.0800000...
>>> luminance(37.9856290977, Yn=100)
10.0800000...
>>> luminance(37.9856290977, Yn=95)
9.5760000...
>>> luminance(3.74629715382, method='Newhall 1943')
10.4089874...
>>> luminance(3.74629715382, method='ASTM D1535-08')
10.1488096...