colour.munsell_value¶
-
colour.
munsell_value
(Y, method=u'ASTM D1535-08')[source]¶ Returns the Munsell value \(V\) of given luminance \(Y\) using given method.
Parameters: - Y (numeric or array_like) – luminance \(Y\).
- method (unicode, optional) – {‘ASTM D1535-08’, ‘Priest 1920’, ‘Munsell 1933’, ‘Moon 1943’, ‘Saunderson 1944’, ‘Ladd 1955’, ‘McCamy 1987’}, Computation method.
Returns: Munsell value \(V\).
Return type: numeric or ndarray
Notes
- Input Y is in domain [0, 100].
- Output V is in range [0, 10].
References
Examples
>>> munsell_value(10.08) 3.7344764... >>> munsell_value(10.08, method='Priest 1920') 3.1749015... >>> munsell_value(10.08, method='Munsell 1933') 3.7918355... >>> munsell_value(10.08, method='Moon 1943') 3.7462971... >>> munsell_value(10.08, method='Saunderson 1944') 3.6865080... >>> munsell_value(10.08, method='Ladd 1955') 3.6952862... >>> munsell_value(10.08, method='McCamy 1987') array(3.7347235...)