[Gegl-developer] Color temperature correction GeglOperation

Jan Heller jan.heller at matfyz.cz
Fri Apr 25 10:52:43 PDT 2008


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 K the image was taken with and Corrected
 estimation of the temperature of the light source in K. The
 computation is a rather simple linear interpolation of a
 data table. I wrote it to better familiarize myself with
 Gegl and I am posting it here in hope it will be useful for
 others.

 Regards,
   Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: color-temperature.c
Type: text/x-csrc
Size: 38289 bytes
Desc: not available
Url : /lists/gegl-developer/attachments/20080425/6c2a9e17/attachment-0001.bin 


More information about the Gegl-developer mailing list