coc | R Documentation |
Calculates coordinates and colorimetric variables that represent reflectance spectra in the color opponent coding model of hymenopteran vision.
coc(vismodeldata)
vismodeldata |
(required) quantum catch colour data. Can be either the result
from |
A data frame of class colspace
consisting of the following columns:
s
, m
, l
: the quantum catch data used to calculate the remaining
variables.
x
, y
: coordinates for the points in coc space
r.vec
: the r vector (saturation, distance from the center using a
city-block metric).
Thomas White thomas.white026@gmail.com
Backhaus W. (1991). Color opponent coding in the visual system of the honeybee. Vision Research, 31, 1381-1397.
data(flowers)
vis.flowers <- vismodel(flowers, visual = "apis", qcatch = "Ei", relative = FALSE, vonkries = TRUE)
coc.flowers <- colspace(vis.flowers, space = "coc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.