[Radiance-general] Average value of a Radiance image

Greg Ward gward at lmi.net
Tue Jun 16 08:06:52 PDT 2009


Hi Giovanni,

There are a number of ways to do it, but I prefer using pvalue.  For  
a color (RGB) average, you can use:

	pvalue -h -H -df test.hdr | total -if3 -m

For grayscale average:

	pvalue -b -h -H -df test.hdr | total -if1 -m

For original units (watts/sr/m^2) add a -o to either of the pvalue  
commands above.

-Greg

> From: "Giovanni Betti" <gbetti at fosterandpartners.com>
> Date: June 16, 2009 7:33:25 AM PDT
>
> Hi All,
>
> Can anybody help me with a simple problem?
> How do you evaluate the average value of a radiance (*.pic or *.hdr)
> image?
> Many thanks,
>
> giovanni



More information about the Radiance-general mailing list