[Radiance-general] probing a radiance image, convert radiance to XYZ

Greg Ward gregoryjward at gmail.com
Wed Dec 15 10:04:38 PST 2010


Hi Jelle,

You're very close.  Here's the command:

	ximage -ov ata/Desk.hdr | rcalc -f xyz_rgb.cal -e '$1=179*X($1,$2,$3);$2=179*Y($1,$2,$3);$3=179*Z($1,$2,$3)'

The factor of 179 takes you into standard units of candelas/meter^2 for the Y channel.

Cheers,
-Greg

> From: jelle <jelleferinga at gmail.com>
> Date: December 15, 2010 9:28:32 AM PST
> 
> Hi,
> 
> I'd like to probe a radiance image using ximage -ov, but rather than read it's
> radiance value, I'd like to know its XYZ color values. 
> I'm sure I should be doing something like:
> "ximage -ov data/Desk.hdr | rcalc -f xyz_rgb.cal"
> but my radiance is a little rusty it seems...
> 
> Many thanks in advance,
> 
> -jelle



More information about the Radiance-general mailing list