Description Usage Arguments Value Author(s) Source References Examples
approx.scotopic.luminance.LarsonEtAl.RGB
approximates the scotopic luminance from RGB values.
approx.scotopic.luminance.LarsonEtAl.XYZ
approximates the scotopic luminance from XYZ values.
1 2 | approx.scotopic.luminance.LarsonEtAl.XYZ(XYZmatrix)
approx.scotopic.luminance.LarsonEtAl.RGB(RGBmatrix)
|
XYZmatrix |
matrix with XYZ values |
RGBmatrix |
matrix with RGB values |
approximated scotopic luminance
Jose Gama
Larson, G. W., H. Rushmeier, and C. Piatko (1997, October - December). A visibility matching tone reproduction operator for high dynamic range scenes. IEEE Transactions on Visualization and Computer Graphics 3 (4), 291<e2><80><93>306.
Larson, G. W., H. Rushmeier, and C. Piatko (1997, October - December). A visibility matching tone reproduction operator for high dynamic range scenes. IEEE Transactions on Visualization and Computer Graphics 3 (4), 291<e2><80><93>306.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
samplePics <- c('fruits', 'pastel_color', 'sample1', 'TurnColorsGrayImage1', 'TurnColorsGrayImage2')
for (pics in samplePics)
{
fname<-paste(system.file(package='CVD'),'/extdata/',pics,'.png',sep='')
imgTest<-loadPNG(fname)
imgTest.array<-approx.scotopic.luminance.LarsonEtAl.RGB.array(imgTest)
png::writePNG(imgTest.array, paste(pics, '.approx.scotopic.luminance.LarsonEtAl.RGB.png',sep=''))
}
## End(Not run)
|
[1] "PNG 602x1002, 3 channels."
[1] "PNG 186x180, 3 channels."
[1] "PNG 361x480, 3 channels."
[1] "PNG 300x300, 3 channels."
[1] "PNG 301x302, 3 channels."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.