colorSpec: Color Calculations with Emphasis on Spectral Data

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.

Install the latest version of this package by entering the following in R:
install.packages("colorSpec")
AuthorGlenn Davis [aut, cre]
Date of publication2016-05-17 01:05:13
MaintainerGlenn Davis <gdavis@gluonics.com>
LicenseGPL (>= 3)
Version0.5-3

View on CRAN

Man pages

ABC: Standard Illuminants A, B, and C (1931)

applyspec: apply a function to each spectrum in a colorSpec object

bind: Combine colorSpec Objects

calibrate: make a linear modification to a colorSpec responder

chop: chop spectra into low and high parts

colorSpec: constructing and testing colorSpec Objects

colorSpec-package: Package colorSpec - Color Calculations with Emphasis on...

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

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

displayRGB: Compute Display RGB from Linear RGB

extradata: extradata of a colorSpec object

F96T12: Photon Irradiance of F96T12 Fluorescent Bulb

Flea2: Flea2 Camera FL2-14S3C from Point Grey

Fluorescents: Standard series F Illuminants F1, F2, F3, F4, F5, F6, F7, F8,...

HigherPasserines: Cone Fundamentals for the Higher Passerines

Hoya: standard Hoya filters

lightResponsivitySpectra: compute standard light responsivity spectra

lightSpectra: compute standard light spectra

linearize: linearize a colorSpec object - to make it ready for...

lms1971: Cone Fundamentals - 2-degree (1971)

lms2000: Cone Fundamentals - 2-degree (2000)

logging: Logging in colorSpec package

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

plotPatchesRGB: Plot Patches defined by Linear RGB

print: Convert colorSpec object to readable text

probeOptimalColors: compute optimal colors by ray tracing

product: Compute the product of colorSpec objects

quantity: quantity of a colorSpec object

radiometric: force a colorSpec object to be radiometric

readSpectra: read colorSpec objects from files

resample: resample a colorSpec Object to new wavelengths

scanner: standard RGB scanners

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 and Adobe.RGB

wavelength: wavelength vector of a colorSpec object

xyz1931: CIE Color Matching Functions - 2-degree (1931)

xyz1964: CIE Color Matching Functions - 10-degree (1964)

Functions

A.1nm Man page
ABC Man page
actinometric Man page
Adobe.RGB Man page
applyspec Man page
applyspec.colorSpec Man page
as.matrix.colorSpec Man page
atmosphere2003 Man page
B.5nm Man page
bind Man page
bind.colorSpec Man page
BT.709.RGB Man page
C.5nm Man page
calibrate Man page
calibrate.colorSpec Man page
CCTfromXYZ Man page
chop Man page
chop.colorSpec Man page
colorSpec Man page
colorSpec-package Man page
computeADL Man page
computeADL.colorSpec Man page
computeCCT Man page
computeCCT.colorSpec Man page
computeCRI Man page
computeCRI.colorSpec Man page
convolvewith Man page
convolvewith.colorSpec Man page
coredata Man page
coredata.colorSpec Man page
cs.getOptions Man page
cs.options Man page
cs.setOptions Man page
D50 Man page
D50.5nm Man page
D65 Man page
D65.1nm Man page
D65.5nm Man page
daylight Man page
daylight1964 Man page
daylight2013 Man page
daylightSpectra Man page
DisplayRGBfromLinearRGB Man page
erythemalSpectrum Man page
extradata Man page
extradata<- Man page
extradata<-.colorSpec Man page
extradata.colorSpec Man page
F96T12 Man page
Flea2 Man page
Flea2.RGB Man page
Fluorescents Man page
Fs.5nm Man page
HigherPasserines Man page
Hoya Man page
illuminantE Man page
is.colorSpec Man page
is.regular Man page
is.regular.colorSpec Man page
lensAbsorbance Man page
lightResponsivitySpectra Man page
lightSpectra Man page
linearize Man page
linearize.colorSpec Man page
lms1971 Man page
lms1971.5nm Man page
lms2000 Man page
lms2000.1nm Man page
logging Man page
materialSpectra Man page
mean Man page
mean.colorSpec Man page
metadata Man page
metadata<- Man page
metadata<-.colorSpec Man page
metadata.colorSpec Man page
multiply Man page
multiply.colorSpec Man page
neutralMaterial Man page
normalize Man page
normalize.colorSpec Man page
numSpectra Man page
numSpectra.colorSpec Man page
numWavelengths Man page
numWavelengths.colorSpec Man page
officialXYZ Man page
organization Man page
organization<- Man page
organization<-.colorSpec Man page
organization.colorSpec Man page
photometric Man page
photometric.colorSpec Man page
planckSpectra Man page
plot.colorSpec Man page
plotOptimals3D Man page
plotOptimals3D.colorSpec Man page
plotPatchesRGB Man page
print.colorSpec Man page
probeOptimalColors Man page
probeOptimalColors.colorSpec Man page
product Man page
product.colorSpec Man page
quantity Man page
quantity<- Man page
quantity<-.colorSpec Man page
quantity.colorSpec Man page
radiometric Man page
radiometric.colorSpec Man page
readAllSpectra Man page
readSpectra Man page
readSpectraCGATS Man page
readSpectraControl Man page
readSpectraExcel Man page
readSpectraSpreadsheet Man page
readSpectraXYY Man page
readSpectrumScope Man page
resample Man page
resample.colorSpec Man page
RGBfromXYZ Man page
scanner.ACES Man page
solar.irradiance Man page
specnames Man page
specnames<- Man page
specnames<-.colorSpec Man page
specnames.colorSpec Man page
step.wl Man page
step.wl.colorSpec Man page
subset Man page
subset.colorSpec Man page
summary.colorSpec Man page
theoreticalRGB Man page
type Man page
type.colorSpec Man page
wavelength Man page
wavelength<- Man page
wavelength<-.colorSpec Man page
wavelength.colorSpec Man page
xyz1931 Man page
xyz1931.1nm Man page
xyz1931.5nm Man page
xyz1964 Man page
xyz1964.1nm Man page
xyz1964.5nm Man page

