MunsellToLuv | R Documentation |
MunsellToLuv
Converts a
Munsell specification to CIE Luv coordinates, by interpolating over the
extrapolated Munsell renotation data
MunsellToLuv( MunsellSpec, white='D65', adapt='Bradford', ... )
MunsellSpec |
a numeric Nx3 matrix with HVC values in the rows, or a vector that can be converted to such a matrix, by row. |
white |
XYZ for the source white - a numeric 3-vector with scaling irrelevant.
|
adapt |
method for chromatic adaptation, see |
... |
other parameters passed to |
The conversion is done in these steps:
HVC \rarrow XYZ using MunsellToXYZ()
XYZ is adapted from Illuminant C to the given white
using spacesXYZ::adaptXYZ()
with the given chromatic adaptation method
XYZ \rarrow Luv using spacesXYZ::LuvfromXYZ()
with the given white
An Nx3 matrix with the Luv coordinates in each row.
The rownames of Luv are copied from the input HVC matrix,
unless the rownames are NULL
and
then the output rownames are the Munsell notations for HVC.
Jose Gama and Glenn Davis
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
LuvToMunsell()
,
MunsellToXYZ()
,
spacesXYZ::standardXYZ()
,
spacesXYZ::CAT()
,
spacesXYZ::adaptXYZ()
,
spacesXYZ::LuvfromXYZ()
MunsellToLuv( c('7.6P 8.9/2.2', 'N 5/' ) ) ## L u v ## 7.6P 8.9/2.2 89.19097 5.247155 -5.903808 ## N 5/ 51.00375 0.000000 0.000000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.