LMS2DKL {colorscience}R Documentation

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

Author(s)

Jose Gama

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

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

[Package colorscience version 1.0.9 Index]