[Radiance-general] Converting XYZ to Radiance RGB
Greg Ward
gregoryjward at gmail.com
Thu Jun 23 06:12:04 PDT 2016
Hi Parisa,
You can use the xyz_rgb.cal definitions in ray/src/cal/cal, like so:
rcalc -f xyz_rgb.cal -e "$1=R($1,$2,$3);$2=G($1,$2,$3);$3=B($1,$2,$3)"
Then, type or redirect your XYZ values separated by spaces or tabs to the standard input to get RGB values on the standard output.
Cheers,
-Greg
> From: parisa khademagha <p.khademagha at gmail.com>
> Subject: [Radiance-general] Converting XYZ to Radiance RGB
> Date: June 23, 2016 8:34:54 AM EDT
> To: Radiance general discussion <radiance-general at radiance-online.org>
> Reply-To: Radiance general discussion <radiance-general at radiance-online.org>
>
> Dear all,
>
> I have used Konica Minolta (CL-500A) spectrometer to measure X Y Z values of the real sky using the data management software CL-S10w. I want to convert these X Y Z values to the Radiance R G B. Is there any way/script for such conversion?
>
> Thanks in advance,
> Kind regards,
>
> Parisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20160623/58218ffc/attachment.html>
More information about the Radiance-general
mailing list