[Radiance-general] RGB irradiance from HDR-images

Dolf Bakker dolfbakker at gmail.com
Tue Aug 6 07:25:11 PDT 2013


Hello everybody,


is it possible to calculate the RGB irradiance values from a HDR-image
(generated by Rpict)?
So I'm trying to use the "photographic film/sensor" of  the "camera" as a
photosensor.

I am trying to do use a HDR image, since I want to apply various masks on
the HDR image.
So I am trying to cut out various sections of my photographic film, and
placing a photosensor / lux-meter on the cut-out sections of the
photographic film.

I was hoping to use something like this:

rmagic basic.hdr | rtrace \-i+ \-dv \-h\- \-ab 3 scene.oct > output1a
rmagic basic.hdr | rtrace \-i+ \-dv \-h\- \-ab 3 scene.oct | rcalc -e
'$1=(0.67*$1+0.265*$2+0.065*$3)*179'  > output1b
rmagic mask1.hdr | rtrace \-i+ \-dv \-h\- \-ab 3 scene.oct > output2a
rmagic mask1.hdr | rtrace \-i+ \-dv \-h\- \-ab 3 scene.oct | rcalc -e
'$1=(0.67*$1+0.265*$2+0.065*$3)*179' > output2b
rmagic mask2.hdr | rtrace \-i+ \-dv \-h\- \-ab 3 scene.oct > output3a
rmagic mask2.hdr | rtrace \-i+ \-dv \-h\- \-ab 3 scene.oct | rcalc -e
'$1=(0.67*$1+0.265*$2+0.065*$3)*179' > output3b

Tip, tricks and suggestions are very welcome!

Thanks in advance,


Dolf Bakker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130806/4472b272/attachment.html>


More information about the Radiance-general mailing list