dkl2rgb {colorscience}R Documentation

convert RGB to DKL

Description

dkl2rgb Converts DKL, spherical coords coordinates to sRGB. dklCart2rgb Converts DKL, cartesian coords coordinates to sRGB.

Usage

dkl2rgb(dklMatrix, conversionMatrix = NA)

Arguments

dklMatrix

DKL coordinates

conversionMatrix

conversion matrix

Value

RGB coordinates

Author(s)

Jose Gama

Source

Package psychopy for Python

Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology

References

Package psychopy for Python

Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology

Examples

dklC <- rgb2dklCart(c(54,75,121))
dklCart2dkl(dklC)

[Package colorscience version 1.0.9 Index]