Converts hyperspectral reflectance signatures to device- independent sRGB hex codes and CIE L*a*b* coordinates using the CIE 1931 2-degree standard observer and the D65 standard illuminant. Includes bundled reference data so the package is self-contained. Handles missing and non-finite reflectance values via a configurable policy.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.0) |
| Imports: | stats, grDevices, utils |
| Suggests: | testthat (≥ 3.0.0), readxl, knitr, rmarkdown |
| Published: | 2026-10-20 |
| DOI: | 10.32614/CRAN.package.spectra2rgb (may not be active yet) |
| Author: | Jhohan Elguera [aut, cre] |
| Maintainer: | Jhohan Elguera <jelguerat at gmail.com> |
| License: | GPL (≥ 3) |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | spectra2rgb results |
| Reference manual: | spectra2rgb.html , spectra2rgb.pdf |
| Vignettes: |
Introduction to spectra2rgb (source, R code) |
| Package source: | spectra2rgb_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=spectra2rgb to link to this page.