LabToMunsell | R Documentation |
LabToMunsell
Converts CIE Lab coordinates to Munsell HVC,
by interpolating over the extrapolated Munsell renotation data
LabToMunsell( Lab, white='D65', adapt='Bradford', ... )
Lab |
CIE Lab coordinates. An Nx3 matrix, or a vector that can be converted to such a matrix. Each row of the matrix has Lab. |
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.
Lab \rarrow XYZ using spacesXYZ::XYZfromLab()
with the given white
.
XYZ is then adapted from the given white
to Illuminant C using the given adapt
method.
XYZ \rarrow HVC using XYZtoMunsell()
.
An Nx3 matrix with the Munsell HVC coordinates in each row. The rownames are set to those of Lab.
The case of the letter 't' in the function name was recently changed from lower to upper.
The function LabtoMunsell()
is equivalent but deprecated and provided for a limited time.
Jose Gama and Glenn Davis
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
MunsellToLab()
,
XYZtoMunsell()
,
spacesXYZ::standardXYZ()
,
spacesXYZ::CAT()
,
spacesXYZ::XYZfromLab()
LabToMunsell( c(74.613450, -20.4, 10.1, 80, 0, 0) ) ## H V C ## 3.1G 7.4/3.6 43.13641 7.379685 3.62976 ## N 7.9/ 0.00000 7.945314 0.00000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.