your test shot is a bit underexposed indeed.

i can see two differences. i'm not fixing (0,0) and (1,1), i could do that.

but even the values in between are different, did you use the same picture
for profiling?

also i'm fitting the curve to the green channel, maybe the average would be
better in your specific case, not sure i see it right but the pdf looks
like there are very few green samples close to 0?

j.



On Fri, Aug 16, 2013 at 4:58 PM, Pascal Obry <pas...@obry.net> wrote:

>
> Johannes,
>
> > that should result in exactly the same data. do you have a plot of both
> > curves somewhere? or at least the pdf produced by my script? maybe the
> > fitting procedure went wrong. that's the only difference, my script also
> > fits an 8-point spline (call `./basucurve raw.ppm jpg.ppm 20' to use 20
> > control points instead).
>
> Yes, I have use 20 indeed.
>
> Here is the top of fit.dat (not that the last point is {1.0, 0.0} and I
> have changed it to  {1.0, 1.0} in dt, I'm missing plain white on my
> tests images I suppose).
>
> # err 726787904.000000 improved 1 times
> # copy paste into iop/basecurve.c (be sure to insert name, maker, model,
> and set the last 0 to 1 if happy to filter it):
> # { "new measured basecurve", "insert maker", "insert model", 0, 51200,
>                        {{{{0.000000, 0.003646}, {0.000146, 0.000607},
> {0.001166, 0.000848}, {0.003936, 0.002483}, {0.009331, 0.006436},
> {0.018224, 0.018421}, {0.031491, 0.049220}, {0.050007, 0.110743},
> {0.074646, 0.198651}, {0.106284, 0.294826}, {0.145794, 0.392855},
> {0.194052, 0.487193}, {0.251932, 0.588055}, {0.320309, 0.697085},
> {0.400058, 0.793382}, {0.492054, 0.878447}, {0.597172, 0.942349},
> {0.716285, 0.992227}, {0.850270, 1.000000}, {1.000000, 0.000000}}},
> {20}, {m}}, 0, 0},
>
> And attached is the basecurve.pdf generated by gnuplot.
>
> For the record here is Torsten data:
>
> {nikon_d800, "NIKON", "D800", 0, 51200,                  {{{{0.000000,
> 0.000000},{0.000100, 0.000647},{0.001000, 0.000753},{0.010000,
> 0.005992},{0.030000, 0.036068},{0.070000, 0.154459},{0.100000,
> 0.240735},{0.150000, 0.361325},{0.200000, 0.453970},{0.250000,
> 0.534198},{0.300000, 0.610010},{0.350000, 0.681030},{0.400000,
> 0.741190},{0.450000, 0.793201},{0.500000, 0.837424},{0.600000,
> 0.905934},{0.700000, 0.952744},{0.800000, 0.986707},{0.900000,
> 0.999955},{1.000000, 1.000000}}}, {20}, {m}}, 0, 1},
>
> As you see the value are a bit darker (lower) with Torsten data.
>
> 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

Reply via email to