dkl2dklCart {colorscience}R Documentation

converts between spherical and cartesian coordinates for DKL

Description

dkl2dklCart Converts DKL, from spherical coordinates to cartesian. dklCart2rgb Converts DKL, from cartesian to spherical coordinates.

Usage

dkl2dklCart(dklMatrix)

Arguments

dklMatrix

DKL coordinates

Value

DKL 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

RGB<-c(124,63,78)
d <- rgb2dklCart(RGB)
dklCart2dkl(d)
dkl2dklCart(c(1.647176, 60.8308, 91.45825))
d

[Package colorscience version 1.0.9 Index]