Files

inst
inst/CITATION
inst/COPYRIGHTS
inst/extdata
inst/extdata/cameras
inst/extdata/cameras/Zyla_sCMOS.png
inst/extdata/cameras/Toshiba-TCD2712DG-spectral.png
inst/extdata/cameras/Zyla_sCMOS.txt
inst/extdata/cameras/Flea2-spectral.txt
inst/extdata/cameras/DALSA-Falcon.png
inst/extdata/cameras/FoveonX3.png
inst/extdata/cameras/Falcon-spectral.txt
inst/extdata/cameras/Red-Epic-Dragon.txt
inst/extdata/cameras/FoveonX3.txt
inst/extdata/cameras/orthicon-5820-A.png
inst/extdata/cameras/Plumbicon30mm.txt
inst/extdata/cameras/orthicon-5820-A.txt
inst/extdata/cameras/Flea2-spectral.jpg
inst/extdata/cameras/Red-Epic-Dragon.png
inst/extdata/cameras/plumbicon30mm.png
inst/extdata/cameras/Toshiba-TCD2712DG-spectral.txt
inst/extdata/cameras/Flea2-spectral.png
inst/extdata/stains
inst/extdata/stains/MethylGreenL20.txt
inst/extdata/stains/DABs.txt
inst/extdata/stains/Hematoxylin-C19.txt
inst/extdata/stains/HematoxylinS.txt
inst/extdata/stains/Hematoxylin.txt
inst/extdata/stains/EosinG.txt
inst/extdata/stains/DAB-L20.txt
inst/extdata/stains/Hematoxylin2.txt
inst/extdata/stains/FastRed.txt
inst/extdata/targets
inst/extdata/targets/TCS-RPI.txt
inst/extdata/targets/CRI-TCS.txt
inst/extdata/targets/N130501.txt
inst/extdata/targets/CC_Avg20_spectrum_XYY.txt
inst/extdata/targets/E131102.txt
inst/extdata/targets/TCSforCRI.txt
inst/extdata/targets/CC_Avg30_spectrum_CGATS.txt
inst/extdata/filters
inst/extdata/filters/Hoya.txt
inst/extdata/filters/Midwest-SP700-2014.txt
inst/extdata/filters/Rosco.txt
inst/extdata/scanners
inst/extdata/scanners/SMPTE-ST-2065-2.txt
inst/extdata/action
inst/extdata/action/ActionSpectra.png
inst/extdata/action/BeanPhotosynthesis.txt
inst/extdata/action/Photosynthesis-DIN5031-10.txt
inst/extdata/sources
inst/extdata/sources/NikonE600-NCB11+slide.sp
inst/extdata/sources/Airam-GR8E.txt
inst/extdata/sources/firefly1922.txt
inst/extdata/sources/F96T12-GR8D.txt
inst/extdata/sources/pos1-20x.scope
inst/extdata/sources/Gepe-G-2001-LED.sp
inst/extdata/sources/firefly1922.jpg
inst/extdata/sources/firefly1964.png
inst/extdata/sources/NikonCi-L.full.sp
inst/extdata/sources/firefly1964.txt
inst/extdata/sources/Lumencor-SpectraX.txt
inst/extdata/sources/BlueFlame.txt
inst/extdata/illuminants
inst/extdata/illuminants/daylight2013.txt
inst/extdata/illuminants/A.1nm.txt
inst/extdata/illuminants/D65.5nm.txt
inst/extdata/illuminants/ASTMG173.txt
inst/extdata/illuminants/illuminants.txt
inst/extdata/illuminants/ACDs.5nm.txt
inst/extdata/illuminants/dataCCT.txt
inst/extdata/illuminants/Fs.5nm.txt
inst/extdata/illuminants/daylight1964.txt
inst/extdata/illuminants/D65.1nm.txt
inst/extdata/illuminants/B.txt
inst/extdata/illuminants/sunlight.txt
inst/extdata/illuminants/C.txt
inst/extdata/eyes
inst/extdata/eyes/ciexyz31.csv
inst/extdata/eyes/LensAbsorbance1987.txt
inst/extdata/eyes/lms1971.txt
inst/extdata/eyes/ciexyz31_1.csv
inst/extdata/eyes/xyz1964.5nm.txt
inst/extdata/eyes/xyz1931.5nm.txt
inst/extdata/eyes/ciexyz64.csv
inst/extdata/eyes/Osmia-rufa.png
inst/extdata/eyes/dataCCT.txt
inst/extdata/eyes/BirdEyes.txt
inst/extdata/eyes/Osmia-rufa.txt
inst/extdata/eyes/lms2000.5nm.csv
inst/extdata/eyes/xyz2012.csv
inst/extdata/eyes/ciexyz64_1.csv
inst/extdata/eyes/lms2000.1nm.csv
inst/extdata/eyes/xyz1978.txt
inst/extdata/eyes/scoptic1951.1nm.csv
inst/doc
inst/doc/blueflame.rnw
inst/doc/optimals.R inst/doc/blueflame.R
inst/doc/colorSpec-guide.pdf
inst/doc/gallery.R
inst/doc/gallery.rnw
inst/doc/blueflame.pdf
inst/doc/optimals.pdf
inst/doc/optimals.rnw
inst/doc/lens-aging.R
inst/doc/gallery.pdf
inst/doc/lens-aging.pdf
inst/doc/colorSpec-guide.odt
inst/doc/lens-aging.rnw
tests
tests/test-combo2.txt
tests/undershoot.txt
tests/test-combo1.txt
tests/test-product.R tests/test-inventory.R tests/test-organization.R tests/test-read.R
NAMESPACE
data
data/colorSpec.rda
R
R/colorSpec.calibrate.R R/utils.R R/CGATS.R R/colorSpec.plot.R R/colorSpec.read.R R/colorSpec.product.R R/colorSpec.R
R/sysdata.rda
R/colorSpec.CRI.R R/logging.R R/colorSpec.radiometric.R R/logging-levels.R R/colorSpec.photometric.R R/options.R R/basic.R R/colorSpec.comp.R R/colorSpec.CCT.R R/colorSpec.optimal.R R/interp.R R/colorSpec.daylight.R R/colorSpec.ops.R R/colorSpec.summary.R R/datasets.R
vignettes
vignettes/1200px-Spectrum_of_blue_flame_-_intensity_corrected.png
vignettes/optimals.bib
vignettes/blueflame.bib
vignettes/blueflame.rnw
vignettes/gallery.bib
vignettes/lens-aging.bib
vignettes/CIExy1931_AdobeRGB_vs_sRGB.jpg
vignettes/gallery.rnw
vignettes/optimals.rnw
vignettes/lens-aging.rnw
vignettes/optimal-help.R
MD5
build
build/vignette.rds
DESCRIPTION
ChangeLog
man
man/lightResponsivitySpectra.Rd man/daylight.Rd man/computeCRI.Rd man/radiometric.Rd man/lms1971.Rd man/logging.Rd man/photometric.Rd man/mean.Rd man/displayRGB.Rd man/wavelength.Rd man/HigherPasserines.Rd man/Hoya.Rd man/metadata.Rd man/materialSpectra.Rd man/applyspec.Rd man/computeADL.Rd man/bind.Rd man/colorSpec.Rd man/convolvewith.Rd man/plotPatchesRGB.Rd man/options.Rd man/scanner.Rd man/resample.Rd man/quantity.Rd man/officialXYZ.Rd man/colorSpec-package.Rd man/extradata.Rd man/lightSpectra.Rd man/readSpectra.Rd man/organization.Rd man/theoreticalRGB.Rd man/coredata.Rd man/plotOptimals.Rd man/multiply.Rd man/D50.Rd man/linearize.Rd man/solar.irradiance.Rd man/ABC.Rd man/Flea2.Rd man/Fluorescents.Rd man/chop.Rd man/standardRGB.Rd man/probeOptimalColors.Rd man/product.Rd man/print.Rd man/lms2000.Rd man/D65.Rd man/xyz1964.Rd man/plot.Rd man/xyz1931.Rd man/subset.Rd man/F96T12.Rd man/specnames.Rd man/computeCCT.Rd man/calibrate.Rd
.Rinstignore

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.