Project

General

Profile

Camera Support #10273

Base/tone curves for Sony a900

Added by Bogdan Hlevca about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Darkroom
Start date:
01/07/2015
Due date:
% Done:

0%

Affected Version:
git development version

Description

I have created the basecurve from ~30 pictures the results are much better that with any of the exiting profiles, much better.
Cold you please add the code to basecurve.c, it may help others and I don't have to merge the code every time I update the sources.
If there is any interest for the tonecurve also for Sony a900 I also insert it below.

In addition to the code pasted below there is an attachment that contains, beside the necessary files, a bash script that takes raw and matching jpeg files from the current directory and does the whole process (conversion to ppm, etc) and including the insertion the the darktable.db. I hope that someone will find it useful.

As a note the tutorial [[http://www.darktable.org/2013/10/about-basecurves/]] is in need for an update, perhaps the text from tools/basecurve/README.md will be enough for now.


Base Curve

{"DSLR-A900", "SONY ", "DSLR-A900", 0, 51200, {{{{0.000000, 0.000000}, {0.011558, 0.012559}, {0.056471, 0.138019}, {0.099284, 0.277922}, {0.141160, 0.360012}, {0.193909, 0.489666}, {0.296500, 0.673215}, {0.321596, 0.705079}, {0.435793, 0.800367}, {0.595098, 0.887429}, {0.781112, 0.941089}, {1.000000, 1.000000}}}, {12}, {m}}, 1, 0},


Tone Curve

{"DSLR-A900", {{{{0.000000, 0.008767}, {0.000751, 0.009067}, {0.006011, 0.006496}, {0.020286, 0.015113}, {0.048084, 0.040944}, {0.093914, 0.092887}, {0.162284, 0.198914}, {0.257701, 0.380715}, {0.384673, 0.605769}, {0.547709, 0.783421}, {0.751315, 0.925216}, {1.000000, 0.995944}, },{{0.000000, 0.000000}, {0.083333, 0.083333}, {0.166667, 0.166667}, {0.250000, 0.250000}, {0.333333, 0.333333}, {0.416667, 0.416667}, {0.500000, 0.500000}, {0.583333, 0.583333}, {0.666667, 0.666667}, {0.750000, 0.750000}, {0.833333, 0.833333}, {0.916667, 0.916667}, },{{0.000000, 0.000000}, {0.083333, 0.083333}, {0.166667, 0.166667}, {0.250000, 0.250000}, {0.333333, 0.333333}, {0.416667, 0.416667}, {0.500000, 0.500000}, {0.583333, 0.583333}, {0.666667, 0.666667}, {0.750000, 0.750000}, {0.833333, 0.833333}, {0.916667, 0.916667}, },}, {12, 12, 12}, {2, 2, 2}, 0, 0, 0}}

basecurve-sony-a900.tar.gz (3.94 MB) Bogdan Hlevca, 01/07/2015 02:02 AM

basecurve-sony-a900.tar.gz (3.94 MB) Bogdan Hlevca, 01/07/2015 03:10 AM

basecurve-sony-a900.tar.gz (3.93 MB) Bogdan Hlevca, 01/09/2015 11:29 PM

basecurve-a900.png (9.19 KB) Bogdan Hlevca, 01/09/2015 11:36 PM

History

#1 Updated by Bogdan Hlevca about 3 years ago

Lucky me. It appears that tonecurve structure has just changed while I was doing this.Here is the new one and attached an updated zip file. The included bash script came handy. I just had to run it to redo the whole thing :-)

For some reason the custom tone curve is not listed anymore. What bit do I have to toggle to make it appear in the tone curve presets? For the base curve I figured it out, but for tone curve it is not so obvious.

Tone Curve {"DSLR-A900", "SONY ", "DSLR-A900", 0, 51200, {{{{0.000000, 0.008767}, {0.000751, 0.009067}, {0.006011, 0.006496}, {0.020286, 0.015113}, {0.048084, 0.040944}, {0.093914, 0.092887}, {0.162284, 0.198914}, {0.257701, 0.380715}, {0.384673, 0.605769}, {0.547709, 0.783421}, {0.751315, 0.925216}, {1.000000, 0.995944}, },{{0.000000, 0.000000}, {0.083333, 0.083333}, {0.166667, 0.166667}, {0.250000, 0.250000}, {0.333333, 0.333333}, {0.416667, 0.416667}, {0.500000, 0.500000}, {0.583333, 0.583333}, {0.666667, 0.666667}, {0.750000, 0.750000}, {0.833333, 0.833333}, {0.916667, 0.916667}, },{{0.000000, 0.000000}, {0.083333, 0.083333}, {0.166667, 0.166667}, {0.250000, 0.250000}, {0.333333, 0.333333}, {0.416667, 0.416667}, {0.500000, 0.500000}, {0.583333, 0.583333}, {0.666667, 0.666667}, {0.750000, 0.750000}, {0.833333, 0.833333}, {0.916667, 0.916667}, },}, {12, 12, 12}, {2, 2, 2}, 1, 0, 0}},

#2 Updated by Pascal de Bruijn about 3 years ago

Those curves have (too) many curve points, which usually isn't a good idea... Could you try generating a curve with maybe 6 points or so? And could you include a screenshot how the curve looks for you in the UI, that will make assessment a litte easier.

#3 Updated by Pascal de Bruijn about 3 years ago

Note: in all fairness, at this point we're not even sure if we're going to broadly accept curves, as the dt-curve-tool is still fairly immature, and we have nobody to deal with all the submissions.

#4 Updated by Bogdan Hlevca about 3 years ago

OK. I reduced from 12 to 7 nodes. The new curve is attached. You will find in the zip file the screenshot of the base curve and also as a separate attachment.

I was not able to find a way to make the tone curve preset appear in the list. For the base curve I had to toggle the last digit from 0 to 1. I tried to do the same for the Tone curve but it does not appear. Before the last change the tone curve preset was appearing in the list. Do you have any idea how to make it appear now after the latest changes?

I understand that it is a lack of resources, but I think you guys do a great job. Immature as it is the dt-curve-tool gave me good results so it is on the right track. I think that it is a great cooperation, you guys do the work for the tool and we do the work to provide the calibrated curves.

Also available in: Atom PDF