RGB2LSLM: Convert RGB coordinates to LSLM

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

RGB2LSLM Converts RGB coordinates to LSLM.

Usage

1
RGB2LSLM(RGBmatrix) 

Arguments

RGBmatrix

RGB coordinates

Value

LSLM coordinates

Author(s)

Jose Gama

Source

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.

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

1
2
RGB<-c(124,63,78)
RGB2LSLM(RGB)

Example output

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, units

Loading required package: pracma

Attaching package: 'pracma'

The following object is masked from 'package:Hmisc':

    ceil

Loading required package: sp
        [,1]     [,2]     [,3]
[1,] 16030.8 1489.837 96089.88

colorscience documentation built on Oct. 30, 2019, 9:33 a.m.