Package: colorscience 1.0.9

colorscience: Color Science Methods and Data

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]

colorscience_1.0.9.tar.gz
colorscience_1.0.9.zip(r-4.5)colorscience_1.0.9.zip(r-4.4)colorscience_1.0.9.zip(r-4.3)
colorscience_1.0.9.tgz(r-4.4-any)colorscience_1.0.9.tgz(r-4.3-any)
colorscience_1.0.9.tar.gz(r-4.5-noble)colorscience_1.0.9.tar.gz(r-4.4-noble)
colorscience_1.0.9.tgz(r-4.4-emscripten)colorscience_1.0.9.tgz(r-4.3-emscripten)
colorscience.pdf |colorscience.html
colorscience/json (API)
NEWS

# Install 'colorscience' in R:
install.packages('colorscience', repos = c('https://glenndavis52.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

151 exports 4 stars 1.16 score 67 dependencies 2 mentions 212 scripts 1.6k downloads

Last updated 5 months agofrom:47ecb496b4. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 21 2024
R-4.5-winOKAug 21 2024
R-4.5-linuxOKAug 21 2024
R-4.4-winOKAug 21 2024
R-4.4-macOKAug 21 2024
R-4.3-winOKAug 21 2024
R-4.3-macOKAug 21 2024

Exports:AdjustASTM.D1925.YellownessIndexASTM.E313.WhitenessASTM.E313.YellownessIndexBerger59.WhitenessBVR2XYZCCT2XYZCheckColorLookupchromaticity.diagramchromaticity.diagram.colorchromaticity.diagram.color.fillCIE.WhitenessCIE1931xy2CIE1960uvCIE1931xy2CIE1976uvCIE1931XYZ2CIE1931xyzCIE1931XYZ2CIE1960uvCIE1931XYZ2CIE1976uvCIE1960UCS2CIE1964CIE1960UCS2xyCIE1976chromaCIE1976hueangleCIE1976uv2CIE1931xyCIE1976uv2CIE1960uvCIE1976uvSaturationCIELabtoDIN99CIEluminanceY2NCSblacknessCIETintCMY2CMYKCMY2RGBCMYK2CMYColorBlockFromMunsellCompandcompuphaseDifferenceRGBcreateIsoTempLinesTabledeltaE1976deltaE1994deltaE2000deltaECMCDIN6167.YellownessIndexDIN99toCIELabdkl2dklCartdkl2rgbdklCart2dkldklCart2rgbDominantWavelengthemittanceblackbodyPlanckfootcandle2candela.steradian.sqmeterfootcandle2luxfootcandle2watt.sqcentimeterGanzGrieser.TintGanzGrieser.Whitenessheuristic.wlnm2RGBHSL2RGBHSV2RGBHue.2.RGBhuedegreeHunter60.WhitenessIndexHunterLab2XYZInvCompandkelvin2xyLab2LCHabLAB2LUVLab2XYZLCHab2LabLCHuv2LuvLEF2RGBLMS2DKLLMS2RGBLMS2XYZLSLM2RGBLUV2LABLuv2LCHuvLuv2XYZLuv2YuvmakeChromaticAdaptationMatrixMaxwell.triangleMaxwell.triangle.colorMaxwell.triangle.color.fillMunsellHVCMunsellSpecToHVCMunsellV2relativeLuminanceYMunsellV2YNickersonColorDifferencePhotoYCC2RGBPreucilAnglePreucilPercentGreynessPreucilPercentHueErrorRGB2CMYrgb2dklCartrgb2dklVRGB2HSLRGB2HSVRGB2hueRGB2LEFRGB2LMSRGB2LSLMRGB2PhotoYCCRGB2XYZRGB2YCbCrRGB2YIQRGB2YPbPrRGB2YUVRxRyRz2XYZsaturationCIECAM02saturationCIELABsaturationCIELABEvaLubbesaturationCIELUVspectra2CCTspectra2CRIGAIFSCIspectra2ISObrightnessspectra2luxspectra2XYZspragueStearnsStearnscorrectionStensby68.WhitenessTaube60.WhitenessWestlandBlacknessIndexwlnm2xyzwlnm2XYZxFit_1931xy2CCT.HernandezAndresxy2CCT.McCamyxyChromaticitiesVos1978xyY2XYZXYZ2BVRXYZ2CCT.RobertsonXYZ2HunterLabXYZ2LabXYZ2LMSXYZ2LuvXYZ2RGBXYZ2RxRyRzxyz2srgbXYZ2xyYXYZ2YuvXYZMoonSpencer1945XYZTannenbaum1974XYZtoRGBY2MunsellVY2MunsellVtable1D1535YCbCr2RGByFit_1931YIQ2RGBYPbPr2RGBYuv2LuvYUV2RGBYuv2xyYuv2XYZYxy2CIE1960UCSYxy2YuvzFit_1931

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpillarpkgconfigpracmaR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapisassscalesspstringistringrtibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
ASTM D 1925 Yellowness Index for PlasticsASTM.D1925.YellownessIndex
ASTM E313 WhitenessASTM.E313.Whiteness
ASTM E313 YellownessASTM.E313.YellownessIndex
Berger (59) WhitenessBerger59.Whiteness
convert from BVR coordinates to XYZ temperature (Robertson)BVR2XYZ
CIE (1931) 2-deg chromaticity coordinatescccie31
CIE (1964) 10-deg chromaticity coordinatescccie64
Convert CCT to XYZCCT2XYZ
Central notations for the revised ISCC-NBSCentralsISCCNBS
Check that the color block number is correctCheckColorLookup
Chromatic adaptation algorithmsChromaticAdaptation
Plot the chromaticity diagramchromaticity.diagram
Plot the chromaticity diagram line with colorchromaticity.diagram.color chromaticity.diagram.color.fill
CIE WhitenessCIE.Whiteness
Convert CIE 1931 xy color space to CIE 1960 uv color spaceCIE1931xy2CIE1960uv
Convert CIE 1931 xy color space to CIE 1976 uv color spaceCIE1931xy2CIE1976uv
Convert CIE 1931 XYZ color space to CIE 1931 xyz color spaceCIE1931XYZ2CIE1931xyz
Convert CIE 1931 XYZ color space to CIE 1960 uv color spaceCIE1931XYZ2CIE1960uv
Convert CIE 1931 XYZ color space to CIE 1976 uv color spaceCIE1931XYZ2CIE1976uv
Convert CIE 1960 UCS color space to CIE 1964 color spaceCIE1960UCS2CIE1964
Convert CIE 1960 UCS color space to 1960 xy color spaceCIE1960UCS2xy
CIE 1976 chroma formula for CIELab and CIELuvCIE1976chroma
CIE 1976 hue angle formula for CIELab and CIELuvCIE1976hueangle
CIE-1976 u'v' to CIE-1931 xyCIE1976uv2CIE1931xy
CIE-1976 u'v' to CIE-1960 uvCIE1976uv2CIE1960uv
CIE 1976 uv SaturationCIE1976uvSaturation
Conversion from CIELAB color space to DIN99 coordinatesCIELabtoDIN99
approximated NCS blackness s by the CIE luminance factor YCIEluminanceY2NCSblackness
Tint indices: CIE Tint and ASTM E313 TintCIETint
CIE 1931 2-deg, XYZ CMFsciexyz31
CIE 1964 10-deg, XYZ CMFsciexyz64
Convert CMY coordinates to CMYKCMY2CMYK
Convert CMYK coordinates to RGBCMY2RGB
Convert CMYK coordinates to CMYCMYK2CMY
Get HVC, ISCC-NBS Number and ISCC-NBS Name from Munsell notationColorBlockFromMunsell
compuphase Difference RGBcompuphaseDifferenceRGB
Conversion Factors for Units of IlluminanceconversionIlluminance
Conversion Factors for Units of LuminanceconversionLuminance
table of isotemperature lines for use with the Robertson MethodcreateIsoTempLinesTable
daylight componentsdaylightcomponents
Delta E (CIE 1976)deltaE1976
Delta E (CIE 1994)deltaE1994
Delta E (CIE 2000)deltaE2000
Delta E CMCdeltaECMC
DeMarco, Pokorny & Smith (1992) versions of the Smith-Pokorny 2-deg fundamentalsDeMarcoPokornySmith2degConeFundamentals1992
CIE WhitenessDIN6167.YellownessIndex
Conversion from DIN99 coordinates to CIELAB color spaceDIN99toCIELab
converts between spherical and cartesian coordinates for DKLdkl2dklCart dklCart2dkl
convert RGB to DKLdkl2rgb dklCart2rgb
Converts xyY coordinates to wavelengthDominantWavelength
emittance of a black body of temperature T at a given wavelengthemittanceblackbodyPlanck
converts foot candle to candela steradian / square meterfootcandle2candela.steradian.sqmeter
convert foot candle to Lumens/luxfootcandle2lux
converts foot candle to watts / square centimeterfootcandle2watt.sqcentimeter
Ganz and Grieser TintGanzGrieser.Tint
Ganz and Grieser WhitenessGanzGrieser.Whiteness
Approximations from wavelengths to RGBheuristic.wlnm2RGB
Convert HSL coordinates to RGBHSL2RGB
Convert HSV coordinates to RGBHSV2RGB
Convert Hue to RGBHue.2.RGB
convert Munsell hue to degreehuedegree
Table with Munsell hue degreeshuedegreemunsell
Hunter 60 Whiteness IndexHunter60.WhitenessIndex
Convert HunterLab coordinates to XYZHunterLab2XYZ
Relative spectral power distributions of CIE illuminant A at 1 nm intervalilluminantA
Relative spectral power distributions of CIE illuminant D65 at 1 nm intervalilluminantD65
Relative spectral power distributions of CIE illuminants at 5 nm intervalilluminants
Weighting factors for the calculation of ISO brightnessISObrightnessReflectometerRSD
Blackbody radiator color temperature to CIE 1931 x,y chromaticity approximation functionkelvin2xy
Convert CIE Lab coordinates to LCHabLab2LCHab
Convert CIE Lab coordinates to CIE LuvLAB2LUV
Convert CIE Lab coordinates to XYZLab2XYZ
Convert LCHab coordinates to CIE LabLCHab2Lab
Convert LCHuv coordinates to CIE LuvLCHuv2Luv
Convert LEF coordinates to RGBLEF2RGB
Convert LMS coordinates to DKLLMS2DKL
Convert LMS coordinates to RGBLMS2RGB
Convert LMS coordinates to XYZLMS2XYZ
Convert LSLM coordinates to RGBLSLM2RGB
Convert CIE Luv coordinates to CIE LabLUV2LAB
Convert CIE Luv coordinates to LCHuvLuv2LCHuv
Convert CIE Luv coordinates to XYZLuv2XYZ
Convert CIE Luv coordinates to YuvLuv2Yuv
Generate a Chromatic Adaptation matrixmakeChromaticAdaptationMatrix
Material Reference Data from Principles of Digital Image SynthesisMaterialReferenceData
Table with maximum chroma for which extrapolated renotation data is availableMaxChromaFromExtrapRenotationData
Table with maximum Munsell chroma, for a given Munsell hue and value, for which an extrapolated renotation value is availableMaxChromasForStandardMunsellHuesAndValues
Plot the Maxwell triangleMaxwell.triangle Maxwell.triangle.color Maxwell.triangle.color.fill
Chromaticity diagram showing values for x and y for Illuminant A for 100 hues at 5/5Munsell100hues55
Munsell 100-Hues at 5/5, production numbers 101 to 200 and Farnsworth-Munsell 100 Hue testMunsell100hues55FM100
Table with Munsell HuesMunsellHues
Table with Munsell Neutrals and corresponding sRGBMunsellNeutrals2sRGB
convert Munsell notation to numeric HVCMunsellSpecToHVC
Table with Munsell spectral dataMunsellSpectral
Munsell value V to relative luminance YMunsellV2relativeLuminanceY
Munsell value to CIE XYZ "Y"MunsellV2Y
Nickerson Color DifferenceNickersonColorDifference
Convert PhotoYCC to RGBPhotoYCC2RGB
Preucil AnglePreucilAngle
Preucil Percentage of GreynessPreucilPercentGreyness
Preucil Percentage of GreynessPreucilPercentHueError
Convert sRGB coordinates to CMYRGB2CMY
convert RGB to DKLrgb2dklCart rgb2dklV
Convert RGB coordinates to HSLRGB2HSL
Convert RGB coordinates to HSVRGB2HSV
Convert sRGB coordinates to hueRGB2hue
Convert RGB coordinates to LEFRGB2LEF
Convert RGB coordinates to LMSRGB2LMS
Convert RGB coordinates to LSLMRGB2LSLM
Convert RGB coordinates to PhotoYCCRGB2PhotoYCC
Convert sRGB coordinates to XYZRGB2XYZ
Convert RGB coordinates to YCbCrRGB2YCbCr
Convert RGB coordinates to YIQRGB2YIQ
Convert RGB coordinates to YPbPrRGB2YPbPr
Convert RGB coordinates to YUVRGB2YUV
convert from three filter measurements (reflectance factors) to XYZRxRyRz2XYZ
saturation CIECAM 2002saturationCIECAM02
CIELAB saturation (Eva Lubbe)saturationCIELABEvaLubbe
CIELUV/CIELAB saturationsaturationCIELAB saturationCIELUV
Smith & Pokorny (1975) 2-deg cone fundamentalsSmithPokorny2degConeFundamentals1975
Correlated Color Temperature (CCT) from spectraspectra2CCT
CRI, GAI and FSCI from spectraspectra2CRIGAIFSCI
Diffuse blue reflectance factor (ISO brightness)spectra2ISObrightness
Illuminance (Lux) from spectraspectra2lux
convert spectral data to tristimulus valuesspectra2XYZ
Interpolates an n by w matrix of spectra, spraguesprague
Stearns and Stearns correctionStearnsStearnscorrection
Stensby WhitenessStensby68.Whiteness
Stockman & Sharpe (2000) 10-deg cone fundamentalsStockmanMacLeodJohnson10degConeFundamentals1993
Stockman, MacLeod & Johnson (1993) 2-deg cone fundamentalsStockmanMacLeodJohnson2degCIEadjConeFundamentals1993
Stockman, MacLeod & Johnson (1993) 2-deg fundamentalsStockmanMacLeodJohnson2degStilesBurchConeFundamentals1993
Stockman & Sharpe (2000) 10-deg cone fundamentalsStockmanSharpe10degCMFS2000
Stockman & Sharpe (2000) 2-deg cone fundamentalsStockmanSharpe2degCMFadj2000
ISCC-NBS SystemSystemISCCNBS
Taube WhitenessTaube60.Whiteness
The spectral reflectance data of 14 color test samples for CRITCSdata
434 Munsell colors with tristimulus and CMFs for a few illuminantstristimulusMunsell
Vos, Estévez & Walraven (1990) 2-deg cone fundamentalsVosEstevezWalraven2degConeFundamentals1990
Vos & Walraven(1971) 2-deg cone fundamentalsVosWalraven2degConeFundamentals1971
Westland, et al. blackness indexWestlandBlacknessIndex
White points of standard illuminantswhitepointsilluminants
Primaries for RGB color spaceswhitepointsRGB
Approximates wavelength to CIE tristimulus XYZwlnm2XYZ wlnm2xyz
Approximations from wavelengths to XYZ by Wyman et alxFit_1931 yFit_1931 zFit_1931
convert from chromaticity coordinates to correlated color temperature (Hernandez Andres)xy2CCT.HernandezAndres
convert from chromaticity coordinates to correlated color temperaturexy2CCT.McCamy
x, y coordinates transformed to Judd (1951) x', y' systemxyChromaticitiesVos1978
Convert CIE CMF to XYZxyY2XYZ
convert from XYZ coordinates to BVRXYZ2BVR
convert from chromaticity coordinates to correlated color temperature (Robertson)XYZ2CCT.Robertson
convert from XYZ coordinates to Hunter Lab coordinatesXYZ2HunterLab
convert from XYZ coordinates to CIE Lab coordinatesXYZ2Lab
Convert XYZ coordinates to LMSXYZ2LMS
convert from XYZ coordinates to CIE Luv coordinatesXYZ2Luv
convert from XYZ coordinates to CIE RGB coordinatesXYZ2RGB
convert from XYZ to three filter measurements (reflectance factors)XYZ2RxRyRz
convert from XYZ coordinates to xyY coordinatesXYZ2xyY
convert from XYZ coordinates to Yuv coordinatesXYZ2Yuv
Approximations from wavelengths to XYZ by Moon & SpencerXYZMoonSpencer1945
Perfect reflecting diffuser dataXYZperfectreflectingdiffuser
Approximations from wavelengths to XYZ by Tannenbaum 1974XYZTannenbaum1974
convert from XYZ coordinates to RGBXYZtoRGB
CIE XYZ "Y" to Munsell valueY2MunsellV
CIE XYZ "Y" to Munsell value formula, based on the ASTM Standard D1535-08Y2MunsellVtable1D1535
Convert YCbCr coordinates to RGBYCbCr2RGB
Convert YIQ coordinates to RGBYIQ2RGB
Convert YCbCr coordinates to RGBYPbPr2RGB
Convert Yuv coordinates to LuvYuv2Luv
Convert YUV coordinates to RGBYUV2RGB
convert from Yuv coordinates to xy coordinatesYuv2xy
convert from Yuv coordinates to XYZ coordinatesYuv2XYZ
convert from Yxy coordinates to CIE 1960 UCSYxy2CIE1960UCS
convert from Yxy coordinates to Yuv coordinatesYxy2Yuv