trispace(vismodeldata)
vismodel
or independently calculated data (in the form of a data frame
with three columns representing trichromatic viewer).colspace
consisting of the following columns:s
, m
, l
: the quantum catch data used to calculate
the remaining variables.x
, y
: cartesian coordinates for the points in the
Maxwell triangle.h.theta
: angle theta, in radians, determining the hue of the color.r.vec
: the r vector (saturation, distance from the center).
Kelber A, Vorobyev M, Osorio D. (2003). Animal colour vision - behavioural tests and physiological concepts. Biological Reviews, 78, 81 - 118.
MacLeod DIA, Boynton RM. (1979). Chromaticity diagram showing cone excitation by stimuli of equal luminance. Journal of the Optical Society of America, 69, 1183-1186.
## Not run:
# data(flowers)
# vis.flowers <- vismodel(flowers, visual = 'apis', achro = 'l')
# tri.flowers <- colspace(vis.flowers, space = 'tri')
# ## End(Not run)
Run the code above in your browser using DataLab