Hallöchen!

Gert van der Plas - Schrama writes:

> Could someone tell me the exact difference between the base curve
> and the tone curve.

Technically, the base curve happens in RGB space, and the tone curve
in Lab space.  Among other things, this means that flat areas in the
base curve tend to desaturate, which is not the case for the tone
curve.

> [...]
> The default base curve for the nex is really ugly for most cases.

The "Sony-like" base curve of Darktable is substantially darker than
the in-camera NEX base curve.  I you know a little bit of C, you can
add a NEX curve to
http://darktable.org/redmine/projects/darktable/repository/revisions/master/entry/src/iop/basecurve.c
It is:

  {sony_nex, "SONY", "NEX", 0, 51200,                      {{{{0.000000, 
0.000000},{0.000100, 0.000426},{0.001000, 0.000735},{0.007000, 
0.022061},{0.010000, 0.040219},{0.030000, 0.124101},{0.100000, 
0.379779},{0.130000, 0.472991},{0.160000, 0.541775},{0.200000, 
0.605820},{0.250000, 0.671568},{0.300000, 0.731217},{0.400000, 
0.808249},{0.500000, 0.864802},{0.600000, 0.896690},{0.700000, 
0.925065},{0.800000, 0.951827},{0.900000, 0.976113},{0.950000, 
0.990095},{1.000000, 1.000000}}}, {20}, {m}}, 1},

You must also add the line

static const char sony_nex[] = N_("sony NEX like");

at the appropriate position in the same file.

Tschö,
Torsten.

-- 
Torsten Bronger    Jabber ID: [email protected]
                                  or http://bronger-jmp.appspot.com


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to