dkl2dklCart: converts between spherical and cartesian coordinates for DKL

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

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

Usage

1
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

1
2
3
4
5
RGB<-c(124,63,78)
d <- rgb2dklCart(RGB)
dklCart2dkl(d)
dkl2dklCart(c(1.647176, 60.8308, 91.45825))
d

colorscience documentation built on May 21, 2017, 12:47 a.m.

Search within the colorscience package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.