Learn R Programming

munsellinterpol (version 2.0.1)

labtoMunsell: Convert CIE Lab coordinates into a Munsell specification

Description

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

Usage

labtoMunsell( Lab, white=c(95.047,100,108.883), adaption='bradford', ... )

Arguments

Lab

CIE Lab coordinates An Nx3 matrix, or a vector that can be converted to such a matrix. Each row of the matrix has Lab.

white

XYZ for the source 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 XYZtoMunsell()

Value

An Nx3 matrix with the Munsell HVC coordinates in each row. The rownames are set to those of Lab.

Details

The conversion is done in 3 steps.

  • Lab XYZ using lab2xyz() with the given white.

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

  • XYZ HVC using XYZtoMunsell().

References

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

Examples

Run this code
# NOT RUN {
labtoMunsell( c(74.613450, -20.4, 10.1) )
# }

Run the code above in your browser using DataLab