colorSpec1.8-0 package

Color Calculations with Emphasis on Spectral Data

ABC

Standard Illuminants A, B, and C (1931)

actinometric

convert a colorSpec object to be actinometric

applyspec

apply a function to each spectrum in a colorSpec object

as.data.frame

Convert a colorSpec Object to a data.frame

atmosphere

atmospheric transmittance along a horizontal path

bandSpectra

Compute Band-based Material Spectra, and Bands for Existing Material S...

bind

Combine colorSpec Objects

calibrate

make a linear modification to a colorSpec responder

canonicalOptimalColors

compute the Canonical Optimal Colors

chop

chop spectra into low and high parts

computeADL

compute ADL coordinates by ray tracing

computeCCT

Compute Correlated Color Temperature (CCT) of Light Spectra

computeCRI

Compute Color Rendering Index (CRI) of Light Spectra

computeSSI

Compute the Spectrum Similarity Index of light spectra

HigherPasserines

Cone Fundamentals for the Higher Passerines

Hoya

standard Hoya filters

insideOptimalColors

test whether points are inside the surface of optimal colors

insideSchrodingerColors

test whether points are inside the surface of Schrödinger colors

logging

Logging in colorSpec package

colorSpec-package

Package colorSpec - Color Calculations with Emphasis on Spectral Data

Fluorescents

Standard series F Illuminants F1, F2, F3, F4, F5, F6, F7, F8, F9, F10,...

convolvewith

Convolve each spectrum in a colorSpec object with a kernel

coredata

Extract the Core Data of a colorSpec Object

D50

Standard Illuminant D50 (1964)

D65

Standard Illuminant D65 (1964)

daylight

Standard Daylight Components

product

Compute the product of colorSpec objects

displayRGB

Compute Display RGB from Linear RGB

emulate

modify a colorSpec responder to emulate (approximate) another responde...

extradata

extradata of a colorSpec object

F96T12

Photon Irradiance of F96T12 Fluorescent Bulb

Flea2

Flea2 Camera FL2-14S3C from Point Grey

interpolate

interpolate spectra

invert

estimate spectra from responses, effectively inverting the operator fr...

lightResponsivitySpectra

compute standard light responsivity spectra

lightSpectra

compute standard light spectra

linearize

linearize a colorSpec object - to make it ready for colorimetric calcu...

lms1971

Cone Fundamentals - 2-degree (1971)

lms2000

Cone Fundamentals - 2-degree (2000)

ptransform

make a linear transformation to a colorSpec responder

luminsivity

Luminous Efficiency Functions (photopic and scotopic)

materialSpectra

compute standard material spectra

mean

calculate mean of multiple spectra

metadata

metadata of a colorSpec object

multiply

multiply a colorSpec object by scalar, vector, or matrix

officialXYZ

Query the Official XYZ values for Standard Illuminants

options

Functions to set and retrieve colorSpec package options

organization

organization of a colorSpec object

photometric

convert illuminant spectra to photometric units

plot

plot spectra

plotOptimals

Plot Optimal Colors

print

Convert colorSpec object to readable text

probeOptimalColors

compute optimal colors by ray tracing

quantity

quantity of a colorSpec object

radiometric

convert a colorSpec object from actinometric to radiometric

readCGATS

read tables from files in ANSI/CGATS.17 format

readSpectra

read colorSpec objects from files

resample

resample a colorSpec Object to new wavelengths

responsivityMetrics

Compute Metrics for a Light Responder (e.g. a camera) or a Material Re...

scanner

standard RGB scanners

sectionOptimalColors

compute sections of an optimal color surface by hyperplanes

sectionSchrodingerColors

compute sections of a Schrodinger color surface by hyperplanes

solar.irradiance

Standard Solar Irradiance - Extraterrestrial and Terrestrial

specnames

specnames of a colorSpec object

standardRGB

Convert from XYZ to some standard RGB spaces

subset

extract a subset of a colorSpec Object

theoreticalRGB

Theoretical RGB Cameras - BT.709.RGB, Adobe.RGB, and ACES.RGB

TM30

Compute ANSI/IES TM-30 data, and Create Color Rendition Reports

wavelength

wavelength vector of a colorSpec object

xyz1931

CIE Color Matching Functions - 2-degree (1931)

xyz1964

CIE Color Matching Functions - 10-degree (1964)

Calculate with spectral properties of light sources, materials, cameras, eyes, and scanners. Build complex systems from simpler parts using a spectral product algebra. For light sources, compute CCT, CRI, SSI, and IES TM-30 reports. For object colors, compute optimal colors and Logvinenko coordinates. Work with the standard CIE illuminants and color matching functions, and read spectra from text files, including CGATS files. Estimate a spectrum from its response. A user guide and 9 vignettes are included.

  • Maintainer: Glenn Davis
  • License: GPL (>= 3)
  • Last published: 2025-06-10