Learn R Programming

colorscience (version 1.0.2)

LMS2DKL: Convert LMS coordinates to DKL

Description

LMS2DKL Converts LMS coordinates to DKL.

Usage

LMS2DKL(bg, diffcone.coords, DKL2LMS = FALSE)

Arguments

bg
LMS coordinates
diffcone.coords
LMS coordinates
DKL2LMS
boolean, FALSE = DKL to LMS, TRUE = LMS to DKL

Value

DKL coordinates

Source

David H. Brainard Cone Contrast and Opponent Modulation Color Spaces pp. 563 PART IV: CONE CONTRAST AND OPPONENT MODULATION COLOR SPACES

References

David H. Brainard Cone Contrast and Opponent Modulation Color Spaces pp. 563 PART IV: CONE CONTRAST AND OPPONENT MODULATION COLOR SPACES

Examples

Run this code
#LMS<-c(3.822394, 10.17498, 1.130049)
#LMS2DKL(LMS)

Run the code above in your browser using DataLab