hexagon {pavo}R Documentation

Colour hexagon

Description

Calculates coordinates and colourimetric variables that represent reflectance spectra in the hymenopteran colour hexagon.

Usage

hexagon(vismodeldata)

Arguments

vismodeldata

(required) quantum catch colour data. Can be either the result from vismodel() or independently calculated data (in the form of a data frame with three columns named 's', 'm', 'l', representing a trichromatic viewer).

Value

A data frame of class colspace consisting of the following columns:

Author(s)

Thomas White thomas.white026@gmail.com

References

Chittka L. (1992). The colour hexagon: a chromaticity diagram based on photoreceptor excitations as a generalized representation of colour opponency. Journal of Comparative Physiology A, 170(5), 533-543.

Chittka L, Shmida A, Troje N, Menzel R. (1994). Ultraviolet as a component of flower reflections, and the colour perception of Hymenoptera. Vision research, 34(11), 1489-1508.

Examples

data(flowers)
vis.flowers <- vismodel(flowers,
  visual = "apis", qcatch = "Ei", relative = FALSE,
  vonkries = TRUE, achromatic = "l", bkg = "green"
)
flowers.hex <- colspace(vis.flowers, space = "hexagon")

[Package pavo version 2.9.0 Index]