Learn R Programming

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

colorscience (version 1.0.0)

Color Science methods and data

Description

Methods and data for color science - color conversions by observer, illuminant and gamma. Color matching functions and chromaticity diagrams. Color indices, color differences and spectral data conversion/analysis.

Copy Link

Version

Install

install.packages('colorscience')

Monthly Downloads

932

Version

1.0.0

License

GPL (>= 3)

Maintainer

Jos Gama

Last Published

July 18th, 2014

Functions in colorscience (1.0.0)

HunterLab2XYZ

Convert HunterLab coordinates to XYZ
LCHab2Lab

Convert LCHab coordinates to CIE Lab
RGB2YUV

Convert RGB coordinates to YUV
CIE1931XYZ2CIE1960uv

Convert CIE 1931 XYZ color space to CIE 1960 uv color space
rgb2dklV

convert RGB to DKL
CIE1976chroma

CIE 1976 chroma formula for CIELab and CIELuv
RGB2YIQ

Convert RGB coordinates to YIQ
Lab2LCHab

Convert CIE Lab coordinates to LCHab
MunsellHues

Table with Munsell Hues
ASTM.D1925.YellownessIndex

ASTM D 1925 Yellowness Index for Plastics
WestlandBlacknessIndex

Westland, et al. blackness index
XYZ2BVR

convert from XYZ coordinates to BVR
CMY2RGB

Convert CMYK coordinates to RGB
CIE.Whiteness

CIE Whiteness
HSL2RGB

Convert HSL coordinates to RGB
Berger59.Whiteness

Berger (59) Whiteness
CCT2XYZ

Convert CCT to XYZ
GanzGrieser.Tint

Ganz and Grieser Tint
Luv2LCHuv

Convert CIE Luv coordinates to LCHuv
CIE1976uv2CIE1960uv

CIE-1976 u'v' to CIE-1960 uv
DIN6167.YellownessIndex

CIE Whiteness
CIE1976hueangle

CIE 1976 hue angle formula for CIELab and CIELuv
MaxChromasForStandardMunsellHuesAndValues

Table with maximum Munsell chroma, for a given Munsell hue and value, for which an extrapolated renotation value is available
CMYK2CMY

Convert CMYK coordinates to CMY
MaxChromaFromExtrapRenotationData

Table with maximum chroma for which extrapolated renotation data is available
CIE1931xy2CIE1976uv

Convert CIE 1931 xy color space to CIE 1976 uv color space
LMS2XYZ

Convert LMS coordinates to XYZ
HSV2RGB

Convert HSV coordinates to RGB
CMY2CMYK

Convert CMY coordinates to CMYK
CIE1976uvSaturation

CIE 1976 uv Saturation
Hue.2.RGB

Convert Hue to RGB
Hunter60.WhitenessIndex

Hunter 60 Whiteness Index
RGB2LEF

Convert RGB coordinates to LEF
Luv2Yuv

Convert CIE Luv coordinates to Yuv
DominantWavelength

Convert CMY coordinates to CMYK
LEF2RGB

Convert LEF coordinates to RGB
MunsellV2relativeLuminanceY

Munsell value V to relative luminance Y
MaterialReferenceData

Material Reference Data from Principles of Digital Image Synthesis
CIE1931xy2CIE1960uv

Convert CIE 1931 xy color space to CIE 1960 uv color space
RxRyRz2XYZ

convert from three filter measurements (reflectance factors) to XYZ
CIETint

Tint indices: CIE Tint and ASTM E313 Tint
TCSdata

The spectral reflectance data of 14 color test samples for CRI
RGB2LSLM

Convert RGB coordinates to LSLM
CIEluminanceY2NCSblackness

approximated NCS blackness s by the CIE luminance factor Y
CIE1931XYZ2CIE1976uv

Convert CIE 1931 XYZ color space to CIE 1976 uv color space
XYZ2Yuv

convert from XYZ coordinates to Yuv coordinates
Lab2XYZ

Convert CIE Lab coordinates to XYZ
YUV2RGB

Convert YUV coordinates to RGB
ISObrightnessReflectometerRSD

Weighting factors for the calculation of ISO brightness
illuminants

Relative spectral power distributions of CIE illuminants at 5 nm interval
dkl2dklCart

converts between spherical and cartesian coordinates for DKL
Munsell100hues55FM100

Munsell 100-Hues at 5/5, production numbers 101 to 200 and Farnsworth-Munsell 100 Hue test
MunsellNeutrals2sRGB

Table with Munsell Neutrals and corresponding sRGB
conversionLuminance

Conversion Factors for Units of Luminance
RGB2PhotoYCC

Convert RGB coordinates to PhotoYCC
spectra2XYZ

convert spectral data to tristimulus values
XYZ2HunterLab

convert from XYZ coordinates to Hunter Lab coordinates
Yuv2xy

convert from Yuv coordinates to xy coordinates
RGB2YCbCr

Convert RGB coordinates to YCbCr
DIN99toCIELab

Conversion from DIN99 coordinates to CIELAB color space
YPbPr2RGB

Convert YCbCr coordinates to RGB
XYZ2RGB

convert from XYZ coordinates to CIE RGB coordinates
ciexyz64

CIE 1964 10-deg, XYZ CMFs
illuminantA

Relative spectral power distributions of CIE illuminant A at 1 nm interval
sprague

Interpolates an n by w matrix of spectra, sprague
PreucilPercentGreyness

Preucil Percentage of Greyness
Y2MunsellVtable1D1535

CIE XYZ "Y" to Munsell value formula, based on the ASTM Standard D1535-08
XYZ2RxRyRz

