Title: | 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. This package is deprecated and will someday be removed; for reasons and details please see the README file. |
Authors: | Jose Gama [aut], Glenn Davis [aut, cre] |
Maintainer: | Glenn Davis <[email protected]> |
License: | GPL (>= 3) |
Version: | 1.0.9 |
Built: | 2025-01-26 06:12:40 UTC |
Source: | https://github.com/cran/colorscience |
ASTM.D1925.YellownessIndex
was developed for the definition
of the Yellowness of homogeneous, non-fluorescent, almost neutral-transparent,
white-scattering or opaque plastics as they will be reviewed under daylight
condition.
ASTM.D1925.YellownessIndex(XYZmatrix)
ASTM.D1925.YellownessIndex(XYZmatrix)
XYZmatrix |
tri-stimulus values for the calculated for illuminant C |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
XYZ<-c(0.1146538, 0.08391198, 0.08222077) ASTM.D1925.YellownessIndex(XYZ)
XYZ<-c(0.1146538, 0.08391198, 0.08222077) ASTM.D1925.YellownessIndex(XYZ)
ASTM.E313.Whiteness
ASTM E313 Whiteness.
ASTM.E313.Whiteness(XYZmatrix)
ASTM.E313.Whiteness(XYZmatrix)
XYZmatrix |
tri-stimulus values for the calculated for illuminant C |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
XYZ<-c(0.1146538, 0.08391198, 0.08222077) ASTM.E313.Whiteness(XYZ)
XYZ<-c(0.1146538, 0.08391198, 0.08222077) ASTM.E313.Whiteness(XYZ)
ASTM.E313.YellownessIndex
ASTM E313 has successfully been
used for a variety of white or near white materials.
ASTM.E313.YellownessIndex(XYZmatrix)
ASTM.E313.YellownessIndex(XYZmatrix)
XYZmatrix |
tri-stimulus values for the calculated for illuminant C |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
XYZ<-c(0.1146538, 0.08391198, 0.08222077) ASTM.E313.YellownessIndex(XYZ)
XYZ<-c(0.1146538, 0.08391198, 0.08222077) ASTM.E313.YellownessIndex(XYZ)
Berger59.Whiteness
formula was developed by
A. Berger (formerly employee of Bayer AG, Germany and was presented in 1959.
Berger59.Whiteness(xyYmatrix, illuminant = "C", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Berger59.Whiteness(xyYmatrix, illuminant = "C", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
xyYmatrix |
CIE values for illuminant C |
illuminant |
illuminant |
observer |
observer |
RefWhite |
White Reference |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
xyY <- c(0.4083308, 0.2988462, 0.08391198) Berger59.Whiteness(xyY)
xyY <- c(0.4083308, 0.2988462, 0.08391198) Berger59.Whiteness(xyY)
BVR2XYZ
convert from BVR coordinates to XYZ.
BVR2XYZ(BVRmatrix)
BVR2XYZ(BVRmatrix)
BVRmatrix |
BVR coordinates |
XYZ coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
cccie31
is a table with CIE (1931) 2-deg
chromaticity coordinates.
cccie31
cccie31
This data frame contains the following data:
wavelength (nm)
x chromaticity coordinate
y chromaticity coordinate
z chromaticity coordinate
Jose Gama
Commission Internationale de l'Eclairage Proceedings, 1931 Cambridge: Cambridge University Press.
Commission Internationale de l'Eclairage Proceedings, 1931 Cambridge: Cambridge University Press.
data(cccie31) cccie31
data(cccie31) cccie31
cccie64
is a table with CIE (1964) 10-deg
chromaticity coordinates.
cccie64
cccie64
This data frame contains the following data:
wavelength (nm)
x chromaticity coordinate
y chromaticity coordinate
z chromaticity coordinate
Jose Gama
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
data(cccie64) cccie64
data(cccie64) cccie64
CCT2XYZ
Converts correlated color temperature (CCT) to
CIE tristimulus XYZ.
CCT2XYZ(CCTmatrix)
CCT2XYZ(CCTmatrix)
CCTmatrix |
CCT values |
CIE tristimulus XYZ
Jose Gama
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com/
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com/
CCT2XYZ(c(0.310897, 0.306510, 74.613450))
CCT2XYZ(c(0.310897, 0.306510, 74.613450))
CentralsISCCNBS
is a table with Central notations
for the revised ISCC-NBS Color-Name Blocks.
CentralsISCCNBS
CentralsISCCNBS
This data frame contains the following data:
notation number
notation name
Munsell specification
Glenn Davis
Kelly, Kenneth Low, 1910 Central notations for the revised ISCC-NBS Color-Name Blocks Journal of Research of the National Bureau of Standards Research Paper 2911, Vol. 61 No. 5, November 1958
data(CentralsISCCNBS) CentralsISCCNBS
data(CentralsISCCNBS) CentralsISCCNBS
CheckColorLookup
Checks that the color block number is correct.
CheckColorLookup(DataISCCNBS)
CheckColorLookup(DataISCCNBS)
DataISCCNBS |
data.frame with columns MunsellSpec and Number |
logic
Glenn Davis
ChromaticAdaptation
chromatic adaptation algorithms
implemented as a linear transformation (XYZ Scaling, Bradford and Von Kries).
ChromaticAdaptation
ChromaticAdaptation
This array frame contains the following dimensions:
rows transformation matrix 3x3
columns transformation matrix 3x3
linear transformation (XYZ Scaling, Bradford or Von Kries)
transformation "direct" or "inverse"
Jose Gama
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com/
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com/
data(ChromaticAdaptation) ChromaticAdaptation
data(ChromaticAdaptation) ChromaticAdaptation
chromaticity.diagram
Plots the chromaticity diagram AKA
"horse shoe".
chromaticity.diagram(chromaticityCoordinates=get("cccie31", envir = environment()), conversionFunction=NULL,...)
chromaticity.diagram(chromaticityCoordinates=get("cccie31", envir = environment()), conversionFunction=NULL,...)
chromaticityCoordinates |
chromaticity coordinates |
conversionFunction |
optional function to perform the coordinate conversion |
... |
optional parameters for the plot command |
none
Jose Gama
chromaticity.diagram() xl<-yl<-0:1 chromaticity.diagram(xlim=xl,ylim=yl) chromaticity.diagram(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl,ylim=yl, xlab="u'",ylab="v'")
chromaticity.diagram() xl<-yl<-0:1 chromaticity.diagram(xlim=xl,ylim=yl) chromaticity.diagram(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl,ylim=yl, xlab="u'",ylab="v'")
chromaticity.diagram.color
Plots the chromaticity diagram
AKA "horse shoe", as a black line, a color line or a polygon.
chromaticity.diagram.color(chromaticityCoordinates=get("cccie31", envir = environment()), conversionFunction=NULL, granularity=10, ...)
chromaticity.diagram.color(chromaticityCoordinates=get("cccie31", envir = environment()), conversionFunction=NULL, granularity=10, ...)
chromaticityCoordinates |
chromaticity coordinates |
conversionFunction |
optional function to perform the coordinate conversion |
granularity |
granularity = number of calculated points |
... |
optional parameters for the plot command |
none
Jose Gama
chromaticity.diagram.color() xl<-yl<-0:1 chromaticity.diagram.color(xlim=xl,ylim=yl) chromaticity.diagram.color(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl, ylim=yl,xlab="u'",ylab="v'")
chromaticity.diagram.color() xl<-yl<-0:1 chromaticity.diagram.color(xlim=xl,ylim=yl) chromaticity.diagram.color(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl, ylim=yl,xlab="u'",ylab="v'")
CIE.Whiteness
The CIE Whiteness index is widely used
in the industry for D65 for 2 or 10 deg observer.
CIE.Whiteness(xyYmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
CIE.Whiteness(xyYmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
xyYmatrix |
xyY data |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
xyY <- c(0.4083308, 0.2988462, 0.08391198) CIE.Whiteness(xyY)
xyY <- c(0.4083308, 0.2988462, 0.08391198) CIE.Whiteness(xyY)
CIE1931xy2CIE1960uv
Converts CIE 1931 xy color space
to CIE 1960 uv color space.
CIE1931xy2CIE1960uv(xymatrix)
CIE1931xy2CIE1960uv(xymatrix)
xymatrix |
xy coordinates |
CIE 1960 uv coordinates
Jose Gama
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
xyY <- cbind(0.4083308, 0.2988462, 0.08391198) CIE1931xy2CIE1960uv(xyY)
xyY <- cbind(0.4083308, 0.2988462, 0.08391198) CIE1931xy2CIE1960uv(xyY)
CIE1931xy2CIE1976uv
Converts CIE 1931 xy color space
to CIE 1976 uv color space.
CIE1931xy2CIE1976uv(xymatrix)
CIE1931xy2CIE1976uv(xymatrix)
xymatrix |
xy coordinates |
CIE 1976 uv coordinates
Jose Gama
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
xyY <- cbind(0.4083308, 0.2988462, 0.08391198) CIE1931xy2CIE1976uv(xyY)
xyY <- cbind(0.4083308, 0.2988462, 0.08391198) CIE1931xy2CIE1976uv(xyY)
CIE1931XYZ2CIE1931xyz
Converts CIE 1931 XYZ color space
to CIE 1931 xyz color space.
CIE1931XYZ2CIE1931xyz(XYZmatrix)
CIE1931XYZ2CIE1931xyz(XYZmatrix)
XYZmatrix |
XYZ coordinates |
CIE 1931 xyz coordinates
Jose Gama
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIE1931XYZ2CIE1931xyz(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIE1931XYZ2CIE1931xyz(XYZ)
CIE1931XYZ2CIE1960uv
Converts CIE 1931 XYZ color space
to CIE 1960 uv color space.
CIE1931XYZ2CIE1960uv(XYZmatrix)
CIE1931XYZ2CIE1960uv(XYZmatrix)
XYZmatrix |
XYZ coordinates |
CIE 1960 uv coordinates
Jose Gama
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIE1931XYZ2CIE1960uv(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIE1931XYZ2CIE1960uv(XYZ)
CIE1931XYZ2CIE1976uv
Converts CIE 1931 XYZ color space
to CIE 1976 uv color space.
CIE1931XYZ2CIE1976uv(XYZmatrix)
CIE1931XYZ2CIE1976uv(XYZmatrix)
XYZmatrix |
XYZ coordinates |
CIE 1976 uv coordinates
Jose Gama
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIE1931XYZ2CIE1976uv(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIE1931XYZ2CIE1976uv(XYZ)
CIE1960UCS2CIE1964
Converts CIE 1960 UCS color space
to CIE 1964 color space.
CIE1960UCS2CIE1964(uvYmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
CIE1960UCS2CIE1964(uvYmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
uvYmatrix |
uvY data |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
CIE 1976 uv coordinates
Jose Gama
Wikipedia, 2014 CIE 1964 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
CIE1960UCS2CIE1964(c(0.1633789, 1.322222, 0.08391198))
CIE1960UCS2CIE1964(c(0.1633789, 1.322222, 0.08391198))
CIE1960UCS2xy
Converts CIE 1960 UCS color space
to 1960 xy color space.
CIE1960UCS2xy(uvMatrix)
CIE1960UCS2xy(uvMatrix)
uvMatrix |
uv coordinates |
CIE 1960 xy coordinates
Jose Gama
Wikipedia, 2014 CIE 1964 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Wikipedia, 2014 CIE 1931 color space https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
CIE1960UCS2xy(c(0.1633789, 1.322222 ))
CIE1960UCS2xy(c(0.1633789, 1.322222 ))
CIE1976chroma
CIE 1976 chroma formula for CIELab and CIELuv.
CIE1976chroma(CIELMatrix)
CIE1976chroma(CIELMatrix)
CIELMatrix |
CIELab or CIELuv data |
Jose Gama
R. W. G. Hunt, M. R. Pointer, 2011 Measuring Colour Volume 23 of The Wiley-IS&T Series in Imaging Science and Technology John Wiley & Sons
R. W. G. Hunt, M. R. Pointer, 2011 Measuring Colour Volume 23 of The Wiley-IS&T Series in Imaging Science and Technology John Wiley & Sons
CIELMatrix<-c(34.78467, 28.15159, 3.024663) CIE1976chroma(CIELMatrix)
CIELMatrix<-c(34.78467, 28.15159, 3.024663) CIE1976chroma(CIELMatrix)
CIE1976hueangle
CIE 1976 hue angle formula for CIELab and CIELuv.
CIE1976hueangle(CIELMatrix)
CIE1976hueangle(CIELMatrix)
CIELMatrix |
CIELab or CIELuv data |
Jose Gama
R. W. G. Hunt, M. R. Pointer, 2011 Measuring Colour Volume 23 of The Wiley-IS&T Series in Imaging Science and Technology John Wiley & Sons
R. W. G. Hunt, M. R. Pointer, 2011 Measuring Colour Volume 23 of The Wiley-IS&T Series in Imaging Science and Technology John Wiley & Sons
CIELMatrix<-c(34.78467, 28.15159, 3.024663) CIE1976hueangle(CIELMatrix)
CIELMatrix<-c(34.78467, 28.15159, 3.024663) CIE1976hueangle(CIELMatrix)
CIE1976uv2CIE1931xy
CIE-1976 u'v' to CIE-1931 xy.
CIE1976uv2CIE1931xy(uvmatrix)
CIE1976uv2CIE1931xy(uvmatrix)
uvmatrix |
CIE-1976 u'v' data |
Jose Gama
Paul Schils, 2014 Color theory phenomena http://www.color-theory-phenomena.nl/10.03.htm
Paul Schils, 2014 Color theory phenomena http://www.color-theory-phenomena.nl/10.03.htm
CIE1976uv2CIE1931xy(c(0.2830965, 0.4661789))
CIE1976uv2CIE1931xy(c(0.2830965, 0.4661789))
CIE1976uv2CIE1960uv
CIE-1976 u'v' to CIE-1960 uv.
CIE1976uv2CIE1960uv(uvmatrix)
CIE1976uv2CIE1960uv(uvmatrix)
uvmatrix |
CIE-1976 u'v' data |
Jose Gama
Paul Schils, 2014 Color theory phenomena http://www.color-theory-phenomena.nl/10.03.htm
Paul Schils, 2014 Color theory phenomena http://www.color-theory-phenomena.nl/10.03.htm
CIE1976uv2CIE1960uv(c(0.2830965, 0.4661789))
CIE1976uv2CIE1960uv(c(0.2830965, 0.4661789))
CIE1976uvSaturation
CIE 1976 uv Saturation.
CIE1976uvSaturation(uvMatrix, whitepoint)
CIE1976uvSaturation(uvMatrix, whitepoint)
uvMatrix |
CIELuv data |
whitepoint |
white point |
Jose Gama
R. W. G. Hunt, M. R. Pointer, 2011 Measuring Colour Volume 23 of The Wiley-IS&T Series in Imaging Science and Technology John Wiley & Sons
R. W. G. Hunt, M. R. Pointer, 2011 Measuring Colour Volume 23 of The Wiley-IS&T Series in Imaging Science and Technology John Wiley & Sons
CIE1976uvSaturation(cbind(34.78467, 28.15159, 3.024663), as.numeric( get("XYZperfectreflectingdiffuser", envir = environment())[which(get("XYZperfectreflectingdiffuser", envir = environment())[["Illuminant"]]=='C'),c('X2','Y2')]))
CIE1976uvSaturation(cbind(34.78467, 28.15159, 3.024663), as.numeric( get("XYZperfectreflectingdiffuser", envir = environment())[which(get("XYZperfectreflectingdiffuser", envir = environment())[["Illuminant"]]=='C'),c('X2','Y2')]))
CIELabtoDIN99
Converts from CIELAB color space to DIN99
coordinates.
CIELabtoDIN99(Lab)
CIELabtoDIN99(Lab)
Lab |
CIELAB |
DIN99
Jose Gama
CIELAB to DIN99 coordinates, 2014 https://de.wikipedia.org/w/index.php?title=Diskussion:DIN99-Farbraum
CIELAB to DIN99 coordinates, 2014 https://de.wikipedia.org/w/index.php?title=Diskussion:DIN99-Farbraum
CIELabtoDIN99(c(0.310897, 0.306510, 74.613450))
CIELabtoDIN99(c(0.310897, 0.306510, 74.613450))
CIEluminanceY2NCSblackness
approximated NCS blackness s
by the CIE luminance factor Y.
CIEluminanceY2NCSblackness(Y)
CIEluminanceY2NCSblackness(Y)
Y |
CIE values for illuminant C |
Jose Gama
Hsien-Che Lee, 2005 Introduction to Color Imaging Science Cambridge University Press pp. 366
Hsien-Che Lee, 2005 Introduction to Color Imaging Science Cambridge University Press pp. 366
xyY <- c(0.4083308, 0.2988462, 0.08391198) CIEluminanceY2NCSblackness(xyY[3])
xyY <- c(0.4083308, 0.2988462, 0.08391198) CIEluminanceY2NCSblackness(xyY[3])
CIETint
Tint indices: CIE Tint and ASTM E313 Tint.
CIETint(xymatrix,illuminant='D65',observer=2)
CIETint(xymatrix,illuminant='D65',observer=2)
xymatrix |
matrix with xy data |
illuminant |
illuminant |
observer |
observer |
Tint
Jose Gama
CIE, 2004 CIE Publication 15:2004, "Colorimetry" ASTM E313, "Standard Practice for Calculating Yellowness and Whiteness Indices from Instrumentally Measured Color Coordinates"
CIE, 2004 CIE Publication 15:2004, "Colorimetry" ASTM E313, "Standard Practice for Calculating Yellowness and Whiteness Indices from Instrumentally Measured Color Coordinates"
xyY <- c(0.4083308, 0.2988462, 0.08391198) CIETint(xyY)
xyY <- c(0.4083308, 0.2988462, 0.08391198) CIETint(xyY)
ciexyz31
is a table with CIE 1931 2-deg, XYZ
color matching functions.
ciexyz31
ciexyz31
This data frame contains the following data:
wavelength (nm)
x CMF
y CMF
z CMF
Jose Gama
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
data(ciexyz31) ciexyz31
data(ciexyz31) ciexyz31
ciexyz64
is a table with CIE 1964 10-deg, XYZ
color matching functions.
ciexyz64
ciexyz64
This data frame contains the following data:
wavelength (nm)
x CMF
y CMF
z CMF
Jose Gama
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
data(ciexyz64) ciexyz64
data(ciexyz64) ciexyz64
CMY2CMYK
Converts CMY coordinates to CMYK.
CMY2CMYK(CMYmatrix)
CMY2CMYK(CMYmatrix)
CMYmatrix |
CMY coordinates |
CMYK coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
CMY2CMYK(c(0.59072, 0.85570, 0.80283))
CMY2CMYK(c(0.59072, 0.85570, 0.80283))
CMY2RGB
Converts CMYK coordinates to RGB.
CMY2RGB(CMYmatrix)
CMY2RGB(CMYmatrix)
CMYmatrix |
CMY coordinates |
RGB coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
CMY2RGB(c(0.310897, 0.306510, 74.613450))
CMY2RGB(c(0.310897, 0.306510, 74.613450))
CMYK2CMY
Converts CMYK coordinates to CMY.
CMYK2CMY(CMYKmatrix)
CMYK2CMY(CMYKmatrix)
CMYKmatrix |
CMYK coordinates |
CMY coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
CMYK2CMY(c(.342, .768, .683, .378))
CMYK2CMY(c(.342, .768, .683, .378))
ColorBlockFromMunsell
Get HVC, ISCC-NBS Number
and ISCC-NBS Name from Munsell notation.
ColorBlockFromMunsell(HVC)
ColorBlockFromMunsell(HVC)
HVC |
Munsell hue, value and chroma |
Munsell hue, on the ASTM D1535 100 point circular scale. All values are valid.
Munsell value, must be between 0 and 10
Munsell chroma, must be non-negative
HVC, ISCC-NBS Number, ISCC-NBS Name
Glenn Davis
compuphaseDifferenceRGB
compuphase Difference RGB.
compuphaseDifferenceRGB(RGB1, RGB2)
compuphaseDifferenceRGB(RGB1, RGB2)
RGB1 |
RGB color sample |
RGB2 |
RGB color reference |
Delta E
Jose Gama
Thiadmer Riemersma, 2012 CompuPhase https://www.compuphase.com/cmetric.htm
Thiadmer Riemersma, 2012 CompuPhase https://www.compuphase.com/cmetric.htm
compuphaseDifferenceRGB(c(124,63,78),c(241,65,78))
compuphaseDifferenceRGB(c(124,63,78),c(241,65,78))
conversionIlluminance
is a table of conversion factors for units of Illuminance
conversionIlluminance
conversionIlluminance
This data frame contains the following columns:
foot-candles
lm/m2 = lux
phot
milliphot
units
Jose Gama
J. Meyer-Arendt, "Radiometry and Photometry: Units and Conversion Factors," Appl. Opt. 7, 2081-2081 (1968).
J. Meyer-Arendt, "Radiometry and Photometry: Units and Conversion Factors," Appl. Opt. 7, 2081-2081 (1968).
data(conversionIlluminance) conversionIlluminance
data(conversionIlluminance) conversionIlluminance
conversionLuminance
is a table of conversion factors for units of Luminance
conversionLuminance
conversionLuminance
This data frame contains the following columns:
cd/m^2 = nit
cd/cm^2 = stilb
cd/ft^2
cd/in^2
apostilb = blondel
millilambert
foot-lambert
Jose Gama
J. Meyer-Arendt, "Radiometry and Photometry: Units and Conversion Factors," Appl. Opt. 7, 2081-2081 (1968).
J. Meyer-Arendt, "Radiometry and Photometry: Units and Conversion Factors," Appl. Opt. 7, 2081-2081 (1968).
data(conversionLuminance) conversionLuminance
data(conversionLuminance) conversionLuminance
createIsoTempLinesTable
table of isotemperature lines for
use with the Robertson Method (Robertson, 1968) to interpolate isotemperature
lines from the CIE 1960 UCS.
createIsoTempLinesTable(SPD=NA,CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata", envir = environment()))
createIsoTempLinesTable(SPD=NA,CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata", envir = environment()))
SPD |
light source spd |
CIETable |
reference data values |
TCS |
spectral reflectance data of 14 color test samples for CRI |
Iso temperature lines table
Jose Gama
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
# illuminant A SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm isoTempLinesTable <- createIsoTempLinesTable(SPD)
# illuminant A SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm isoTempLinesTable <- createIsoTempLinesTable(SPD)
daylightcomponents
table with the mean relative spectral
radiant power distribution and first two eigenvectors for the CIE method of
calculating daylight.
This data frame contains the following columns:
wavelength in nm
mean relative spectral radiant power distribution
first eigenvector
second eigenvector
Jose Gama
Wyszecki, G. and Stiles, W.S., 1982 Color Science: Concepts and Methods, Quantitative data and formulae. John Wiley & Sons.
Wyszecki, G. and Stiles, W.S., 1982 Color Science: Concepts and Methods, Quantitative data and formulae. John Wiley & Sons.
data(daylightcomponents) str(daylightcomponents)
data(daylightcomponents) str(daylightcomponents)
deltaE1976
The color difference Delta E (CIE 1976).
deltaE1976(Lab1, Lab2)
deltaE1976(Lab1, Lab2)
Lab1 |
CIE Lab color sample |
Lab2 |
CIE Lab color reference |
Delta E
Jose Gama
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaE1976(RGB1,RGB2)
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaE1976(RGB1,RGB2)
deltaE1994
The color difference Delta E (CIE 1994).
deltaE1994(Lab1, Lab2, textiles = FALSE)
deltaE1994(Lab1, Lab2, textiles = FALSE)
Lab1 |
CIE Lab color sample |
Lab2 |
CIE Lab color reference |
textiles |
boolean, TRUE = version for textiles |
Delta E
Jose Gama
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaE1994(RGB1,RGB2)
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaE1994(RGB1,RGB2)
deltaE2000
The color difference Delta E (CIE 2000).
deltaE2000(Lab1, Lab2)
deltaE2000(Lab1, Lab2)
Lab1 |
CIE Lab color sample |
Lab2 |
CIE Lab color reference |
Delta E
Jose Gama
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaE2000(RGB1,RGB2)
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaE2000(RGB1,RGB2)
deltaECMC
The color difference method of the Color
Measurement Committee (the CMC) .
deltaECMC(Lab1, Lab2, L, C)
deltaECMC(Lab1, Lab2, L, C)
Lab1 |
CIE Lab color sample |
Lab2 |
CIE Lab color reference |
L |
parameter L |
C |
parameter C |
Delta E
Jose Gama
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaECMC(RGB1,RGB2)
RGB1<-c(124,63,78) RGB2<-c(95,213,184) deltaECMC(RGB1,RGB2)
DeMarcoPokornySmith2degConeFundamentals1992
DeMarco, Pokorny & Smith (1992) versions of the Smith-Pokorny
2-deg fundamentals based on the CIE Judd-Vos 2-deg CMFs.
DeMarcoPokornySmith2degConeFundamentals1992
DeMarcoPokornySmith2degConeFundamentals1992
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L2(lambda)
M-cone spectral sensitivity, M2(lambda)
S-cone spectral sensitivity, S2(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(DeMarcoPokornySmith2degConeFundamentals1992) DeMarcoPokornySmith2degConeFundamentals1992
data(DeMarcoPokornySmith2degConeFundamentals1992) DeMarcoPokornySmith2degConeFundamentals1992
DIN6167.YellownessIndex
The CIE Whiteness index is widely used
in the industry for D65 for 2 or 10 deg observer.
DIN6167.YellownessIndex(XYZmatrix, illuminant = "C", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
DIN6167.YellownessIndex(XYZmatrix, illuminant = "C", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix |
CIE values for illuminant C |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
Jose Gama
Scandinavian Pulp, paper and board, 2003 Basic equations for optical properties SCAN-G 5:03 Revised 2003
Scandinavian Pulp, paper and board, 2003 Basic equations for optical properties SCAN-G 5:03 Revised 2003
XYZ<-c(0.11465380, 0.08391198, 0.08222077) DIN6167.YellownessIndex(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) DIN6167.YellownessIndex(XYZ)
DIN99toCIELab
Conversion from DIN99 coordinates to
CIELAB color space.
DIN99toCIELab(Lab99o)
DIN99toCIELab(Lab99o)
Lab99o |
Lab99o coordinates |
CIELAB coordinates
Jose Gama
DIN99 coordinates to CIELAB color space https://de.wikipedia.org/w/index.php?title=Diskussion:DIN99-Farbraum
DIN99 coordinates to CIELAB color space https://de.wikipedia.org/w/index.php?title=Diskussion:DIN99-Farbraum
DIN99toCIELab(c(0.59072, 0.85570, 0.80283))
DIN99toCIELab(c(0.59072, 0.85570, 0.80283))
dkl2dklCart
Converts DKL, from spherical coordinates
to cartesian.
dklCart2rgb
Converts DKL, from cartesian to spherical coordinates.
dkl2dklCart(dklMatrix)
dkl2dklCart(dklMatrix)
dklMatrix |
DKL coordinates |
DKL coordinates
Jose Gama
Package psychopy for Python
Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology
Package psychopy for Python
Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology
RGB<-c(124,63,78) d <- rgb2dklCart(RGB) dklCart2dkl(d) dkl2dklCart(c(1.647176, 60.8308, 91.45825)) d
RGB<-c(124,63,78) d <- rgb2dklCart(RGB) dklCart2dkl(d) dkl2dklCart(c(1.647176, 60.8308, 91.45825)) d
dkl2rgb
Converts DKL, spherical coords coordinates to sRGB.
dklCart2rgb
Converts DKL, cartesian coords coordinates to sRGB.
dkl2rgb(dklMatrix, conversionMatrix = NA)
dkl2rgb(dklMatrix, conversionMatrix = NA)
dklMatrix |
DKL coordinates |
conversionMatrix |
conversion matrix |
RGB coordinates
Jose Gama
Package psychopy for Python
Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology
Package psychopy for Python
Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology
dklC <- rgb2dklCart(c(54,75,121)) dklCart2dkl(dklC)
dklC <- rgb2dklCart(c(54,75,121)) dklCart2dkl(dklC)
DominantWavelength
Converts xyY coordinates to wavelength.
DominantWavelength(xyYmatrix, illuminant='D65',observer=2, RefWhiteIllum=get("XYZperfectreflectingdiffuser", envir = environment()))
DominantWavelength(xyYmatrix, illuminant='D65',observer=2, RefWhiteIllum=get("XYZperfectreflectingdiffuser", envir = environment()))
xyYmatrix |
xyY matrix |
illuminant |
illuminant |
observer |
observer |
RefWhiteIllum |
Reference White |
Dominant Wavelength
Jose Gama
Bruce Justin Lindbloom, 2013 http://www.brucelindbloom.com/index.html?ColorCalculator.html
Bruce Justin Lindbloom, 2013 http://www.brucelindbloom.com/index.html?ColorCalculator.html
DominantWavelength(c(0.59072, 0.85570, 0.80283))
DominantWavelength(c(0.59072, 0.85570, 0.80283))
emittanceblackbodyPlanck
emittance of a black body of
temperature T at a given wavelength (in metres).
emittanceblackbodyPlanck(wlnm, T)
emittanceblackbodyPlanck(wlnm, T)
wlnm |
wavelength in nm |
T |
temperature in Kelvin |
emittance
Jose Gama
Planck's radiation law https://en.wikipedia.org/wiki/Planck%27s_law
Planck's radiation law https://en.wikipedia.org/wiki/Planck%27s_law
emittanceblackbodyPlanck(555,2000)
emittanceblackbodyPlanck(555,2000)
footcandle2candela.steradian.sqmeter
converts foot candle to candela steradian / square meter [cd*sr/m^2].
footcandle2candela.steradian.sqmeter(ftcl)
footcandle2candela.steradian.sqmeter(ftcl)
ftcl |
foot candle |
watts / square centimeter
Jose Gama
Translators cafe https://www.translatorscafe.com/unit-converter/en-US/illumination
Translators cafe https://www.translatorscafe.com/unit-converter/en-US/illumination
footcandle2candela.steradian.sqmeter(5)
footcandle2candela.steradian.sqmeter(5)
footcandle2lux
converts foot candle to Lumens/lux.
footcandle2lux(ftcl)
footcandle2lux(ftcl)
ftcl |
foot candle |
Lumens/lux
Jose Gama
Translators cafe https://www.translatorscafe.com/unit-converter/en-US/illumination
Translators cafe https://www.translatorscafe.com/unit-converter/en-US/illumination
footcandle2lux(5)
footcandle2lux(5)
footcandle2watt.sqcentimeter
converts foot candle to watts / square centimeter [w/cm^2] (at 555 nm) .
footcandle2watt.sqcentimeter(ftcl)
footcandle2watt.sqcentimeter(ftcl)
ftcl |
foot candle |
watts / square centimeter
Jose Gama
Translators cafe https://www.translatorscafe.com/unit-converter/en-US/illumination
Translators cafe https://www.translatorscafe.com/unit-converter/en-US/illumination
footcandle2watt.sqcentimeter(5)
footcandle2watt.sqcentimeter(5)
GanzGrieser.Tint
Ganz Grieser Tint Method.
GanzGrieser.Tint(xyYmatrix)
GanzGrieser.Tint(xyYmatrix)
xyYmatrix |
CIE xyY values for illuminant C |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
xyY <- c(0.4083308, 0.2988462, 0.08391198) GanzGrieser.Tint(xyY)
xyY <- c(0.4083308, 0.2988462, 0.08391198) GanzGrieser.Tint(xyY)
GanzGrieser.Whiteness
Dr. E. Ganz (formerly employee of Ciba
AG, Switzerland) and Mr.R. Griesser (formerly employee of J.R.Geigy)
developed the Ganz Grieser Whiteness Method.
GanzGrieser.Whiteness(xyYmatrix)
GanzGrieser.Whiteness(xyYmatrix)
xyYmatrix |
CIE xyY values for illuminant C |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
xyY <- c(0.4083308, 0.2988462, 0.08391198) GanzGrieser.Whiteness(xyY)
xyY <- c(0.4083308, 0.2988462, 0.08391198) GanzGrieser.Whiteness(xyY)
heuristic.wlnm2RGB
Approximations from wavelengths to RGB.
heuristic.wlnm2RGB(wavelength, Gamma = 0.8, IntensityMax = 1)
heuristic.wlnm2RGB(wavelength, Gamma = 0.8, IntensityMax = 1)
wavelength |
wavelength data |
Gamma |
Gamma |
IntensityMax |
maximum intensity |
RGB coordinates
Jose Gama
Dan Bruton's, 2004
http://www.midnightkite.com/color.html
Earl F. Glynn 2006
Delphi conversion
http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm
Dan Bruton's, 2004
http://www.midnightkite.com/color.html
Earl F. Glynn 2006
Delphi conversion
http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm
heuristic.wlnm2RGB(555)
heuristic.wlnm2RGB(555)
HSL2RGB
Converts HSL coordinates to RGB.
HSL2RGB(HSLmatrix)
HSL2RGB(HSLmatrix)
HSLmatrix |
HSL coordinates |
RGB coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
HSL<-c(0.9590164, 0.3262032, 0.3666667) HSL2RGB(HSL) HSL2RGB(rbind(HSL,HSL,HSL,HSL,HSL))
HSL<-c(0.9590164, 0.3262032, 0.3666667) HSL2RGB(HSL) HSL2RGB(rbind(HSL,HSL,HSL,HSL,HSL))
HSV2RGB
Converts HSV coordinates to RGB.
HSV2RGB(HSVmatrix)
HSV2RGB(HSVmatrix)
HSVmatrix |
HSV coordinates |
RGB coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
HSV<-c(0.9590164, 0.4919355, 0.4862745) HSV2RGB(HSV)
HSV<-c(0.9590164, 0.4919355, 0.4862745) HSV2RGB(HSV)
Hue.2.RGB
Converts Hue to RGB for HSL conversion.
Hue.2.RGB(v1, v2, vH)
Hue.2.RGB(v1, v2, vH)
v1 |
value 1 |
v2 |
value 2 |
vH |
value of hue |
RGB coordinates
Jose Gama
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
Hue.2.RGB(1,2,3)
Hue.2.RGB(1,2,3)
huedegree
convert Munsell hue to degree.
huedegree(MunIn)
huedegree(MunIn)
MunIn |
Munsell hue color |
Munsell hue degree
Jose Gama
Takahiro Onodera, 2010
Color-Model-Munsell-Util
http://annocpan.org/dist/Color-Model-Munsell-Util
Takahiro Onodera, 2010
Color-Model-Munsell-Util
http://annocpan.org/dist/Color-Model-Munsell-Util
huedegree('1P')
huedegree('1P')
huedegreemunsell
table with Munsell hue degrees.
huedegreemunsell
huedegreemunsell
This data frame contains the following columns:
hue degree
hue in Munsell H
Jose Gama
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
data(huedegreemunsell) huedegreemunsell
data(huedegreemunsell) huedegreemunsell
Hunter60.WhitenessIndex
Hunter 60 Whiteness Index.
Hunter60.WhitenessIndex(LabHunterMatrix)
Hunter60.WhitenessIndex(LabHunterMatrix)
LabHunterMatrix |
Lab Hunter values for illuminant C |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
HunterLab<-c(28.96756, 2.363884, 0.4821515) Hunter60.WhitenessIndex(HunterLab)
HunterLab<-c(28.96756, 2.363884, 0.4821515) Hunter60.WhitenessIndex(HunterLab)
HunterLab2XYZ
Converts HunterLab coordinates to XYZ.
HunterLab2XYZ(HunterLabmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
HunterLab2XYZ(HunterLabmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
HunterLabmatrix |
HunterLab coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
XYZ coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
HunterLab2XYZ(c(0.310897, 0.306510, 74.613450))
HunterLab2XYZ(c(0.310897, 0.306510, 74.613450))
illuminantA
is a table with Relative spectral power
distributions of CIE illuminant A at 1 nm interval.
illuminantA
illuminantA
This data frame contains the following data:
wavelength (nm)
Relative spectral power
Jose Gama
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
data(illuminantA) illuminantA
data(illuminantA) illuminantA
illuminantD65
is a table with Relative spectral power
distributions of CIE illuminant D65 at 1 nm interval.
illuminantD65
illuminantD65
This data frame contains the following data:
wavelength (nm)
Relative spectral power
Jose Gama
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
data(illuminantD65) illuminantD65
data(illuminantD65) illuminantD65
illuminants
is a table with Relative spectral power
distributions of CIE illuminants at 5 nm interval.
illuminants
illuminants
This data frame contains the following data:
wavelength (nm)
illuminant A
illuminant B
illuminant C
illuminant D50
illuminant D55
illuminant D65
illuminant D75
illuminant D93
illuminant E
illuminant Natural
illuminant PlusWhite
illuminant TL84
illuminant Polylux3000
illuminant Polylux4000
illuminant KolorRite
illuminant FL1
illuminant FL2
illuminant FL3
illuminant FL4
illuminant FL5
illuminant FL6
illuminant FL7
illuminant FL8
illuminant FL9
illuminant FL10
illuminant FL11
illuminant FL12
Jose Gama
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
Wyszecki, G., & Stiles, W. S., 1982 Color Science: concepts and methods, quantitative data and formulae (2nd ed.). New York: Wiley.
data(illuminants) illuminants
data(illuminants) illuminants
ISObrightnessReflectometerRSD
is a table with the weighting
factors for the calculation of ISO brightness.
ISObrightnessReflectometerRSD
ISObrightnessReflectometerRSD
This data frame contains the following data:
wavelength
factor
weight
Jose Gama
Scandinavian Pulp, paper and board, 2003 Basic equations for optical properties SCAN-G 5:03 Revised 2003
Scandinavian Pulp, paper and board, 2003 Basic equations for optical properties SCAN-G 5:03 Revised 2003
data(ISObrightnessReflectometerRSD) ISObrightnessReflectometerRSD
data(ISObrightnessReflectometerRSD) ISObrightnessReflectometerRSD
kelvin2xy
Blackbody radiator color temperature to CIE 1931 x,y chromaticity approximation function.
kelvin2xy(T)
kelvin2xy(T)
T |
temperature in Kelvin |
color temperature
Jose Gama
Kim et al., 2002 "Design of Advanced Color - Temperature Control System for HDTV Applications" https://www.jkps.or.kr/journal/view.html?uid=5163&vmd=Full
Kim et al., 2002 "Design of Advanced Color - Temperature Control System for HDTV Applications" https://www.jkps.or.kr/journal/view.html?uid=5163&vmd=Full
kelvin2xy(300)
kelvin2xy(300)
Lab2LCHab
Converts CIE Lab coordinates to LCHab.
Lab2LCHab(LabMatrix)
Lab2LCHab(LabMatrix)
LabMatrix |
CIE Lab coordinates |
LCHab coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Lab2LCHab(c(0.310897, 0.306510, 74.613450))
Lab2LCHab(c(0.310897, 0.306510, 74.613450))
LAB2LUV
Converts CIE Lab coordinates to CIE Luv.
LAB2LUV(Labmatrix)
LAB2LUV(Labmatrix)
Labmatrix |
CIE Lab coordinates |
XYZ coordinates
Jose Gama
LAB2LUV(c(0.310897, 0.306510, 74.613450))
LAB2LUV(c(0.310897, 0.306510, 74.613450))
Lab2XYZ
Converts CIE Lab coordinates to XYZ.
Lab2XYZ(Labmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Lab2XYZ(Labmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Labmatrix |
CIE Lab coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
XYZ coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Lab2XYZ(c(0.310897, 0.306510, 74.613450))
Lab2XYZ(c(0.310897, 0.306510, 74.613450))
LCHab2Lab
Converts LCHab coordinates to CIE Lab.
LCHab2Lab(LCHabmatrix)
LCHab2Lab(LCHabmatrix)
LCHabmatrix |
LCHab coordinates |
CIE Lab coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
LCHab2Lab(c(0.310897, 0.306510, 74.613450))
LCHab2Lab(c(0.310897, 0.306510, 74.613450))
LCHuv2Luv
Converts LCHuv coordinates to CIE Luv.
LCHuv2Luv(LCHuvmatrix)
LCHuv2Luv(LCHuvmatrix)
LCHuvmatrix |
LCHuv coordinates |
CIE Luv coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
LCHuv2Luv(c(0.310897, 0.306510, 74.613450))
LCHuv2Luv(c(0.310897, 0.306510, 74.613450))
LEF2RGB
Converts LEF coordinates to RGB.
LEF2RGB(LEFmatrix)
LEF2RGB(LEFmatrix)
LEFmatrix |
LEF coordinates |
RGB coordinates
Jose Gama
Kang, Henry R, 2006 Computational color technology Spie Press Bellingham
Kang, Henry R, 2006 Computational color technology Spie Press Bellingham
LEF<-c(176.66667, 53.50000, -12.99038) LEF2RGB(LEF)
LEF<-c(176.66667, 53.50000, -12.99038) LEF2RGB(LEF)
LMS2DKL
Converts LMS coordinates to DKL.
LMS2DKL(bg, diffcone.coords, DKL2LMS = FALSE)
LMS2DKL(bg, diffcone.coords, DKL2LMS = FALSE)
bg |
LMS coordinates |
diffcone.coords |
LMS coordinates |
DKL2LMS |
boolean, FALSE = DKL to LMS, TRUE = LMS to DKL |
DKL coordinates
Jose Gama
David H. Brainard Cone Contrast and Opponent Modulation Color Spaces pp. 563 PART IV: CONE CONTRAST AND OPPONENT MODULATION COLOR SPACES
David H. Brainard Cone Contrast and Opponent Modulation Color Spaces pp. 563 PART IV: CONE CONTRAST AND OPPONENT MODULATION COLOR SPACES
#LMS<-c(3.822394, 10.17498, 1.130049) #LMS2DKL(LMS)
#LMS<-c(3.822394, 10.17498, 1.130049) #LMS2DKL(LMS)
LMS2RGB
Converts LMS coordinates to RGB.
LMS2RGB(LMSmatrix)
LMS2RGB(LMSmatrix)
LMSmatrix |
LMS coordinates |
RGB coordinates
Jose Gama
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
LMS<-c(3.822394, 10.17498, 1.130049) LMS2RGB(LMS)
LMS<-c(3.822394, 10.17498, 1.130049) LMS2RGB(LMS)
LMS2XYZ
Converts LMS coordinates to XYZ.
LMS2XYZ(LMSmatrix)
LMS2XYZ(LMSmatrix)
LMSmatrix |
LMS coordinates |
XYZ coordinates
Jose Gama
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
LMS<-c(3.822394, 10.17498, 1.130049) LMS2XYZ(LMS)
LMS<-c(3.822394, 10.17498, 1.130049) LMS2XYZ(LMS)
LSLM2RGB
Converts LSLM coordinates to RGB.
LSLM2RGB(LSLMmatrix)
LSLM2RGB(LSLMmatrix)
LSLMmatrix |
LSLM coordinates |
RGB coordinates
Jose Gama
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
LSLM<-c(-0.4186083, 0.007563981, 0.4918533) LSLM2RGB(LSLM)
LSLM<-c(-0.4186083, 0.007563981, 0.4918533) LSLM2RGB(LSLM)
LUV2LAB
Converts CIE Luv coordinates to CIE Lab.
LUV2LAB(Luvmatrix)
LUV2LAB(Luvmatrix)
Luvmatrix |
Luv matrix |
XYZ coordinates
Jose Gama
LUV2LAB(c(0.310897, 0.306510, 74.613450))
LUV2LAB(c(0.310897, 0.306510, 74.613450))
Luv2LCHuv
Converts CIE Luv coordinates to LCHuv.
Luv2LCHuv(LuvMatrix)
Luv2LCHuv(LuvMatrix)
LuvMatrix |
Luv coordinates |
LCHuv coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Luv2LCHuv(c(0.310897, 0.306510, 74.613450))
Luv2LCHuv(c(0.310897, 0.306510, 74.613450))
Luv2XYZ
Converts CIE Luv coordinates to XYZ.
Luv2XYZ(Luvmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Luv2XYZ(Luvmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Luvmatrix |
Luv matrix |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
XYZ coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Luv2XYZ(c(0.310897, 0.306510, 74.613450))
Luv2XYZ(c(0.310897, 0.306510, 74.613450))
Luv2Yuv
Converts CIE Luv coordinates to Yuv.
Luv2Yuv(Luvmatrix,illuminant='D65',observer=2,RefWhite= get("XYZperfectreflectingdiffuser", envir = environment()))
Luv2Yuv(Luvmatrix,illuminant='D65',observer=2,RefWhite= get("XYZperfectreflectingdiffuser", envir = environment()))
Luvmatrix |
CIE Luv coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
Yuv coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Luv2Yuv(c(0.310897, 0.306510, 74.613450))
Luv2Yuv(c(0.310897, 0.306510, 74.613450))
makeChromaticAdaptationMatrix
Generates a Chromatic
Adaptation matrix.
makeChromaticAdaptationMatrix(ChromaticAdaptationAlgorithm = "VonKries", illuminantSource = "C", illuminantDestination = "D65", observer = 2, ChromaticAdaptationArray = get("ChromaticAdaptation", envir = environment()), referenceWhiteArray = get("XYZperfectreflectingdiffuser", envir = environment()))
makeChromaticAdaptationMatrix(ChromaticAdaptationAlgorithm = "VonKries", illuminantSource = "C", illuminantDestination = "D65", observer = 2, ChromaticAdaptationArray = get("ChromaticAdaptation", envir = environment()), referenceWhiteArray = get("XYZperfectreflectingdiffuser", envir = environment()))
ChromaticAdaptationAlgorithm |
Chromatic adaptation algorithm |
illuminantSource |
illuminant source |
illuminantDestination |
illuminant destination |
observer |
observer |
ChromaticAdaptationArray |
Chromatic adaptation array |
referenceWhiteArray |
reference white |
Chromatic Adaptation matrix
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
MaterialReferenceData
Material Reference Data from
Principles of Digital Image Synthesis, Appendix G
Andrew S. Glassner
16 August 1994.
MaterialReferenceData
MaterialReferenceData
This data frame contains the following data:
wavelength (nm)
spectra of: dark skin
spectra of: light skin
spectra of: blue sky
spectra of: foliage
spectra of: blue flower
spectra of: bluish green
spectra of: orange
spectra of: purplish blue
spectra of: moderate red
spectra of: purple
spectra of: yellow green
spectra of: orange yellow
spectra of: blue
spectra of: green
spectra of: red
spectra of: yellow
spectra of: magenta
spectra of: cyan
spectra of: white
spectra of: neutral
spectra of: neutral 6.5
spectra of: neutral 5
spectra of: neutral 3.5
spectra of: black
spectra of: pine needles
spectra of: silver maple leaf
spectra of: dark green maple leaf
spectra of: red maple leaf
spectra of: grass
spectra of: soil
spectra of: vine leaf
spectra of: alphalt
spectra of: daisy white petals
spectra of: daisy yellow center
spectra of: marigold orange
spectra of: marigold yellow
spectra of: dark blue jeans
spectra of: faded jeans
spectra of: dark blue sweat pants
spectra of: denim
spectra of: wheat bread
spectra of: wheat bread crust
spectra of: pancake
spectra of: swiss army knife
spectra of: pine wood
spectra of: maple wood
spectra of: oak wood
spectra of: bamboo
spectra of: redwood
spectra of: walnut wood
spectra of: yellow banana
spectra of: ripe brown banana
spectra of: cucumber
spectra of: corn kernel
spectra of: corn husk
spectra of: yellow delicious apple
spectra of: green pepper
spectra of: lemon skin
spectra of: lettuce
spectra of: carrot
spectra of: barley seeds
spectra of: lentil seeds
spectra of: brown rice seeds
spectra of: sand
Jose Gama
Andrew S. Glassner, 1995 Principles of Digital Image Synthesis The Morgan Kaufmann Series in Computer Graphics and Geometric Modeling
Andrew S. Glassner, 1995 Principles of Digital Image Synthesis The Morgan Kaufmann Series in Computer Graphics and Geometric Modeling
data(MaterialReferenceData) str(MaterialReferenceData)
data(MaterialReferenceData) str(MaterialReferenceData)
MaxChromaFromExtrapRenotationData
table with maximum
chroma for which extrapolated renotation data is available.
MaxChromaFromExtrapRenotationData
MaxChromaFromExtrapRenotationData
This data frame contains the following columns:
Hue
Value
Maximum Chroma
Jose Gama
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
data(MaxChromaFromExtrapRenotationData) MaxChromaFromExtrapRenotationData
data(MaxChromaFromExtrapRenotationData) MaxChromaFromExtrapRenotationData
MaxChromasForStandardMunsellHuesAndValues
table with maximum
Munsell chroma, for a given Munsell hue and value, for which an extrapolated
renotation value is available.
MaxChromasForStandardMunsellHuesAndValues
MaxChromasForStandardMunsellHuesAndValues
This data frame contains the following columns:
Hue
Value
Maximum Chroma (MacAdam limit)
Jose Gama
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
data(MaxChromasForStandardMunsellHuesAndValues) MaxChromasForStandardMunsellHuesAndValues
data(MaxChromasForStandardMunsellHuesAndValues) MaxChromasForStandardMunsellHuesAndValues
Maxwell.triangle
Plots the Maxwell triangle, as a black
line, a color line or a polygon.
Maxwell.triangle(primariesRGB=get("whitepointsRGB", envir = environment()), conversionFunction=NULL,...)
Maxwell.triangle(primariesRGB=get("whitepointsRGB", envir = environment()), conversionFunction=NULL,...)
primariesRGB |
primarie valuess for RGB color spaces |
conversionFunction |
optional function to perform the coordinate conversion |
... |
optional parameters for the plot command |
none
Jose Gama
Maxwell.triangle() xl<-yl<-0:1 Maxwell.triangle(xlim=xl,ylim=yl) Maxwell.triangle(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl,ylim=yl,xlab="u'",ylab="v'")
Maxwell.triangle() xl<-yl<-0:1 Maxwell.triangle(xlim=xl,ylim=yl) Maxwell.triangle(conversionFunction=CIE1931XYZ2CIE1976uv, xlim=xl,ylim=yl,xlab="u'",ylab="v'")
Munsell100hues55
Chromaticity diagram showing Tristimulus
Values and Trilinear Coordinates for Illuminant A for 100 hues at 5/5.
Munsell100hues55
Munsell100hues55
This data frame contains the following columns:
Munsell color notation from the Munsell book
Tristimulus Value X
Tristimulus Value Y
Tristimulus Value Z
Trilinear Coordinate x
Trilinear Coordinate y
Trilinear Coordinate z
Jose Gama
Hermann VON Schelling, Dean Farnsworth, 1949 Trichromatic Specifications of the Munsell 100 Hues at 5/5 for Illuminant a Defense Technical Information Center NAVAL MEDICAL RESEARCH LAB NEW LONDON CONN.
Hermann VON Schelling, Dean Farnsworth, 1949 Trichromatic Specifications of the Munsell 100 Hues at 5/5 for Illuminant a Defense Technical Information Center NAVAL MEDICAL RESEARCH LAB NEW LONDON CONN.
data(Munsell100hues55) Munsell100hues55
data(Munsell100hues55) Munsell100hues55
Munsell100hues55FM100
Munsell 100-Hues at 5/5,
production numbers 101 to 200 and Farnsworth-Munsell 100 Hue test.
Munsell100hues55FM100
Munsell100hues55FM100
This data frame contains the following columns:
Farnsworth-Munsell 100 Hue test value
Munsell 100-Hues at 5/5, production number
Jose Gama
Hermann VON Schelling, Dean Farnsworth, 1949 Trichromatic Specifications of the Munsell 100 Hues at 5/5 for Illuminant a Defense Technical Information Center NAVAL MEDICAL RESEARCH LAB NEW LONDON CONN.
Hermann VON Schelling, Dean Farnsworth, 1949 Trichromatic Specifications of the Munsell 100 Hues at 5/5 for Illuminant a Defense Technical Information Center NAVAL MEDICAL RESEARCH LAB NEW LONDON CONN.
data(Munsell100hues55FM100) Munsell100hues55FM100
data(Munsell100hues55FM100) Munsell100hues55FM100
MunsellHues
table with Munsell Hues.
MunsellHues
MunsellHues
Jose Gama
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
data(MunsellHues) MunsellHues
data(MunsellHues) MunsellHues
MunsellNeutrals2sRGB
table with Munsell Neutrals
and corresponding sRGB.
MunsellNeutrals2sRGB
MunsellNeutrals2sRGB
This data frame contains the following columns:
Munsell N
sRGB R
sRGB G
sRGB B
Jose Gama
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
Paul Centore 2014 The Munsell and Kubelka-Munk Toolbox https://www.munsellcolourscienceforpainters.com/MunsellAndKubelkaMunkToolbox/MunsellAndKubelkaMunkToolbox.html
James D. Foley, Andries van Dam, Steven K. Feiner, & John F. Hughes, 1990 Computer Graphics: Principles and Practice, 2nd ed., Addison-Wesley Publishing Company.
Gunter Wyszecki & W. S. Stiles, 1982 Color Science: Concepts and Methods, Quantitative Data and Formulae, 2nd edition, John Wiley and Sons
data(MunsellNeutrals2sRGB) MunsellNeutrals2sRGB
data(MunsellNeutrals2sRGB) MunsellNeutrals2sRGB
MunsellSpecToHVC
Converts convert Munsell notation
to numeric Hue,Value,Chroma.
MunsellSpecToHVC(MunsellSpecString)
MunsellSpecToHVC(MunsellSpecString)
MunsellSpecString |
string with the Munsell hue, value and chroma. |
numeric Hue,Value,Chroma
Glenn Davis
MunsellSpectral
table for 1250 matt Munsell color chips
with Munsell notation values, XYZ, xyY, RGB, CIE Lab, CIE Luv and spectral
data.
MunsellSpectral
MunsellSpectral
Jose Gama
Spectral Color Research group, 1989 University of Kuopio, Finland School of Computing and the Department of Physics and Mathematics Database - Munsell Colors Matt (AOTF) https://sites.uef.fi/spectral/databases-software/munsell-colors-matt-aotf-measured/
Parkkinen, J. P. S., Hallikainen, J. and Jaaskelainen, 1989 "Characteristic spectra of Munsell colors," Journal of the Optical Society of America Vol. 6, No. 2, February 1989, pp. 318-322.
Spectral Color Research group, 1989 University of Kuopio, Finland School of Computing and the Department of Physics and Mathematics Database - Munsell Colors Matt (AOTF) https://sites.uef.fi/spectral/databases-software/munsell-colors-matt-aotf-measured/
Parkkinen, J. P. S., Hallikainen, J. and Jaaskelainen, 1989 "Characteristic spectra of Munsell colors," Journal of the Optical Society of America Vol. 6, No. 2, February 1989, pp. 318-322.
## Not run: data(MunsellSpectral) MunsellSpectral ## End(Not run)
## Not run: data(MunsellSpectral) MunsellSpectral ## End(Not run)
MunsellV2relativeLuminanceY
Munsell value V to relative luminance Y.
MunsellV2relativeLuminanceY(V)
MunsellV2relativeLuminanceY(V)
V |
Munsell value |
CIE XYZ "Y"
Jose Gama
Mark D. Fairchild, 2013 Color Appearance Models, 3rd Ed. Wiley-IS&T
Mark D. Fairchild, 2013 Color Appearance Models, 3rd Ed. Wiley-IS&T
MunsellV2relativeLuminanceY(5)
MunsellV2relativeLuminanceY(5)
MunsellV2Y
Munsell value to CIE XYZ "Y" .
MunsellV2Y(V)
MunsellV2Y(V)
V |
Munsell value |
CIE XYZ "Y"
Jose Gama
ASTM, 2008 ASTM Standard D1535-08
ASTM, 2008 ASTM Standard D1535-08
MunsellV2Y(5)
MunsellV2Y(5)
NickersonColorDifference
Nickerson's Color Difference.
NickersonColorDifference(MunsellHVC1, MunsellHVC2)
NickersonColorDifference(MunsellHVC1, MunsellHVC2)
MunsellHVC1 |
Munsell HVC 1 |
MunsellHVC2 |
Munsell HVC 2 |
Delta E
Jose Gama
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
Bruce Justin Lindbloom, 2013 Color Calculator http://www.brucelindbloom.com
NickersonColorDifference('10B 5/6','5B 5/4')
NickersonColorDifference('10B 5/6','5B 5/4')
PhotoYCC2RGB
Converts PhotoYCC to RGB.
PhotoYCC2RGB(PhotoYCCmatrix)
PhotoYCC2RGB(PhotoYCCmatrix)
PhotoYCCmatrix |
PhotoYCC coordinates |
RGB coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
p <- c(0.4560569, 155.9415709, 137.3026467) PhotoYCC2RGB(p)
p <- c(0.4560569, 155.9415709, 137.3026467) PhotoYCC2RGB(p)
PreucilAngle
Preucil Angle.
PreucilAngle(RGBmatrix)
PreucilAngle(RGBmatrix)
RGBmatrix |
RGB coordinates |
Angle
Jose Gama
Robert William Gainer Hunt, 1987 The Reproduction of Colour Fountain Press Edition 4, illustrated
Robert William Gainer Hunt, 1987 The Reproduction of Colour Fountain Press Edition 4, illustrated
PreucilAngle(c(24,72,44))
PreucilAngle(c(24,72,44))
PreucilPercentGreyness
Preucil Percentage of Greyness.
PreucilPercentGreyness(RGBmatrix)
PreucilPercentGreyness(RGBmatrix)
RGBmatrix |
RGB coordinates |
Percentage of Greyness
Jose Gama
Robert William Gainer Hunt, 1987 The Reproduction of Colour Fountain Press Edition 4, illustrated
Robert William Gainer Hunt, 1987 The Reproduction of Colour Fountain Press Edition 4, illustrated
PreucilPercentGreyness(c(24,72,44))
PreucilPercentGreyness(c(24,72,44))
PreucilPercentHueError
Preucil Percentage of Hue Error.
PreucilPercentHueError(RGBmatrix)
PreucilPercentHueError(RGBmatrix)
RGBmatrix |
RGB coordinates |
Percentage of HueError
Jose Gama
Robert William Gainer Hunt, 1987 The Reproduction of Colour Fountain Press Edition 4, illustrated
Robert William Gainer Hunt, 1987 The Reproduction of Colour Fountain Press Edition 4, illustrated
PreucilPercentHueError(c(24,72,44))
PreucilPercentHueError(c(24,72,44))
RGB2CMY
Converts sRGB coordinates to CMY.
RGB2CMY(RGBmatrix)
RGB2CMY(RGBmatrix)
RGBmatrix |
sRGB coordinates |
CMY coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
RGB2CMY(c(0.310897, 0.306510, 74.613450))
RGB2CMY(c(0.310897, 0.306510, 74.613450))
rgb2dklV
Converts sRGB coordinates to DKL, spherical coords,
sames as Graph-Based Visual Saliency.
rgb2dklCart
Converts sRGB coordinates to DKL, cartesian coords.
rgb2dklV(RGB)
rgb2dklV(RGB)
RGB |
sRGB coordinates |
DKL coordinates
Jose Gama
Package psychopy for Python
Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology
Package psychopy for Python
Graph-Based Visual Saliency (MATLAB source code) Jonathan Harel California Institute of Technology
rgb2dklCart(c(54,75,121))
rgb2dklCart(c(54,75,121))
RGB2HSL
Converts RGB coordinates to HSL.
RGB2HSL(RGBmatrix)
RGB2HSL(RGBmatrix)
RGBmatrix |
RGB coordinates |
HSL coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
RGB<-c(124,63,78) RGB2HSL(RGB)
RGB<-c(124,63,78) RGB2HSL(RGB)
RGB2HSV
Converts RGB coordinates to HSV.
RGB2HSV(RGBmatrix)
RGB2HSV(RGBmatrix)
RGBmatrix |
RGB coordinates |
HSV coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
RGB<-c(124,63,78) RGB2HSV(RGB)
RGB<-c(124,63,78) RGB2HSV(RGB)
RGB2hue
Converts sRGB coordinates to hue.
RGB2hue(RGBmatrix)
RGB2hue(RGBmatrix)
RGBmatrix |
sRGB coordinates |
hue
Jose Gama
RGB2hue(c(0.310897, 0.306510, 74.613450))
RGB2hue(c(0.310897, 0.306510, 74.613450))
RGB2LEF
Converts RGB coordinates to LEF.
RGB2LEF(RGBmatrix)
RGB2LEF(RGBmatrix)
RGBmatrix |
RGB coordinates |
LEF coordinates
Jose Gama
Kang, Henry R, 2006 Computational color technology Spie Press Bellingham
Kang, Henry R, 2006 Computational color technology Spie Press Bellingham
RGB<-c(124,63,78) RGB2LEF(RGB)
RGB<-c(124,63,78) RGB2LEF(RGB)
RGB2LMS
Converts RGB coordinates to LMS.
RGB2LMS(RGBmatrix)
RGB2LMS(RGBmatrix)
RGBmatrix |
RGB coordinates |
LMS coordinates
Jose Gama
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
RGB<-c(124,63,78) RGB2LMS(RGB)
RGB<-c(124,63,78) RGB2LMS(RGB)
RGB2LSLM
Converts RGB coordinates to LSLM.
RGB2LSLM(RGBmatrix)
RGB2LSLM(RGBmatrix)
RGBmatrix |
RGB coordinates |
LSLM coordinates
Jose Gama
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
RGB<-c(124,63,78) RGB2LSLM(RGB)
RGB<-c(124,63,78) RGB2LSLM(RGB)
RGB2PhotoYCC
Converts RGB coordinates to PhotoYCC.
RGB2PhotoYCC(RGBmatrix)
RGB2PhotoYCC(RGBmatrix)
RGBmatrix |
RGB coordinates |
PhotoYCC coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
RGB<-c(124,63,78) RGB2PhotoYCC(RGB)
RGB<-c(124,63,78) RGB2PhotoYCC(RGB)
RGB2XYZ
Converts sRGB coordinates to XYZ.
RGB2XYZ(RGBmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()), RGBModel = "sRGB", RefWhiteRGB = get("whitepointsRGB", envir =environment()), gamma = NA, RefWhiteIllum = get("XYZperfectreflectingdiffuser", envir = environment()), CAT = "Bradford", CATarray = get("ChromaticAdaptation", envir = environment()))
RGB2XYZ(RGBmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()), RGBModel = "sRGB", RefWhiteRGB = get("whitepointsRGB", envir =environment()), gamma = NA, RefWhiteIllum = get("XYZperfectreflectingdiffuser", envir = environment()), CAT = "Bradford", CATarray = get("ChromaticAdaptation", envir = environment()))
RGBmatrix |
sRGB coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
White Reference |
RGBModel |
RGB Model |
RefWhiteRGB |
White Reference RGB |
gamma |
gamma |
RefWhiteIllum |
White Reference illuminant |
CAT |
Chromatic Adaptation algorithm |
CATarray |
Chromatic Adaptation data |
CIE XYZ coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
RGB2XYZ(c(0.310897, 0.306510, 74.613450))
RGB2XYZ(c(0.310897, 0.306510, 74.613450))
RGB2YCbCr
Converts RGB coordinates to YCbCr.
RGB2YCbCr(RGBmatrix)
RGB2YCbCr(RGBmatrix)
RGBmatrix |
RGB coordinates |
YCbCr coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
RGB<-c(124,63,78) RGB2YCbCr(RGB)
RGB<-c(124,63,78) RGB2YCbCr(RGB)
RGB2YIQ
Converts RGB coordinates to YIQ.
RGB2YIQ(RGBmatrix)
RGB2YIQ(RGBmatrix)
RGBmatrix |
RGB coordinates |
YIQ coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
RGB<-c(124,63,78) RGB2YIQ(RGB)
RGB<-c(124,63,78) RGB2YIQ(RGB)
RGB2YPbPr
Converts RGB coordinates to YPbPr.
RGB2YPbPr(RGBmatrix)
RGB2YPbPr(RGBmatrix)
RGBmatrix |
RGB coordinates |
YPbPr coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
RGB<-c(124,63,78) RGB2YPbPr(RGB)
RGB<-c(124,63,78) RGB2YPbPr(RGB)
RGB2YUV
Converts RGB coordinates to YUV.
RGB2YUV(RGBmatrix)
RGB2YUV(RGBmatrix)
RGBmatrix |
RGB coordinates |
YUV coordinates
Jose Gama
RGB<-c(124,63,78) RGB2YUV(RGB)
RGB<-c(124,63,78) RGB2YUV(RGB)
RxRyRz2XYZ
convert from three filter measurements
(reflectance factors) to XYZ.
RxRyRz2XYZ(RxRyRzmatrix=NA,illuminant='C', observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
RxRyRz2XYZ(RxRyRzmatrix=NA,illuminant='C', observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
RxRyRzmatrix |
reflectance factors coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
White Reference |
CIE XYZ coordinates
Jose Gama
RxRyRz2XYZ(c(7.90393, 8.391198, 9.721126))
RxRyRz2XYZ(c(7.90393, 8.391198, 9.721126))
saturationCIECAM02
saturation CIECAM 2002.
saturationCIECAM02(M, Q)
saturationCIECAM02(M, Q)
M |
colorfulness |
Q |
brightness |
saturation
Jose Gama
Color by Wikipedians http://www.easyrgb.com/
Color by Wikipedians http://www.easyrgb.com/
saturationCIELABEvaLubbe
CIELAB saturation (chroma
normalized by lightness).
saturationCIELABEvaLubbe(L,a,b)
saturationCIELABEvaLubbe(L,a,b)
L |
CIELAB L |
a |
CIELAB a |
b |
CIELAB b |
saturation
Jose Gama
Color by Wikipedians http://www.easyrgb.com/
Color by Wikipedians http://www.easyrgb.com/
saturationCIELABEvaLubbe(34.78467, 28.15159, 3.024663)
saturationCIELABEvaLubbe(34.78467, 28.15159, 3.024663)
saturationCIELUV
CIELUV/CIELAB saturation.
saturationCIELUV(u, v, un, vn)
saturationCIELUV(u, v, un, vn)
u |
CIELAB u |
v |
CIELAB v |
un |
CIELAB u neutral |
vn |
CIELAB v neutral |
saturation
Jose Gama
Color by Wikipedians http://www.easyrgb.com/
Color by Wikipedians http://www.easyrgb.com/
SmithPokorny2degConeFundamentals1975
Smith & Pokorny (1975) 2-deg cone fundamentals based on the
CIE Judd-Vos 2-deg CMFs.
SmithPokorny2degConeFundamentals1975
SmithPokorny2degConeFundamentals1975
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L2(lambda)
M-cone spectral sensitivity, M2(lambda)
S-cone spectral sensitivity, S2(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(SmithPokorny2degConeFundamentals1975) SmithPokorny2degConeFundamentals1975
data(SmithPokorny2degConeFundamentals1975) SmithPokorny2degConeFundamentals1975
spectra2CCT
Correlated Color Temperature (CCT) from spectra.
spectra2CCT(SPD=NA, isoTempLinesTable=NA, CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata", envir = environment()))
spectra2CCT(SPD=NA, isoTempLinesTable=NA, CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata", envir = environment()))
SPD |
light source spd |
isoTempLinesTable |
Iso temperature lines table |
CIETable |
reference data values |
TCS |
spectral reflectance data of 14 color test samples for CRI |
Correlated Color Temperature (CCT)
Jose Gama
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
# illuminant A SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm CCT <- spectra2CCT(SPD) CCT
# illuminant A SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm CCT <- spectra2CCT(SPD) CCT
spectra2CRIGAIFSCI
Color Rendering Index (CRI), Gamut Area
Index (GAI) and full spectrum index (FSCI) from spectra.
spectra2CRIGAIFSCI(SPD=NA, isoTempLinesTable=NA, CCT=NA, CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata", envir = environment()))
spectra2CRIGAIFSCI(SPD=NA, isoTempLinesTable=NA, CCT=NA, CIETable = get("ciexyz31", envir = environment()), TCS = get("TCSdata", envir = environment()))
SPD |
light source spd |
isoTempLinesTable |
Iso temperature lines table |
CCT |
Correlated Color Temperature (CCT) |
CIETable |
reference data values |
TCS |
spectral reflectance data of 14 color test samples for CRI |
CRI, GAI and FSCI
Jose Gama
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
# illuminant A ## Not run: SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm isoTempLinesTable <- createIsoTempLinesTable(SPD) CCT <- spectra2CCT(SPD) spectra2CRIGAIFSCI(SPD, isoTempLinesTable, CCT) spectra2CRIGAIFSCI(SPD, isoTempLinesTable) spectra2CRIGAIFSCI(SPD) ## End(Not run)
# illuminant A ## Not run: SPD = illuminants[1:51*2-1,c('wlnm','A')] # every 10 nm isoTempLinesTable <- createIsoTempLinesTable(SPD) CCT <- spectra2CCT(SPD) spectra2CRIGAIFSCI(SPD, isoTempLinesTable, CCT) spectra2CRIGAIFSCI(SPD, isoTempLinesTable) spectra2CRIGAIFSCI(SPD) ## End(Not run)
spectra2ISObrightness
Diffuse blue reflectance factor
(ISO brightness), R457, ISO 2470.
spectra2ISObrightness(spectraIn=NA, wlIn=NA, RSDmatrix=get("ISObrightnessReflectometerRSD", envir = environment()))
spectra2ISObrightness(spectraIn=NA, wlIn=NA, RSDmatrix=get("ISObrightnessReflectometerRSD", envir = environment()))
spectraIn |
spectral data |
wlIn |
wavelength range |
RSDmatrix |
ISO brightness data |
LCHuv coordinates
Jose Gama
ISO board, 2009 ISO 2470-1 : 2009 PAPER, BOARD AND PULPS MEASUREMENT OF DIFFUSE BLUE REFLECTANCE FACTOR PART 1 INDOOR DAYLIGHT CONDITIONS (ISO BRIGHTNESS)
ISO board, 2009 ISO 2470-1 : 2009 PAPER, BOARD AND PULPS MEASUREMENT OF DIFFUSE BLUE REFLECTANCE FACTOR PART 1 INDOOR DAYLIGHT CONDITIONS (ISO BRIGHTNESS)
spectra2ISObrightness(MaterialReferenceData[,c( 'BlueSky')], MaterialReferenceData[,c('wavelength' )])
spectra2ISObrightness(MaterialReferenceData[,c( 'BlueSky')], MaterialReferenceData[,c('wavelength' )])
spectra2lux
Illuminance (Lux) from spectra.
spectra2lux(spectraIn=NA, ciexyzIn=NA,wlIn=NA, wlInterval=NA)
spectra2lux(spectraIn=NA, ciexyzIn=NA,wlIn=NA, wlInterval=NA)
spectraIn |
light source spd |
ciexyzIn |
reference data values |
wlIn |
range of output wavelengths |
wlInterval |
arbitrary wavelength interval to be applied to all series through interpolation |
Correlated Color Temperature (CCT)
Jose Gama
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
spectra2lux(MaterialReferenceData[,c('wavelength','BlueSky')])
spectra2lux(MaterialReferenceData[,c('wavelength','BlueSky')])
spectra2XYZ
convert spectral data to tristimulus values.
spectra2XYZ(spectraIn=NA, illuminantIn=NA, ciexyzIn=NA,wlIn=NA, wlInterval=NA)
spectra2XYZ(spectraIn=NA, illuminantIn=NA, ciexyzIn=NA,wlIn=NA, wlInterval=NA)
spectraIn |
spectral data |
illuminantIn |
illuminant |
ciexyzIn |
range of illuminant wavelengths |
wlIn |
range of spectral wavelengths |
wlInterval |
arbitrary wavelength interval to be applied to all series through interpolation |
XYZ coordinates
Jose Gama
Andrew S. Glassner, 1995 Principles of digital image synthesis: Vol. 1 Kaufmann
Andrew S. Glassner, 1995 Principles of digital image synthesis: Vol. 1 Kaufmann
spectra2XYZ(MaterialReferenceData[,c('wavelength','BlueSky')])
spectra2XYZ(MaterialReferenceData[,c('wavelength','BlueSky')])
sprague
Interpolates an n by w matrix of spectra, sprague.
sprague(spectra, f)
sprague(spectra, f)
spectra |
spectral data |
f |
range of wavelenghts |
Interpolated spectral data
Jose Gama
Stephen Westland, 2014 http://www.mathworks.com/matlabcentral/fileexchange/40640-computational-colour-science-using-matlab-2e/content/sprague.m
Stephen Westland, 2014 http://www.mathworks.com/matlabcentral/fileexchange/40640-computational-colour-science-using-matlab-2e/content/sprague.m
StearnsStearnscorrection
Stearns and Stearns correction.
StearnsStearnscorrection(P)
StearnsStearnscorrection(P)
P |
XYZ coordinates |
RGB coordinates
Jose Gama
Stephen Westland and Caterina Ripamonti, 2004 Computational Colour Science using MATLAB John Wiley & Sons Ltd, pp.35
Stephen Westland and Caterina Ripamonti, 2004 Computational Colour Science using MATLAB John Wiley & Sons Ltd, pp.35
Stensby68.Whiteness
formula was developed by Mr. P. Stensby
(formerly employee of J.R. Geigy AG in US.)
Stensby68.Whiteness(LabHunterMatrix)
Stensby68.Whiteness(LabHunterMatrix)
LabHunterMatrix |
Lab Hunter values for illuminant C |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Stensby68.Whiteness(c(0.310897, 0.306510, 74.613450))
Stensby68.Whiteness(c(0.310897, 0.306510, 74.613450))
StockmanMacLeodJohnson10degConeFundamentals1993
Stockman,
MacLeod & Johnson (1993) 2-deg cone fundamentals based on the
CIE 10-deg CMFs (adjusted to 2-deg).
StockmanMacLeodJohnson10degConeFundamentals1993
StockmanMacLeodJohnson10degConeFundamentals1993
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L10(lambda)
M-cone spectral sensitivity, M10(lambda)
S-cone spectral sensitivity, S10(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(StockmanMacLeodJohnson10degConeFundamentals1993) StockmanMacLeodJohnson10degConeFundamentals1993
data(StockmanMacLeodJohnson10degConeFundamentals1993) StockmanMacLeodJohnson10degConeFundamentals1993
StockmanMacLeodJohnson2degCIEadjConeFundamentals1993
Stockman, MacLeod & Johnson (1993) 2-deg cone fundamentals based on the
CIE 10-deg CMFs (adjusted to 2-deg).
StockmanMacLeodJohnson2degCIEadjConeFundamentals1993
StockmanMacLeodJohnson2degCIEadjConeFundamentals1993
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L2(lambda)
M-cone spectral sensitivity, M2(lambda)
S-cone spectral sensitivity, S2(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(StockmanMacLeodJohnson2degCIEadjConeFundamentals1993) StockmanMacLeodJohnson2degCIEadjConeFundamentals1993
data(StockmanMacLeodJohnson2degCIEadjConeFundamentals1993) StockmanMacLeodJohnson2degCIEadjConeFundamentals1993
StockmanMacLeodJohnson2degStilesBurchConeFundamentals1993
Stockman, MacLeod & Johnson (1993) 2-deg fundamentals based on the
Stiles & Burch 2-deg CMFs.
StockmanMacLeodJohnson2degStilesBurchConeFundamentals1993
StockmanMacLeodJohnson2degStilesBurchConeFundamentals1993
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L2(lambda)
M-cone spectral sensitivity, M2(lambda)
S-cone spectral sensitivity, S2(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(StockmanMacLeodJohnson2degStilesBurchConeFundamentals1993) StockmanMacLeodJohnson2degStilesBurchConeFundamentals1993
data(StockmanMacLeodJohnson2degStilesBurchConeFundamentals1993) StockmanMacLeodJohnson2degStilesBurchConeFundamentals1993
StockmanSharpe10degCMFS2000
Stockman & Sharpe (2000)
10-deg cone fundamentals based on the Stiles & Burch 10-deg CMFs linear 5nm.
StockmanSharpe10degCMFS2000
StockmanSharpe10degCMFS2000
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L10(lambda)
M-cone spectral sensitivity, M10(lambda)
S-cone spectral sensitivity, S10(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(StockmanSharpe10degCMFS2000) StockmanSharpe10degCMFS2000
data(StockmanSharpe10degCMFS2000) StockmanSharpe10degCMFS2000
StockmanSharpe2degCMFadj2000
Stockman & Sharpe (2000)
2-deg cone fundamentals based on the Stiles & Burch 10-deg CMFs
(adjusted to 2-deg) linear 5nm.
StockmanSharpe2degCMFadj2000
StockmanSharpe2degCMFadj2000
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L2(lambda)
M-cone spectral sensitivity, M2(lambda)
S-cone spectral sensitivity, S2(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(StockmanSharpe2degCMFadj2000) StockmanSharpe2degCMFadj2000
data(StockmanSharpe2degCMFadj2000) StockmanSharpe2degCMFadj2000
SystemISCCNBS
is a table with the ISCC-NBS System data.
SystemISCCNBS
SystemISCCNBS
This data frame contains the following data:
interval of hues in the hue chart defining the elementary block
minimum ASTM D1535 Hue for the elementary block
maximum ASTM D1535 Hue for the elementary block
minimum Value for the elementary block
maximum Value for the elementary block
minimum Chroma for the elementary block
maximum Chroma for the elementary block. Cmax=Inf for some elementary blocks.
color number of the elementary block, from 1 to 267
Glenn Davis
Color : Universal Language and Dictionary of Names ISCC-NBS Method of Designating Colors and a Dictionary of Color Names Kelly, Kenneth Low Judd, Deane Brewster NBS Special Publication 440 December 1976 Section 13: Color Name Charts, pp. 16-31
data(SystemISCCNBS) SystemISCCNBS
data(SystemISCCNBS) SystemISCCNBS
Taube60.Whiteness
developed by Mr. Taube (formerly an
employee of BASF AG, Germany). It was presented in 1960 and has found it's
application mainly in the plastic sector.
Taube60.Whiteness(XYZmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Taube60.Whiteness(XYZmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix |
CIE tristimulus values for illuminant C |
illuminant |
illuminant |
observer |
observer |
RefWhite |
White reference |
Jose Gama
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
Xrite, 2012 Color iQC and Color iMatch Color Calculations Guide Version 8.0 30 July 2012 Revision 1.0
XYZ<-c(0.11465380, 0.08391198, 0.08222077) Taube60.Whiteness(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) Taube60.Whiteness(XYZ)
TCSdata
is a table with the spectral reflectance data of 14 color test samples for CRI.
TCSdata
TCSdata
This data frame contains the following data:
wavelength (nm)
spectral reflectance data for sample 1
spectral reflectance data for sample 2
spectral reflectance data for sample 3
spectral reflectance data for sample 4
spectral reflectance data for sample 5
spectral reflectance data for sample 6
spectral reflectance data for sample 7
spectral reflectance data for sample 8
spectral reflectance data for sample 9
spectral reflectance data for sample 10
spectral reflectance data for sample 11
spectral reflectance data for sample 12
spectral reflectance data for sample 13
spectral reflectance data for sample 14
Jose Gama
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
Rensselaer Polytechnic Institute Light Sources and Color Q & A Appendix B: MATLAB script for calculating measures of light source color: CCT, CRI, GA, and FSI https://www.lrc.rpi.edu/programs/nlpip/lightinganswers/pdf/print/lightsources.pdf
data(TCSdata) TCSdata
data(TCSdata) TCSdata
tristimulusMunsell
is a table with 434 Munsell colors with
tristimulus and Color matching functions for illuminants A, C D and S.
tristimulusMunsell
tristimulusMunsell
This data frame contains the following data:
Munsell color notation
tristimulus X for illuminant A
tristimulus Y for illuminant A
tristimulus Z for illuminant A
CMF x for illuminant A
CMF y for illuminant A
tristimulus X for illuminant C
tristimulus Y for illuminant C
tristimulus Z for illuminant C
CMF x for illuminant C
CMF y for illuminant C
tristimulus X for illuminant D
tristimulus Y for illuminant D
tristimulus Z for illuminant D
CMF x for illuminant D
CMF y for illuminant D
tristimulus for X illuminant S
tristimulus for Y illuminant S
tristimulus for Z illuminant S
CMF x for illuminant S
CMF y for illuminant S
Munsell painting number
Jose Gama
K. L. Kelley, K. S. Gibson, and D. Nickerson, 1943 "Tristimulus specification of the Munsell Book of Color from spectrophotometric measurements," J. Opt. Soc. Am. 33, 355–376
K. L. Kelley, K. S. Gibson, and D. Nickerson, 1943 "Tristimulus specification of the Munsell Book of Color from spectrophotometric measurements," J. Opt. Soc. Am. 33, 355–376
data(tristimulusMunsell) tristimulusMunsell
data(tristimulusMunsell) tristimulusMunsell
VosEstevezWalraven2degConeFundamentals1990
Vos, Estévez & Walraven (1990) 2-deg fundamentals based on the
Stiles & Burch 2-deg CMFs.
VosEstevezWalraven2degConeFundamentals1990
VosEstevezWalraven2degConeFundamentals1990
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L2(lambda)
M-cone spectral sensitivity, M2(lambda)
S-cone spectral sensitivity, S2(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(VosEstevezWalraven2degConeFundamentals1990) VosEstevezWalraven2degConeFundamentals1990
data(VosEstevezWalraven2degConeFundamentals1990) VosEstevezWalraven2degConeFundamentals1990
VosWalraven2degConeFundamentals1971
Vos & Walraven(1971) 2-deg cone fundamentals based on the
CIE Judd-Vos 2-deg CMFs.
VosWalraven2degConeFundamentals1971
VosWalraven2degConeFundamentals1971
This data frame contains the following data:
wavelength (nm)
L-cone spectral sensitivity, L2(lambda)
M-cone spectral sensitivity, M2(lambda)
S-cone spectral sensitivity, S2(lambda)
Jose Gama
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
The Colour & Vision Research laboratory(CVRL) Institute of Ophthalmology, University College London www.cvrl.org
data(VosWalraven2degConeFundamentals1971) VosWalraven2degConeFundamentals1971
data(VosWalraven2degConeFundamentals1971) VosWalraven2degConeFundamentals1971
WestlandBlacknessIndex
(Westland, et al., 2006) blackness
index.
WestlandBlacknessIndex(CIELabMatrix)
WestlandBlacknessIndex(CIELabMatrix)
CIELabMatrix |
CIELab coordinates |
blackness index
Jose Gama
Westland, S.; Cheung, T. L. V.; Lozman, O. R., 2006. A metric for predicting perceptual blackness. 14th Color Imaging Conference Final Program and Proceedings, 14-17.
Westland, S.; Cheung, T. L. V.; Lozman, O. R., 2006. A metric for predicting perceptual blackness. 14th Color Imaging Conference Final Program and Proceedings, 14-17.
CIELab<-c(34.78467, 28.15159, 3.024663) WestlandBlacknessIndex(CIELab)
CIELab<-c(34.78467, 28.15159, 3.024663) WestlandBlacknessIndex(CIELab)
whitepointsilluminants
is a table with White points
of standard illuminants.
whitepointsilluminants
whitepointsilluminants
This data frame contains the following data:
illuminant
description
x2
y2
x10
y10
CCT
Jose Gama
Wikipedia, 2014 White points of standard illuminants https://en.wikipedia.org/wiki/Standard_illuminant
Wikipedia, 2014 White points of standard illuminants https://en.wikipedia.org/wiki/Standard_illuminant
data(whitepointsilluminants) whitepointsilluminants
data(whitepointsilluminants) whitepointsilluminants
whitepointsRGB
is a table with primaries for RGB color
spaces.
whitepointsRGB
whitepointsRGB
This data frame contains the following data:
Primary red x
Primary red y
Primary green x
Primary green y
Primary blue x
Primary blue y
illuminant
gamma
Color space name
Jose Gama
Wikipedia, 2014 RGB color space https://en.wikipedia.org/wiki/RGB_color_space
Wikipedia, 2014 RGB color space https://en.wikipedia.org/wiki/RGB_color_space
data(whitepointsRGB) whitepointsRGB
data(whitepointsRGB) whitepointsRGB
wlnm2XYZ
Approximates wavelength to CIE tristimulus XYZ,
by interpolation.
wlnm2xyz
Approximates wavelength to CIE xyz, by interpolation.
wlnm2XYZ(wavelength)
wlnm2XYZ(wavelength)
wavelength |
wavelength |
CIE XYZ
Jose Gama
wlnm2XYZ(555)
wlnm2XYZ(555)
xFit_1931
Approximations from wavelengths
to XYZ by Wyman et al.
xFit_1931(wave)
xFit_1931(wave)
wave |
wavelenght data |
XYZ X, Y or Z coordinate
Jose Gama
Chris Wyman Peter-Pike Sloan Peter Shirley, 2013 Simple Analytic Approximations to the CIE XYZ Color Matching Functions Journal of Computer Graphics Techniques Vol. 2, No. 2
Chris Wyman Peter-Pike Sloan Peter Shirley, 2013 Simple Analytic Approximations to the CIE XYZ Color Matching Functions Journal of Computer Graphics Techniques Vol. 2, No. 2
xFit_1931(555) yFit_1931(555) zFit_1931(555)
xFit_1931(555) yFit_1931(555) zFit_1931(555)
xy2CCT.HernandezAndres
convert from chromaticity
coordinates to correlated color temperature (approximation)
by Hernandez Andres.
xy2CCT.HernandezAndres(x,y)
xy2CCT.HernandezAndres(x,y)
x |
x coordinates |
y |
y coordinates |
CCT (Hernandez Andres)
Jose Gama
Hernandez-Andres, et al. 1999 "Calculating correlated color temperatures across the entire gamut of daylight and skylight chromaticities" https://en.wikipedia.org/wiki/Color_temperature
Hernandez-Andres, et al. 1999 "Calculating correlated color temperatures across the entire gamut of daylight and skylight chromaticities" https://en.wikipedia.org/wiki/Color_temperatures
xyY <- c(0.4083308, 0.2988462, 0.08391198) xy2CCT.HernandezAndres(xyY[1],xyY[2])
xyY <- c(0.4083308, 0.2988462, 0.08391198) xy2CCT.HernandezAndres(xyY[1],xyY[2])
xy2CCT.McCamy
convert from chromaticity coordinates to
correlated color temperature (approximation).
xy2CCT.McCamy(x,y)
xy2CCT.McCamy(x,y)
x |
x coordinates |
y |
y coordinates |
CCT McCamy
Jose Gama
C. S. McCamy, 1992 "Correlated color temperature as an explicit function of chromaticity coordinates" Color Research & Application Volume 17, Issue 2, pages 142–144
C. S. McCamy, 1992 "Correlated color temperature as an explicit function of chromaticity coordinates" Color Research & Application Volume 17, Issue 2, pages 142–144
xyY <- c(0.4083308, 0.2988462, 0.08391198) xy2CCT.McCamy(xyY[1],xyY[2])
xyY <- c(0.4083308, 0.2988462, 0.08391198) xy2CCT.McCamy(xyY[1],xyY[2])
xyChromaticitiesVos1978
x, y coordinates transformed
to Judd (1951) x', y' system.
xyChromaticitiesVos1978(x,y)
xyChromaticitiesVos1978(x,y)
x |
x coordinate |
y |
y coordinate |
x', y' coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
xyY <- c(0.4083308, 0.2988462, 0.08391198) xyChromaticitiesVos1978(xyY[1],xyY[2])
xyY <- c(0.4083308, 0.2988462, 0.08391198) xyChromaticitiesVos1978(xyY[1],xyY[2])
xyY2XYZ
Converts CIE CMF to XYZ.
xyY2XYZ(xyYmatrix)
xyY2XYZ(xyYmatrix)
xyYmatrix |
CIE CMFs |
XYZ coordinates
Jose Gama
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/
xyY2XYZ(c(0.310897, 0.306510, 74.613450))
xyY2XYZ(c(0.310897, 0.306510, 74.613450))
XYZ2BVR
convert from XYZ coordinates to BVR.
XYZ2BVR(XYZmatrix)
XYZ2BVR(XYZmatrix)
XYZmatrix |
XYZ coordinates |
BVR coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2BVR(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2BVR(XYZ)
XYZ2CCT.Robertson
convert from chromaticity
coordinates to correlated color temperature (approximation) by Robertson.
XYZ2CCT.Robertson(X, Y, Z)
XYZ2CCT.Robertson(X, Y, Z)
X |
X coordinates |
Y |
Y coordinates |
Z |
Z coordinates |
CCT (Robertson)
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ2CCT.Robertson( 0.11465380, 0.08391198, 0.08222077 )
XYZ2CCT.Robertson( 0.11465380, 0.08391198, 0.08222077 )
XYZ2HunterLab
convert from XYZ coordinates
to Hunter Lab coordinates.
XYZ2HunterLab(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZ2HunterLab(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix |
XYZ coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
Hunter Lab coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2HunterLab(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2HunterLab(XYZ)
XYZ2Lab
convert from XYZ coordinates to CIE Lab coordinates.
XYZ2Lab(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZ2Lab(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix |
XYZ coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
CIE Lab coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIELMatrix<-XYZ2Lab(XYZ*100)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIELMatrix<-XYZ2Lab(XYZ*100)
XYZ2LMS
Converts XYZ coordinates to LMS.
XYZ2LMS(XYZmatrix)
XYZ2LMS(XYZmatrix)
XYZmatrix |
XYZ coordinates |
LMS coordinates
Jose Gama
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
Francoise Vienot, Hans Brettel,John D. Mollon, 1999 Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats Color Research & Application John Wiley & Sons, Inc.
XYZ<-c(21.43162, -3.20673, 120.6259) XYZ2LMS(XYZ)
XYZ<-c(21.43162, -3.20673, 120.6259) XYZ2LMS(XYZ)
XYZ2Luv
convert from XYZ coordinates to CIE Luv coordinates.
XYZ2Luv(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZ2Luv(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix |
XYZ coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
CIE Luv coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIELuvMatrix<-XYZ2Luv(XYZ*100)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) CIELuvMatrix<-XYZ2Luv(XYZ*100)
XYZ2RGB
convert from XYZ coordinates to CIE RGB coordinates.
XYZ2RGB(XYZmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()), RGBModel = "sRGB", RefWhiteRGB = get("whitepointsRGB", envir = environment()), gamma = NA, RefWhiteIllum = get("XYZperfectreflectingdiffuser", envir = environment()), CAT = "Bradford", CATarray = get("ChromaticAdaptation", envir = environment()))
XYZ2RGB(XYZmatrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()), RGBModel = "sRGB", RefWhiteRGB = get("whitepointsRGB", envir = environment()), gamma = NA, RefWhiteIllum = get("XYZperfectreflectingdiffuser", envir = environment()), CAT = "Bradford", CATarray = get("ChromaticAdaptation", envir = environment()))
XYZmatrix |
XYZ coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
RGBModel |
RGB model |
RefWhiteRGB |
white points for RGB model |
gamma |
gamma |
RefWhiteIllum |
Reference perfect reflecting diffuser |
CAT |
CAT |
CATarray |
Chromatic Adaptation |
CIE RGB coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2RGB(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2RGB(XYZ)
XYZ2RxRyRz
convert from XYZ to three filter measurements
(reflectance factors).
XYZ2RxRyRz(XYZmatrix=NA,illuminant='C', observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZ2RxRyRz(XYZmatrix=NA,illuminant='C', observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix |
XYZ matrix |
illuminant |
illuminant |
observer |
observer |
RefWhite |
White Reference |
CIE XYZ coordinates
Jose Gama
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2RxRyRz(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2RxRyRz(XYZ)
XYZ2xyY
convert from XYZ coordinates to xyY coordinates.
XYZ2xyY(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZ2xyY(XYZmatrix,illuminant='D65',observer=2, RefWhite=get("XYZperfectreflectingdiffuser", envir = environment()))
XYZmatrix |
XYZ coordinates |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
xyY coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2xyY(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2xyY(XYZ)
XYZ2Yuv
convert from XYZ coordinates to Yuv coordinates.
XYZ2Yuv(XYZmatrix)
XYZ2Yuv(XYZmatrix)
XYZmatrix |
XYZ coordinates |
Yuv coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2Yuv(XYZ)
XYZ<-c(0.11465380, 0.08391198, 0.08222077) XYZ2Yuv(XYZ)
XYZMoonSpencer1945
Approximations from wavelengths to XYZ
by Moon & Spencer.
XYZMoonSpencer1945(wavelen)
XYZMoonSpencer1945(wavelen)
wavelen |
wavelenght data |
XYZ coordinates
Jose Gama
Chris Wyman Peter-Pike Sloan Peter Shirley, 2013 Simple Analytic Approximations to the CIE XYZ Color Matching Functions Journal of Computer Graphics Techniques Vol. 2, No. 2
Chris Wyman Peter-Pike Sloan Peter Shirley, 2013 Simple Analytic Approximations to the CIE XYZ Color Matching Functions Journal of Computer Graphics Techniques Vol. 2, No. 2
XYZMoonSpencer1945(555)
XYZMoonSpencer1945(555)
XYZperfectreflectingdiffuser
table with perfect reflecting
diffuser data.
This data frame contains the following columns:
Illuminant
CIE tristimulus X 2 deg observer
CIE tristimulus Y 2 deg observer
CIE tristimulus Z 2 deg observer
CIE tristimulus X 10 deg observer
CIE tristimulus Y 10 deg observer
CIE tristimulus Z 10 deg observer
Jose Gama
Wyszecki, G. and Stiles, W.S., 1982 Color Science: Concepts and Methods, Quantitative data and formulae. John Wiley & Sons.
Wyszecki, G. and Stiles, W.S., 1982 Color Science: Concepts and Methods, Quantitative data and formulae. John Wiley & Sons.
data(XYZperfectreflectingdiffuser) str(XYZperfectreflectingdiffuser)
data(XYZperfectreflectingdiffuser) str(XYZperfectreflectingdiffuser)
XYZTannenbaum1974
Approximations from wavelengths
to XYZ by Tannenbaum 1974.
XYZTannenbaum1974(wavelen)
XYZTannenbaum1974(wavelen)
wavelen |
wavelenght data |
XYZ coordinates
Jose Gama
Chris Wyman Peter-Pike Sloan Peter Shirley, 2013 Simple Analytic Approximations to the CIE XYZ Color Matching Functions Journal of Computer Graphics Techniques Vol. 2, No. 2
Chris Wyman Peter-Pike Sloan Peter Shirley, 2013 Simple Analytic Approximations to the CIE XYZ Color Matching Functions Journal of Computer Graphics Techniques Vol. 2, No. 2
XYZTannenbaum1974(555)
XYZTannenbaum1974(555)
XYZtoRGB
convert from XYZ coordinates to RGB.
XYZtoRGB(xc, yc, zc, ColorSystem = c(0.67, 0.33, 0.21, 0.71, 0.14, 0.08, 0.31, 0.316))
XYZtoRGB(xc, yc, zc, ColorSystem = c(0.67, 0.33, 0.21, 0.71, 0.14, 0.08, 0.31, 0.316))
xc |
XYZ X coordinates |
yc |
XYZ Y coordinates |
zc |
XYZ Z coordinates |
ColorSystem |
RGB Color System data |
RGB coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
XYZtoRGB(0.11465380, 0.08391198, 0.08222077)
XYZtoRGB(0.11465380, 0.08391198, 0.08222077)
Y2MunsellV
CIE XYZ "Y" to Munsell value.
Y2MunsellV(Y)
Y2MunsellV(Y)
Y |
Y data |
Munsell value
Jose Gama
ASTM, 2008 ASTM Standard D1535-08
ASTM, 2008 ASTM Standard D1535-08
Y2MunsellV(5)
Y2MunsellV(5)
Y2MunsellVtable1D1535
NLSQ regression for obtaining
similar results to table 1 from ASTM Standard D1535-08.
Y2MunsellVtable1D1535(Y)
Y2MunsellVtable1D1535(Y)
Y |
Y data |
Munsell value
Jose Gama
ASTM, 2008 ASTM Standard D1535-08
ASTM, 2008 ASTM Standard D1535-08
Y2MunsellVtable1D1535(5)
Y2MunsellVtable1D1535(5)
YCbCr2RGB
Converts YCbCr coordinates to RGB.
YCbCr2RGB(YPbPrmatrix)
YCbCr2RGB(YPbPrmatrix)
YPbPrmatrix |
YPbPr coordinates |
RGB coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
YCbCr2RGB(c(18165.831, -625.617, 6558.790))
YCbCr2RGB(c(18165.831, -625.617, 6558.790))
YIQ2RGB
Converts YIQ coordinates to RGB.
YIQ2RGB(YIQmatrix)
YIQ2RGB(YIQmatrix)
YIQmatrix |
YIQ coordinates |
RGB coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
YIQ2RGB(c(82.949, 31.51965, 17.58261))
YIQ2RGB(c(82.949, 31.51965, 17.58261))
YPbPr2RGB
Converts YCbCr coordinates to RGB.
YPbPr2RGB(YPbPrmatrix)
YPbPr2RGB(YPbPrmatrix)
YPbPrmatrix |
YPbPr coordinates |
RGB coordinates
Jose Gama
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
Alex Izvorski, Copyright 2003-2005 (Portions Copyright 2001-2003 by Alfred Reibenschuh) Graphics/ColorObject version 0.5.0 https://www.poynton.ca/notes/colour_and_gamma/ColorFAQ.txt
YPbPr2RGB(c(82.949000, -2.792896, 29.280320))
YPbPr2RGB(c(82.949000, -2.792896, 29.280320))
Yuv2Luv
Converts Yuv coordinates to Luv.
Yuv2Luv(Yu.v.matrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Yuv2Luv(Yu.v.matrix, illuminant = "D65", observer = 2, RefWhite = get("XYZperfectreflectingdiffuser", envir = environment()))
Yu.v.matrix |
Yuv matrix |
illuminant |
illuminant |
observer |
observer |
RefWhite |
Reference White |
Luv coordinates
Jose Gama
Yuv <- c(0.08391198, 0.2830965, 0.4661789) Yuv2Luv(Yuv)
Yuv <- c(0.08391198, 0.2830965, 0.4661789) Yuv2Luv(Yuv)
YUV2RGB
Converts YUV coordinates to RGB.
YUV2RGB(YUVmatrix)
YUV2RGB(YUVmatrix)
YUVmatrix |
YUV coordinates |
RGB coordinates
Jose Gama
YUV2RGB(c(164.898, -5.584651, 58.53939))
YUV2RGB(c(164.898, -5.584651, 58.53939))
Yuv2xy
convert from Yuv coordinates to xy coordinates.
Yuv2xy(Yu.v.matrix)
Yuv2xy(Yu.v.matrix)
Yu.v.matrix |
Yuv coordinates |
xy coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Yuv <- c(0.08391198, 0.2830965, 0.4661789) Yuv2xy(Yuv)
Yuv <- c(0.08391198, 0.2830965, 0.4661789) Yuv2xy(Yuv)
Yuv2XYZ
convert from Yuv coordinates to XYZ coordinates.
Yuv2XYZ(Yu.v.matrix)
Yuv2XYZ(Yu.v.matrix)
Yu.v.matrix |
Yuv coordinates |
XYZ coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Yuv <- c(0.08391198, 0.2830965, 0.4661789) Yuv2XYZ(Yuv)
Yuv <- c(0.08391198, 0.2830965, 0.4661789) Yuv2XYZ(Yuv)
Yxy2CIE1960UCS
convert from Yxy coordinates to CIE 1960 UCS.
Yxy2CIE1960UCS(Yxymatrix)
Yxy2CIE1960UCS(Yxymatrix)
Yxymatrix |
Yxy coordinates |
CIE 1960 UCS
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
xyY <- c(0.4083308, 0.2988462, 0.08391198) Yxy2CIE1960UCS(xyY[c(3,1,2)])
xyY <- c(0.4083308, 0.2988462, 0.08391198) Yxy2CIE1960UCS(xyY[c(3,1,2)])
Yxy2Yuv
convert from Yxy coordinates to Yuv coordinates.
Yxy2Yuv(Yxymatrix)
Yxy2Yuv(Yxymatrix)
Yxymatrix |
Yxy coordinates |
Yuv coordinates
Jose Gama
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
xyY <- c(0.4083308, 0.2988462, 0.08391198) Yxy2Yuv(xyY[c(3,1,2)])
xyY <- c(0.4083308, 0.2988462, 0.08391198) Yxy2Yuv(xyY[c(3,1,2)])