Description Usage Arguments Value Author(s) References See Also Examples
Because the concept of colors is all about spectroscopy, the biology and physics of the human eye and the brain's perception of the neurological signals, there is no unique one-to-one mapping between wavelength and (R,G,B) values.
1 | Colors$getRgbFromWavelength(wavelength, maxValue=255, ...)
|
wavelength |
Vector of wavelengths to be converted into (R,G,B) values. |
... |
Not used. |
Returns a matrix
with the three rows R, G and B corresponding to the
red, green and blue intensities.
Henrik Bengtsson (http://www.braju.com/R/)
Dan Bruton, Color Science,
http://www.physics.sfasu.edu/astro/color.html, 2002.
efg's Computer Lab, http://www.efg2.com/Lab/ScienceAndEngineering/Spectra.htm, 2002.
For more information see Colors
.
1 | ## Not run: # See help(WavelengthColor) in the R.classes package
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.