MunsellToXYZ: Convert a Munsell specification to CIE XYZ coordinates

View source: R/conversions.R

MunsellToXYZR Documentation

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()

Details

The conversion is done in these steps:

  • HVC \rarrow xyY using MunsellToxyY() and .... This xyY is for Illuminant C.

  • xyY \rarrow XYZ using spacesXYZ::XYZfromxyY()

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.

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

MunsellToxyY(), spacesXYZ::XYZfromxyY()

Examples

MunsellToXYZ('7.6P 8.9/2.2')
##                     X        Y        Z
##  7.6P 8.9/2.2 75.6055 74.61345 92.92308

munsellinterpol documentation built on April 8, 2022, 9:07 a.m.