Learn R Programming

munsellinterpol (version 3.0-0)

MunsellToXYZ: Convert a Munsell specification to CIE XYZ coordinates

Description

MunsellToXYZ Converts a Munsell specification to XYZ coordinates, by interpolating over the extrapolated Munsell renotation data

Usage

MunsellToXYZ( MunsellSpec, ... )

Arguments

MunsellSpec

a numeric Nx3 matrix with HVC values in the rows, or a vector that can be converted to such a matrix, by row. MunsellSpec can also be a character vector with Munsell Notations, which is converted to an Nx3 matrix using HVCfromMunsellName().

...

other parameters passed to MunsellToxyY()

Value

an Nx3 matrix with XYZ values in the rows. The rownames of XYZ are copied from the input HVC matrix, unless the rownames are NULL and then the output rownames are the Munsell notations for HVC. Note that these XYZ values are for viewing under Illuminant C, with Y=100. There is no chromatic adaptation.

Details

The conversion is done in these steps:

References

Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html

See Also

MunsellToxyY(), spacesXYZ::XYZfromxyY()

Examples

Run this code
# NOT RUN {
MunsellToXYZ('7.6P 8.9/2.2')
##                     X        Y        Z
##  7.6P 8.9/2.2 75.6055 74.61345 92.92308
# }

Run the code above in your browser using DataLab