Re: Color temperature correction GeglOperation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> > 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.
> 

In the previous version of the code the values outside the
lookup table got interpolated anyway. The approximating
functions are really quite good and pretty fast. Since
this computation only takes place only at the beginning of
the operation and not per pixel basis, the speed impairment
is really negligible.

Regards,
 Jan
_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux