Processing and Organisation

Functions for importing and processing spectral data

aggspec()

Aggregate reflectance spectra

as.rspec() is.rspec()

Convert data to an rspec object

as.rimg() is.rimg()

Convert data to an rimg object

rimg2cimg() cimg2rimg()

Convert images between class rimg and cimg

getspec()

Import spectra files

getimg()

Import image data

irrad2flux() flux2irrad()

Converts between irradiance and photon (quantum) flux

merge(<rspec>)

Merge two rspec objects

procimg()

Process images

procspec()

Process spectra

spec2rgb()

Spectrum to rgb color conversion

subset(<rspec>) subset(<colspace>) subset(<vismodel>)

Subset rspec, vismodel, and colspace objects

Visualisation

Functions for visualising spectral data, including the results of visual modelling

aggplot()

Plot aggregated reflectance spectra

axistetra()

Plot reference axes in a static tetrahedral colorspace

explorespec()

Plot spectral curves

legendtetra()

Add legend to a static tetrahedral colorspace

plot(<colspace>)

Plot spectra in a colourspace

plot(<rimg>)

Plot unprocessed or colour-classified images

plot(<rspec>)

Plot spectra

plotsmooth()

Plot loess smoothed curves

points(<colspace>)

Plot points in a colorspace

projplot() projpoints()

Hue projection plot

sensdata()

Retrieve or plot in-built data

tcsplot() tcspoints() tcsvol()

Interactive plot of a tetrahedral colourspace

Analysis

Functions for analysing spectral data

adjacent()

Run an adjacency and boundary strength analysis

bootcoldist()

Bootstrap colour distance confidence intervals

classify()

Identify colour classes in an image for adjacency analyses

coldist()

Color distances

colspace()

Model spectra in a colorspace

jnd2xyz()

Convert JND distances into perceptually-corrected Cartesian coordinates

jndrot()

Rotate Cartesian coordinates obtained from jnd2xyz

peakshape()

Peak shape descriptors

segspace()

Segment classification

sensmodel()

modeling spectral sensitivity

summary(<colspace>)

Colorspace data summary

summary(<rimg>)

Image summary

summary(<rspec>)

Colorimetric variables

summary(<vismodel>)

Visual model summary

vismodel()

Visual models

vol()

Plot a tetrahedral color space

voloverlap()

Color volume overlap

Misc

Assorted functions containing example and internally-used data

bgandilum

Default background and illuminant data

flowers

Reflectance spectra from a suite of native Australian flowers, collected around Cairns, Queensland.

tcs()

Deprecated function(s) in the pavo package

pavo-package

pavo: Perceptual Analysis, Visualization and Organization of Spectral Color Data in R

sicalis

Spectral curves from three body regions of Stripe-Tailed Yellow Finch (Sicalis citrina) males

teal

Angle-resolved reflectance data for the iridescent wing patch of a male green-winged teal (Anas carolinensis)

transmissiondata

Default ocular transmission data

ttvertex

vertex for the tetrahedral color space

vissyst

Animal visual systems data