Project

General

Profile

Feature #9935

Nikon D7000 base curve

Added by Istvan Kovacs over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
05/03/2014
Due date:
% Done:

0%

Affected Version:
System:
bitness:
hardware architecture:
amd64/x86

Description

Attached is measurement data based on images of a WhiBal card. 3 images were used: correctly exposed, overexposed, underexposed. Please verify correctness, and, if found to be OK, add to Darktable.

generated_files.zip (3.94 MB) Istvan Kovacs, 05/03/2014 09:36 AM

toneCurve4NikonD7000.tar.bz2 (3.94 MB) Cherrot Luo, 05/04/2014 06:30 PM

nef+xmp+output_jpg+screenshot.zip (33.4 MB) Istvan Kovacs, 05/11/2014 11:18 PM

mycameracurve1.sh Magnifier (6.27 KB) Rafa G., 10/13/2014 06:52 PM

tonecurve.pdf (275 KB) Istvan Kovacs, 10/21/2014 10:47 PM

basecurve.pdf (746 KB) Istvan Kovacs, 10/21/2014 10:47 PM

darktable-d7000-curves.sh Magnifier (6.26 KB) Istvan Kovacs, 10/23/2014 07:38 PM

History

#1 Updated by Istvan Kovacs over 3 years ago

Be warned: it works very well (for me) on a portrait I tried (natural light, shadows), but is very bad on another shot (artificial stage lighting - strong green tinge). I'll try and build another profile.

#2 Updated by Cherrot Luo over 3 years ago

Following the explanation in http://www.darktable.org/redmine/issues/9940, I have generated a new base/tone curve based on 35 images. All the sample images are taken under the natural light (2 of them are shot in night which was underexposed, without auto d-lighting or other post-processing)

@Istvan Kovacs, Could you help me to verify if this profile is fine for your images?

#3 Updated by Istvan Kovacs over 3 years ago

It's the same, I think colour is greenish.
http://photos.kovacs-telekes.org/Other/Darktable-issues/Feature-9935-Nikon-D7000-curve/
Notice the skin tones, especially the girl on the left-hand-side of the crop.

#4 Updated by Istvan Kovacs over 3 years ago

Cherrot Luo's tone curve sometimes causes bright dots to appear on dark areas on my 1.5 build. My curve (quite similar) do not. Affects darkroom, but not exported image - don't know if this has anything to do with the curves, or if it's a bug in DT. Sample NEF + XMP + output JPG attached.

#5 Updated by Rafa G. over 3 years ago

I generated a new base curve called "Custom Nikon D7000".

I used a lot of photos from some hikings and a catwalk inside a shop.

Could you try it?

#6 Updated by Istvan Kovacs over 3 years ago

I also updated my measurements, as posted to the devel list on 21 August. The new measurement used the following exposure series:
http://photos.kovacs-telekes.org/Other/Darktable-issues/Exposure-series-for-D7000/

The C code:
  1. if it pleases you, then in iop/basecurve.c append the following line
    to the array basecurve_presets and modify its name
  2. {"NIKON D7000", "NIKON CORPORATION", "NIKON D7000", 0, 51200, {{{{0.000000, 0.000000}, {0.011560, 0.006325}, {0.029302, 0.029892}, {0.096124, 0.211161}, {0.132725, 0.299216}, {0.226832, 0.460660}, {0.315208, 0.583380}, {0.334683, 0.611112}, {0.402222, 0.691346}, {0.437903, 0.732059}, {0.540539, 0.824187}, {0.612192, 0.875061}, {0.645871, 0.897305}, {0.771457, 0.959305}, {0.919950, 0.998780}, {1.000000, 1.000000}}}, {16}, {m}}, 0, 1},
  1. if it pleases you, then in iop/tonecurve.c append the following line
    to the array presets_from_basecurve and modify its name
  2. {"NIKON D7000", {{{{0.000000, 0.000000}, {0.001862, 0.000199}, {0.004178, 0.002058}, {0.020007, 0.009501}, {0.024802, 0.011919}, {0.069045, 0.033669}, {0.107349, 0.063897}, {0.141981, 0.109107}, {0.195126, 0.197401}, {0.241382, 0.288750}, {0.294749, 0.400042}, {0.332358, 0.471507}, {0.481623, 0.676333}, {0.607574, 0.792034}, {0.866218, 0.970070}, {1.000000, 1.000000}, },{{0.000000, 0.000000}, {0.062500, 0.062500}, {0.125000, 0.125000}, {0.187500, 0.187500}, {0.250000, 0.250000}, {0.312500, 0.312500}, {0.375000, 0.375000}, {0.437500, 0.437500}, {0.500000, 0.500000}, {0.562500, 0.562500}, {0.625000, 0.625000}, {0.687500, 0.687500}, {0.750000, 0.750000}, {0.812500, 0.812500}, {0.875000, 0.875000}, {0.937500, 0.937500},
    },{{0.000000, 0.000000}, {0.062500, 0.062500}, {0.125000, 0.125000}, {0.187500, 0.187500}, {0.250000, 0.250000}, {0.312500, 0.312500}, {0.375000, 0.375000}, {0.437500, 0.437500}, {0.500000, 0.500000}, {0.562500, 0.562500}, {0.625000, 0.625000}, {0.687500, 0.687500}, {0.750000, 0.750000}, {0.812500, 0.812500}, {0.875000, 0.875000}, {0.937500, 0.937500}, },}, {16, 16, 16}, {2, 2, 2}, 0, 0, 0}},

