Learn R Programming

munsellinterpol (version 2.0.1)

MunsellToLab: Convert a Munsell specification to CIE Lab coordinates

Description

MunsellToLab Converts a Munsell specification to CIE Lab coordinates, by interpolating over the extrapolated Munsell renotation data

Usage

MunsellToLab( MunsellSpec, white=c(95.047,100,108.883), adaption='bradford', ... )

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

white

XYZ for the destination white. The default is Illuminant=D65, 2 observer

adaption

method for chromatic adaption, see adaption for valid values. Also see Details.

...

other parameters passed to MunsellToXYZ()

Value

An Nx3 matrix with the Lab coordinates in each row. The rownames are copied from input to output.

Details

The conversion is done in 3 steps.

  • HVC XYZ using MunsellToXYZ()

  • XYZ is adapted from Illuminant C to the given white using the given adaption method

  • XYZ Lab using xyz2lab() with the given white

References

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

See Also

labtoMunsell(), MunsellToXYZ(), xyz2lab()

Examples

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

Run the code above in your browser using DataLab