From Sat, 8 Sep 2007 16:19:36 +0200 "Udi Fuchs" <[EMAIL PROTECTED]> wrote:
> > So I think that your blackbox covers 99% of applications out there, > > but unfortunately to please the remaining 1%, you will need to > > expose some more functions in the public API. > I think that UFRaw also goes into this 1%. First, for the interactive > interface it would also require handling of tiles, otherwise it will > be too slow. Second, handling corrections of raw files could make use > of the raw data, and therefore require different algorithms. Strange to hear this, since I design the library with ufraw in mind ;-) It's just a misunderstanding of the library interface. I did not meant to have a function which will do a complete post-processing of the whole image. Instead, I have in mind little functions which will be called per-pixel and perform all computations, returning the result. The distortion and TCA correction is done via the method: void lfCorrector::Apply (float xu, float yu, float *xd, float *yd) The idea is that you call this method for every pixel of the image, and you get an array of three x and three y's for red, green and blue correspondingly. Then you just take the r/g/b values from the derived coordinates and put them at xu, yu. If you do that on a complete image or on a sensor dump - it's up to the application. -- Andrew
signature.asc
Description: PGP signature
_______________________________________________ CREATE mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/create
