Learn R Programming

colorscience (version 1.0.0)

dkl2rgb: 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

source

Package psychopy for Python http://www.psychopy.org/epydoc/psychopy.misc-pysrc.html#dkl2rgb

Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology http://www.klab.caltech.edu/~harel/share/gbvs.php

References

Package psychopy for Python http://www.psychopy.org/epydoc/psychopy.misc-pysrc.html#dkl2rgb

Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology http://www.klab.caltech.edu/~harel/share/gbvs.php

Examples

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

Run the code above in your browser using DataLab