LuvToMunsell {munsellinterpol} | R Documentation |
Convert CIE Luv coordinates to Munsell HVC
Description
LuvToMunsell
Converts CIE Luv coordinates to Munsell HVC,
by interpolating over the extrapolated Munsell renotation data
Usage
LuvToMunsell( Luv, white='D65', adapt='Bradford', ... )
Arguments
Luv |
CIE Luv coordinates An Nx3 matrix, or a vector that can be converted to such a matrix. Each row of the matrix has Luv. |
white |
XYZ for the source white - a numeric 3-vector with scaling irrelevant.
|
adapt |
method for chromatic adaptation, see Details |
... |
other parameters passed to |
Details
The conversion is done in these steps:
Luv → XYZ using
spacesXYZ::XYZfromLuv()
with the givenwhite
.XYZ is then adapted from the given
white
to Illuminant C using the given chromatic adaptation method, seespacesXYZ::CAT()
.XYZ → HVC using
XYZtoMunsell()
Value
An Nx3 matrix with the Munsell HVC coordinates in each row. The rownames are set to those of Luv.
Note
The case of the letter 't' in the function name was recently changed from lower to upper.
The function LuvtoMunsell()
is equivalent but deprecated and provided for a limited time.
Author(s)
Jose Gama and Glenn Davis
References
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
See Also
XYZtoMunsell()
,
spacesXYZ::XYZfromLuv()
,
spacesXYZ::standardXYZ()
,
spacesXYZ::CAT()
Examples
LuvToMunsell( c( 74.613450, -5.3108, 10.6, 55, 0, 0 ) )
## H V C
## 8.7GY 7.4/1.2 38.6599 7.383948 1.229376
## N 5.4/ 0.0000 5.395003 0.000000