#7 Updated by Rafa G. over 3 years ago

Could you paste the shell script for adding your base and tone curve to my installation and test it?

The original ones didn't went well for my photos.

Thanks

Istvan Kovacs wrote:

I also updated my measurements, as posted to the devel list on 21 August. The new measurement used the following exposure series:
http://photos.kovacs-telekes.org/Other/Darktable-issues/Exposure-series-for-D7000/

The C code:
  1. if it pleases you, then in iop/basecurve.c append the following line
    to the array basecurve_presets and modify its name
  2. {"NIKON D7000", "NIKON CORPORATION", "NIKON D7000", 0, 51200, {{{{0.000000, 0.000000}, {0.011560, 0.006325}, {0.029302, 0.029892}, {0.096124, 0.211161}, {0.132725, 0.299216}, {0.226832, 0.460660}, {0.315208, 0.583380}, {0.334683, 0.611112}, {0.402222, 0.691346}, {0.437903, 0.732059}, {0.540539, 0.824187}, {0.612192, 0.875061}, {0.645871, 0.897305}, {0.771457, 0.959305}, {0.919950, 0.998780}, {1.000000, 1.000000}}}, {16}, {m}}, 0, 1},
  1. if it pleases you, then in iop/tonecurve.c append the following line
    to the array presets_from_basecurve and modify its name
  2. {"NIKON D7000", {{{{0.000000, 0.000000}, {0.001862, 0.000199}, {0.004178, 0.002058}, {0.020007, 0.009501}, {0.024802, 0.011919}, {0.069045, 0.033669}, {0.107349, 0.063897}, {0.141981, 0.109107}, {0.195126, 0.197401}, {0.241382, 0.288750}, {0.294749, 0.400042}, {0.332358, 0.471507}, {0.481623, 0.676333}, {0.607574, 0.792034}, {0.866218, 0.970070}, {1.000000, 1.000000}, },{{0.000000, 0.000000}, {0.062500, 0.062500}, {0.125000, 0.125000}, {0.187500, 0.187500}, {0.250000, 0.250000}, {0.312500, 0.312500}, {0.375000, 0.375000}, {0.437500, 0.437500}, {0.500000, 0.500000}, {0.562500, 0.562500}, {0.625000, 0.625000}, {0.687500, 0.687500}, {0.750000, 0.750000}, {0.812500, 0.812500}, {0.875000, 0.875000}, {0.937500, 0.937500},
    },{{0.000000, 0.000000}, {0.062500, 0.062500}, {0.125000, 0.125000}, {0.187500, 0.187500}, {0.250000, 0.250000}, {0.312500, 0.312500}, {0.375000, 0.375000}, {0.437500, 0.437500}, {0.500000, 0.500000}, {0.562500, 0.562500}, {0.625000, 0.625000}, {0.687500, 0.687500}, {0.750000, 0.750000}, {0.812500, 0.812500}, {0.875000, 0.875000}, {0.937500, 0.937500}, },}, {16, 16, 16}, {2, 2, 2}, 0, 0, 0}},

#8 Updated by Istvan Kovacs over 3 years ago

Attached. On some images, this is darker and more contrasty than camera preview JPG; with others, less contrasty. I probably had Active D-Lighting enabled, which actually underexposes in order to save highlights and lifts shadows to compensate, something DT won't do by itself. Anyway, try the attached curves.

#9 Updated by Rafa G. over 3 years ago

Istvan Kovacs wrote:

Attached. On some images, this is darker and more contrasty than camera preview JPG; with others, less contrasty. I probably had Active D-Lighting enabled, which actually underexposes in order to save highlights and lifts shadows to compensate, something DT won't do by itself. Anyway, try the attached curves.

Ok, I'll try tonight.

Please, you try mine base curve too

Also available in: Atom PDF