convert from XYZ to three filter measurements (reflectance factors)
createIsoTempLinesTable

table of isotemperature lines for use with the Robertson Method
ChromaticAdaptation

Chromatic adaptation algorithms
LMS2RGB

Convert LMS coordinates to RGB
XYZ2Luv

convert from XYZ coordinates to CIE Luv coordinates
RGB2XYZ

Convert sRGB coordinates to XYZ
illuminantD65

Relative spectral power distributions of CIE illuminant D65 at 1 nm interval
compuphaseDifferenceRGB

compuphase Difference RGB
xFit_1931

Approximations from wavelengths to XYZ by Wyman et al
xy2CCT.HernandezAndres

convert from chromaticity coordinates to correlated color temperature (Hernandez Andres)
conversionIlluminance

Conversion Factors for Units of Illuminance
Luv2XYZ

Convert CIE Luv coordinates to XYZ
XYZTannenbaum1974

Approximations from wavelengths to XYZ by Tannenbaum 1974
huedegree

convert Munsell hue to degree
Stensby68.Whiteness

Stensby Whiteness
Yxy2Yuv

convert from Yxy coordinates to Yuv coordinates
RGB2HSL

Convert RGB coordinates to HSL
xyChromaticitiesVos1978

x, y coordinates transformed to Judd (1951) x', y' system
ASTM.E313.Whiteness

ASTM E313 Whiteness
daylightcomponents

daylight components
Taube60.Whiteness

Taube Whiteness
XYZ2xyY

convert from XYZ coordinates to xyY coordinates
MunsellSpectral

Table with Munsell spectral data
RGB2hue

Convert sRGB coordinates to hue
Yxy2CIE1960UCS

convert from Yxy coordinates to CIE 1960 UCS
CIE1976uv2CIE1931xy

CIE-1976 u'v' to CIE-1931 xy
deltaE1976

Delta E (CIE 1976)
spectra2ISObrightness

Diffuse blue reflectance factor (ISO brightness)
deltaECMC

Delta E CMC
heuristic.wlnm2RGB

Approximations from wavelengths to RGB
CIE1960UCS2xy

Convert CIE 1960 UCS color space to 1960 xy color space
GanzGrieser.Whiteness

Ganz and Grieser Whiteness
deltaE2000

Delta E (CIE 2000)
ASTM.E313.YellownessIndex

ASTM E313 Yellowness
LCHuv2Luv

Convert LCHuv coordinates to CIE Luv
wlnm2XYZ

Approximates wavelength to CIE tristimulus XYZ
saturationCIECAM02

saturation CIECAM 2002
spectra2CCT

Correlated Color Temperature (CCT) from spectra
XYZ2LMS

Convert XYZ coordinates to LMS
CIE1960UCS2CIE1964

Convert CIE 1960 UCS color space to CIE 1964 color space
CIE1931XYZ2CIE1931xyz

Convert CIE 1931 XYZ color space to CIE 1931 xyz color space
whitepointsRGB

Primaries for RGB color spaces
dkl2rgb

convert RGB to DKL
PreucilAngle

Preucil Angle
CIELabtoDIN99

Conversion from CIELAB color space to DIN99 coordinates
PreucilPercentHueError

Preucil Percentage of Greyness
saturationCIELUV

CIELUV/CIELAB saturation
whitepointsilluminants

White points of standard illuminants
Munsell100hues55

Chromaticity diagram showing values for x and y for Illuminant A for 100 hues at 5/5
MunsellV2Y

Munsell value to CIE XYZ "Y"
emittanceblackbodyPlanck

emittance of a black body of temperature T at a given wavelength
saturationCIELABEvaLubbe

CIELAB saturation (Eva Lubbe)
PhotoYCC2RGB

Convert PhotoYCC to RGB
RGB2LMS

Convert RGB coordinates to LMS
LSLM2RGB

Convert LSLM coordinates to RGB
spectra2lux

Illuminance (Lux) from spectra
RGB2CMY

Convert sRGB coordinates to CMY
RGB2HSV

Convert RGB coordinates to HSV
XYZ2CCT.Robertson

convert from chromaticity coordinates to correlated color temperature (Robertson)
NickersonColorDifference

Nickerson Color Difference
YIQ2RGB

Convert YIQ coordinates to RGB
YCbCr2RGB

Convert YCbCr coordinates to RGB
StearnsStearnscorrection

Stearns and Stearns correction
tristimulusMunsell

434 Munsell colors with tristimulus and CMFs for a few illuminants
Yuv2XYZ

convert from Yuv coordinates to XYZ coordinates
RGB2YPbPr

Convert RGB coordinates to YPbPr
XYZ2Lab

convert from XYZ coordinates to CIE Lab coordinates
ciexyz31

CIE 1931 2-deg, XYZ CMFs
XYZMoonSpencer1945

Approximations from wavelengths to XYZ by Moon & Spencer
Yuv2Luv

Convert Yuv coordinates to Luv
cccie64

CIE (1964) 10-deg chromaticity coordinates
deltaE1994

Delta E (CIE 1994)
kelvin2xy

Blackbody radiator color temperature to CIE 1931 x,y chromaticity approximation function
spectra2CRIGAIFSCI

CRI, GAI and FSCI from spectra
Adjust

Internal colorscience functions
Y2MunsellV

CIE XYZ "Y" to Munsell value
cccie31

CIE (1931) 2-deg chromaticity coordinates
XYZperfectreflectingdiffuser

Perfect reflecting diffuser data
huedegreemunsell

Table with Munsell hue degrees
xy2CCT.McCamy

convert from chromaticity coordinates to correlated color temperature
xyY2XYZ

Convert CIE CMF to XYZ