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.

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)

Files in this package

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