Re: [Gegl-developer] Color temperature correction GeglOperation

2008-04-28 Thread Jan Heller
Hi, On 18:36, Sat 26 Apr 08, Kevin Cozens wrote: 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

Re: [Gegl-developer] Color temperature correction GeglOperation

2008-04-26 Thread Øyvind Kolås
On Fri, Apr 25, 2008 at 6:52 PM, Jan Heller [EMAIL PROTECTED] wrote: I wrote it to better familiarize myself with Gegl and I am posting it here in hope it will be useful for others. I think it is a good operation to have, so I have commited a slightly modified version to svn. GEGL and babl

Re: [Gegl-developer] Color temperature correction GeglOperation

2008-04-26 Thread Jan Heller
Hi, On 11:09, Sat 26 Apr 08, Øyvind Kolås wrote: On Fri, Apr 25, 2008 at 6:52 PM, Jan Heller [EMAIL PROTECTED] wrote: I wrote it to better familiarize myself with Gegl and I am posting it here in hope it will be useful for others. I think it is a good operation to have, so I have

Re: [Gegl-developer] Color temperature correction GeglOperation

2008-04-26 Thread Kevin Cozens
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

[Gegl-developer] Color temperature correction GeglOperation

2008-04-25 Thread Jan Heller
Hi, attached is a GeglOperation performing color temperature correction. This is of course analogical to the whitebalance operation that is already in the Gegl source tree, though it uses photographer friendly input values. It has two parameters, estimated temperature of the light source in