Learn R Programming

munsellinterpol (version 2.0.1)

MunsellToLuv: Convert a Munsell specification to CIE Luv coordinates

Description

MunsellToLuv Converts a Munsell specification to CIE Luv coordinates, by interpolating over the extrapolated Munsell renotation data

Usage

MunsellToLuv( 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 Luv 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 Luv using xyz2luv() with the given white

References

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

See Also

luvtoMunsell(), MunsellToXYZ(), xyz2luv()

Examples

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

Run the code above in your browser using DataLab