dispace {pavo} | R Documentation |
Dichromatic colour space
Description
Calculates coordinates and colorimetric variables that represent reflectance spectra in a dichromatic colour space.
Usage
dispace(vismodeldata)
Arguments
vismodeldata |
(required) quantum catch color data. Can be either the result
from |
Value
A data frame of class colspace
consisting of the following columns:
-
s
,l
: the quantum catch data used to calculate the remaining variables. -
x
: the coordinate of the stimulus along a segment -
r.vec
: the r vector (saturation, distance from the center).
Author(s)
Thomas White thomas.white026@gmail.com
References
Kelber A, Vorobyev M, Osorio D. (2003). Animal colour vision - behavioural tests and physiological concepts. Biological Reviews, 78, 81 - 118.
Examples
data(flowers)
vis.flowers <- vismodel(flowers, visual = "canis")
di.flowers <- colspace(vis.flowers, space = "di")