Defines Lightness \(L*\) computation objects.
The following methods are available:
See also
References
[1] | Wikipedia. (n.d.). Lightness. Retrieved April 13, 2014, from http://en.wikipedia.org/wiki/Lightness |
Returns the Lightness \(L\) of given luminance \(Y\) using Glasser, Mckinney, Reilly and Schnelle (1958) method.
Parameters: |
|
---|---|
Returns: | Lightness \(L\). |
Return type: | numeric or array_like |
Notes
References
[2] | Glasser, L. G., McKinney, A. H., Reilly, C. D., & Schnelle, P. D. (1958). Cube-Root Color Coordinate System. J. Opt. Soc. Am., 48(10), 736–740. doi:10.1364/JOSA.48.000736 |
Examples
>>> lightness_Glasser1958(10.08)
36.2505626...
Returns the Lightness \(W\) of given luminance \(Y\) using Wyszecki (1963) method.
Parameters: |
|
---|---|
Returns: | Lightness \(W\). |
Return type: | numeric or array_like |
Notes
References
[3] | Wyszecki, G. (1963). Proposal for a New Color-Difference Formula. J. Opt. Soc. Am., 53(11), 1318–1319. doi:10.1364/JOSA.53.001318 |
Examples
>>> lightness_Wyszecki1963(10.08)
37.0041149...
Returns the Lightness \(L^*\) of given luminance \(Y\) using given reference white luminance \(Y_n\) as per CIE Lab implementation.
Parameters: |
|
---|---|
Returns: | Lightness \(L^*\). |
Return type: | numeric or array_like |
Notes
References
[4] | Wyszecki, G., & Stiles, W. S. (2000). CIE 1976 (L*u*v*)-Space and Color-Difference Formula. In Color Science: Concepts and Methods, Quantitative Data and Formulae (p. 167). Wiley. ISBN:978-0471399186 |
[5] | Lindbloom, B. (2003). A Continuity Study of the CIE L* Function. Retrieved February 24, 2014, from http://brucelindbloom.com/LContinuity.html |
Examples
>>> lightness_1976(10.08)
array(37.9856290...)
Supported Lightness computations methods.
Aliases:
Returns the Lightness \(L^*\) using given method.
Parameters: |
|
---|---|
Returns: | Lightness \(L^*\). |
Return type: | numeric or array_like |
Notes
Examples
>>> lightness(10.08)
array(37.9856290...)
>>> lightness(10.08, Y_n=100)
array(37.9856290...)
>>> lightness(10.08, Y_n=95)
array(38.9165987...)
>>> lightness(10.08, method='Glasser 1958')
36.2505626...
>>> lightness(10.08, method='Wyszecki 1963')
37.0041149...