[Gegl-developer] Color temperature correction GeglOperation
Kevin Cozens
kevin at ve3syb.ca
Sat Apr 26 09:36:49 PDT 2008
Jan Heller wrote:
> On 11:09, Sat 26 Apr 08, Øyvind Kolås wrote:
>> It would also be nice to replace the planckian locus lookup table with
>> a function that approximates it.
>
> I played with MATLAB for a while and came up with rational
> functions of degree 5 that approximate the Planckian locus
> dataset reasonably well. Attached is a modified version of
> the operation using these approximations.
I haven't looked at the code yet, but I would have thought execution would be
faster using the lookup table than having to calculate values using a formula
especially given that the formula only approximates the values of the table.
--
Cheers!
Kevin.
http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
More information about the Gegl-developer
mailing list