Learn R Programming

colorscience (version 1.0.8)

RGB2LMS: Convert RGB coordinates to LMS

Description

RGB2LMS Converts RGB coordinates to LMS.

Usage

RGB2LMS(RGBmatrix)

Arguments

RGBmatrix

RGB coordinates

Value

LMS coordinates

References

Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.

Examples

Run this code
# NOT RUN {
RGB<-c(124,63,78)
RGB2LMS(RGB)
# }

Run the code above in your browser using DataLab