Camera Support #10433
Better white levels for canon 100D
Please find attached a patch with more accurate white levels for Canon 100D.
Note that the procedure described at http://www.darktable.org/2012/10/whats-involved-with-adding-support-for-new-cameras/ did not give accurate results.
I took a few fully overexposed pictures with different iso values and looked at the mean raw value (computed using rawspeed).
There are slight variations, but globally levels are very close to the levels defined for the canon 700D, so i used the same levels for consistency. The only difference with the 700D is the iso_min of the high iso range, which seems to be 12800 instead of 6400.
I guess that the levels of the 700D were determined using a similar method.
Maybe it would be worth to document it for other users? If you are interest, let me know how i may help.
#1 Updated by Pascal de Bruijn almost 5 years ago
What do you mean by the procedure gave inaccurate results? Presumably you just need to do that with DNG converted samples for all ISO levels.
This script might help a bit:
#2 Updated by Adrien Descamps almost 5 years ago
I mean that values were significantly different from what i found using overexposed pictures (DNG Converter gives 12277 for 100 iso and 15000 for other iso values). I used last version of DNG Converter, which officialy support Canon 100D
I may be doing something wrong, but using my values, histograms of overexposed picture (with all modules disabled) look correct for all iso levels.
Also, the fact that my results are consistent with some others canon camera models in cameras.xml makes me think it is correct, or at least that someone else is doing the same thing than me.
By the way, sorry for the wrong tracker, this obviously must go to "Camera support", not "Bug", but it seems that i can't change it myself.
#4 Updated by Adrien Descamps almost 5 years ago
You will find attached a table with the white levels i have.
To be more clear, here is what i did:
I took two series of white pictures with very long exposure time (30'') at each iso value.
The 'dng metadata' row are the value given by the DNG Converter method on the first series.
The 'white1' and 'white2' are the value given by computing the mean of raw values of each series, with a small program using rawspeed.
There is one missing picture (400iso) in second series that was accidentally deleted.
The mean values were computed from CR2 files, not DNG, and i just noticed that it makes a difference since rawspeed does not take the cropping into account for CR2 files.
However, the difference in mean value is really marginal (less than one unit).
You will find all data (including program source, and another series of pictures with overexposed area) here:
#9 Updated by Pedro Côrte-Real almost 5 years ago
We'd like to set whatever is best. I checked your program and indeed we seem to be getting >15000 values. Don't know why you're using the mean and not the max values though. Looking at this it seems we're probably better off leaving it as it is and letting the white point go to 16383 to avoid any clipping.
#10 Updated by Adrien Descamps almost 5 years ago
The problem with the white point at 16383 (and generally, a too high value), is that it results in a pink color in overexposed area.
The effect is very subtle at 200-6400 iso, but clearly visible at 100 iso. Actually, this is probably worst than clipping a part of the histogram for most users, since the problem is more visible.
I used the mean value because the max values seems slightly less stable and are probably sensitive to sensor noise. Moreover, means values are similar to those of other models found in cameras.xml (eg 700D), which made me more confident that my method was correct.
#13 Updated by Roman Lebedev over 3 years ago
- % Done changed from 20 to 100
- Status changed from Incomplete to Fixed
Applied in changeset darktable|0896183ad38765354215645bb80cb40f4cc67037.