Learn R Programming

munsellinterpol (version 2.0.1)

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 are copied from the input HVC matrix. Exception: If the input matrix rownames are NULL, then the output rownames are the Munsell notation. Note that these XYZ values are for viewing under Illuminant C, with Y=100.

Details

This function calls MunsellToxyY() and xyY2XYZ().

References

Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox http://www.99main.com/~centore/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html

See Also

MunsellToxyY(), xyY2XYZ()

Examples

Run this code
# NOT RUN {
MunsellToXYZ('7.6P 8.9/2.2')
# }

Run the code above in your browser using DataLab