I’ve tried to calculate radiance rgb values from the XYZ values (CIE-XYZ) with xyz_rgb.cal, but the result that I got seems wrong. The exact command I used was:
rcalc -f xyz_rgb.cal -e "$1=R($1,$2,$3);$1=G($1,$2,$3);$1=B($1,$2,$3)" input.txt> output.txt
The input file contains the following:
100 0 0
and the output was:
7.47243773 0 0
. For comparision of the result I used: https://www.jaloxa.eu/resources/radiance/colour_picker.shtml. It would be awesome if somebody could tell me where my mistake is.