Defines whiteness index \(W\) computation objects:
See also
References
[1] | Wikipedia. (n.d.). Whiteness. Retrieved September 17, 2014, from http://en.wikipedia.org/wiki/Whiteness |
[2] | (1, 2, 3, 4, 5, 6) X-Rite, & Pantone. (2012). Color iQC and Color iMatch Color Calculations Guide. Retrieved from http://www.xrite.com/documents/literature/en/09_Color_Calculations_en.pdf |
[3] | Wyszecki, G., & Stiles, W. S. (2000). Table I(6.5.3) Whiteness Formulae (Whiteness Measure Denoted by W). In Color Science: Concepts and Methods, Quantitative Data and Formulae (pp. 837–839). Wiley. ISBN:978-0471399186 |
Returns the whiteness index \(WI\) of given sample CIE XYZ colourspace matrix using Berger (1959) method. [2]
Parameters: |
|
---|---|
Returns: | Whiteness \(WI\). |
Return type: | numeric |
Notes
Warning
The input domain of that definition is non standard!
Examples
>>> XYZ = np.array([95., 100., 105.])
>>> XYZ_0 = np.array([94.80966767, 100., 107.30513595])
>>> whiteness_Berger1959(XYZ, XYZ_0)
30.3638017...
Returns the whiteness index \(WI\) of given sample CIE XYZ colourspace matrix using Taube (1960) method. [2]
Parameters: |
|
---|---|
Returns: | Whiteness \(WI\). |
Return type: | numeric |
Notes
Examples
>>> XYZ = np.array([95., 100., 105.])
>>> XYZ_0 = np.array([94.80966767, 100., 107.30513595])
>>> whiteness_Taube1960(XYZ, XYZ_0)
91.4071738...
Returns the whiteness index \(WI\) of given sample CIE Lab colourspace matrix using Stensby (1968) method. [2]
Parameters: | Lab (array_like) – CIE Lab colourspace matrix of sample. |
---|---|
Returns: | Whiteness \(WI\). |
Return type: | numeric |
Notes
Examples
>>> Lab = np.array([100., -2.46875131, -16.72486654])
>>> whiteness_Stensby1968(Lab)
142.7683456...
Returns the whiteness index \(WI\) of given sample CIE XYZ colourspace matrix using ASTM 313 method. [2]
Parameters: | XYZ (array_like) – CIE XYZ colourspace matrix of sample. |
---|---|
Returns: | Whiteness \(WI\). |
Return type: | numeric |
Notes
Warning
The input domain of that definition is non standard!
Examples
>>> XYZ = np.array([95., 100., 105.])
>>> whiteness_ASTM313(XYZ)
55.7400000...
Returns the whiteness index \(W\) and tint \(T\) of given sample xy chromaticity coordinates using Ganz and Griesser (1979) method. [2]
Parameters: |
|
---|---|
Returns: | Whiteness \(W\) and tint \(T\). |
Return type: | tuple |
Notes
Warning
The input domain of that definition is non standard!
Examples
>>> whiteness_Ganz1979((0.3167, 0.3334), 100.)
(85.6003766..., 0.6789002...)
Returns the whiteness \(W\) or \(W_{10}\) and tint \(T\) or \(T_{10}\) of given sample xy chromaticity coordinates using CIE 2004 method.
Parameters: |
|
---|---|
Returns: | Whiteness \(W\) or \(W_{10}\) and tint \(T\) or \(T_{10}\) of given sample. |
Return type: | tuple |
Notes
Warning
The input domain of that definition is non standard!
References
[4] | CIE TC 1-48. (2004). The evaluation of whiteness. In CIE 015:2004 Colorimetry, 3rd Edition (p. 24). ISBN:978-3-901-90633-6 |
Examples
>>> xy_n = (0.3139, 0.3311)
>>> whiteness_CIE2004((0.3167, 0.3334), 100., xy_n)
(93.8500000..., -1.3049999...)
Supported whiteness computations methods.
Aliases:
Returns the whiteness \(W\) using given method.
Parameters: |
|
---|---|
Returns: | whiteness \(W\). |
Return type: | numeric |
Examples
>>> xy = (0.3167, 0.3334)
>>> Y = 100
>>> xy_n = (0.3139, 0.3311)
>>> whiteness(xy=xy, Y=Y, xy_n=xy_n)
(93.8500000..., -1.3049999...)
>>> XYZ = np.array([95., 100., 105.])
>>> XYZ_0 = np.array([94.80966767, 100., 107.30513595])
>>> method = 'Taube 1960'
>>> whiteness(XYZ=XYZ, XYZ_0=XYZ_0, method=method)
91.4071738...