On Wed, Aug 14, 2013 at 5:50 PM, Pascal Obry <pas...@obry.net> wrote:
>
> Hi Johannes,
>
> > for everybody's continued basecurve calibration pleasure i've pushed a
> > small c program to git master:
> >
> > https://github.com/darktable-org/darktable/tree/master/tools/basecurve
>
> Great!
>
> > which you can use to extract a basecurve from a raw + jpg pair. it takes
> > a lot less memory than the python script and will create an optimized
> > fit to only 8 control points (you can increase it from the cmdline if
> > necessary). it'll give you a line of code to insert into iop/basecurve.c
> > to get a new preset (after a recompile).
>
> Hum, lot of things are output on my side. I found the necessary line for
> iop/basecurve.c in the middle of a huge float number output :) Maybe
> some debug data still output?
>
right, forgot that detail. you have to call it like
make && ./basecurve inputraw.ppm inputjpg.ppm > basecurve.dat 2> fit.dat
i should really create those files directly.
-jo
>
> Pascal.
>
> --
> Pascal Obry / Magny Les Hameaux (78)
>
> The best way to travel is by means of imagination
>
> http://v2p.fr.eu.org
> http://www.obry.net
>
> gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel