Rgb To Munsell Converter Weight

  

  1. Rgb To Munsell Converter
  2. Munsell To Rgb Conversion
  3. Rgb To Munsell Converter Weight Calculator
  4. Munsell To Hex

For Munsell to RGB conversion, a vector of R colors is returned that is the same length as the input data. For RGB to Munsell conversion, a dataframe (NA-padded) of hue, value, chroma, and Euclidean distance to nearest matching color is returned. The is a simple online tool that lets you browse the Munsell color notation in your web browser. Feb 02, 2020 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.

Description

MunsellToRGB Converts a Munsell specification to RGB coordinates, by interpolating over the extrapolated Munsell renotation data

Usage

Rgb To Munsell Converter

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

space

the name of an installed RGB space.Spaces 'sRGB' and 'AdobeRGB' are pre-installed,and others can be installed with installRGB().

maxSignal

maximum of the non-linear signal RGB; Other popular values are 1, 1023, and 65535

adapt

method for chromatic adaptation, see CAT() for valid values.Also see Details.

...

other parameters passed to MunsellToxyY()

Details

The conversion is done in these steps.

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

  • xyY is adapted from Illuminant C to the white-point of the RGBspace using adaptxyY() and the given chromatic adaptation method

  • xyY rarrow XYZ using XYZfromxyY()

  • XYZ rarrow RGB using RGBfromXYZ() with the given spaceand maxSignal

Value

a data.frame with these columns

xyY

an Nx3 matrix with xyY values in the rows, that are adapted to Illuminant C.This is an intermediate result that is sometimes useful, e.g. it can be passedto IsWithinMacAdamLimits().

RGB

an Nx3 matrix with non-linear RGB signal values in the rows. All values are clamped to the appropriate cube, e.g. [0,255]^3

OutOfGamut

logical vector, TRUE means the result was out of gamut (the cube)before clamping it

Munsell

In case of error, it returns NULL.

Author(s)

Rgb

Jose Gama and Glenn Davis

References

Paul Centore 2014The Munsell and Kubelka-Munk Toolboxhttp://centore.isletech.net/~centore/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html

See Also

installRGB(),MunsellToXYZ(),RGBfromXYZ(),XYZfromxyY(),CAT(),IsWithinMacAdamLimits()

Examples

Rgb to munsell

Example output

Source: R/munsell2rgb.R

Convert sRGB color coordinates to the closest n Munsell chips in the munsell lookup table.

Arguments

color

a data.frame or matrix object containing sRGB coordinates in the range of (0,1)

colorSpace

distance metric (colorspace) to use for finding the closest chip: CIE2000 is the most accurate but requires farver >= 2.0.3, Euclidean distance in CIELAB is a close second, while Euclidean distance in sRGB is not at all accurate and should only be used for demonstration purposes.

nClosest

number of closest Munsell colors to return (valid range is 1-20)

Value

an (NA-padded) data.frame containing hue, value, chroma, and distance (dE00 when colorSpace = 'CIE2000', Euclidean distance otherwise) to nearest matching color.

Note

Munsell To Rgb Conversion

This function is fully vectorized and will pad output with NA-records when NA are present in color.

References

Author

Rgb To Munsell Converter Weight Calculator

D.E. Beaudette

Rgb To Munsell Converter Weight

Munsell To Hex

Examples