[Radiance-general] Converting XYZ to Radiance RGB

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Thu Jun 23 08:23:07 PDT 2016


Use single quotes if on bash...

On 6/23/16, 7:12 AM, "Greg Ward" <gregoryjward at gmail.com<mailto:gregoryjward at gmail.com>> wrote:

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<mailto: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<mailto:radiance-general at radiance-online.org>>

Reply-To: Radiance general discussion <radiance-general at radiance-online.org<mailto: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



More information about the Radiance-general mailing list