Learn R Programming

⚠️There's a newer version (1.6-0) of this package.Take me there.

colorSpec (version 0.5-2)

Color Calculations with Emphasis on Spectral Data

Description

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 and CRI. 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. Sample text files, and 4 vignettes are included.

Copy Link

Version

Install

install.packages('colorSpec')

Monthly Downloads

796

Version

0.5-2

License

GPL (>= 3)

Maintainer

Glenn Davis

Last Published

May 15th, 2016

Functions in colorSpec (0.5-2)

plot

plot spectra
applyspec

apply a function to each spectrum in a colorSpec object
daylight

Standard Daylight Components
scanner

standard RGB scanners
D50

Standard Illuminant D50 (1964)
xyz1931

CIE Color Matching Functions - 2-degree (1931)
ABC

Standard Illuminants A, B, and C (1931)
probeOptimalColors

compute optimal colors by ray tracing
Fluorescents

Standard series F Illuminants F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, and F12
computeADL

compute ADL coordinates by ray tracing
computeCRI

Compute Color Rendering Index (CRI) of Light Spectra
bind

Combine colorSpec Objects
HigherPasserines

Cone Fundamentals for the Higher Passerines
mean

calculate mean of multiple spectra
Hoya

standard Hoya filters
officialXYZ

Query the Official XYZ values for Standard Illuminants
cs.options

Functions to set and retrieve colorSpec package options
multiply

multiply a colorSpec object by scalar, vector, or matrix
DisplayRGB

Compute Display RGB from Linear RGB
plotOptimals

Plot Optimal Colors
resample

resample a colorSpec Object to new wavelengths
print

Convert colorSpec object to readable text
lightResponsivitySpectra

compute standard light responsivity spectra
radiometric

force a colorSpec object to be radiometric
colorSpec-package

Package colorSpec - Color Calculations with Emphasis on Spectral Data
solar.irradiance

Standard Solar Irradiance - Extraterrestrial and Terrestrial
F96T12

Photon Irradiance of F96T12 Fluorescent Bulb
subset

extract a subset of a colorSpec Object
logging

Logging in colorSpec package
coredata

Extract the Core Data of a colorSpec Object
extradata

extradata of a colorSpec object
materialSpectra

compute standard material spectra
metadata

metadata of a colorSpec object
quantity

quantity of a colorSpec object
readSpectra

read colorSpec objects from files
xyz1964

CIE Color Matching Functions - 10-degree (1964)
standardRGB

Convert from XYZ to some standard RGB spaces
lms1971

Cone Fundamentals - 2-degree (1971)
organization

organization of a colorSpec object
theoreticalRGB

Theoretical RGB Cameras - BT.709.RGB and Adobe.RGB
convolvewith

Convolve each spectrum in a colorSpec object with a kernel
computeCCT

Compute Correlated Color Temperature (CCT) of Light Spectra
Flea2.RGB

Flea2 Camera FL2-14S3C from Point Grey
plotPatchesRGB

Plot Patches defined by Linear RGB
wavelength

wavelength vector of a colorSpec object
calibrate

make a linear modification to a colorSpec responder
colorSpec

constructing and testing colorSpec Objects
chop

chop spectra into low and high parts
D65

Standard Illuminant D65 (1964)
linearize

linearize a colorSpec object - to make it ready for colorimetric calculations
LightSpectra

compute standard light spectra
lms2000

Cone Fundamentals - 2-degree (2000)
photometric

convert illuminant spectra to photometric units
specnames

specnames of a colorSpec object
product

Compute the product of colorSpec objects