Raised default master exponent from 1.0 to 2.0, to get a reasonable contrast right from the start.

This commit is contained in:
rom9
2019-06-11 22:50:36 +02:00
parent 5ddc4a3e0e
commit 8d0755eddc
3 changed files with 9 additions and 9 deletions

View File

@@ -117,9 +117,9 @@ bool RawImageSource::getFilmNegativeExponents (Coord2D spotA, Coord2D spotB, int
// compared to the ratio in the reference channel (green)
for(int ch=0; ch<3; ch++)
if(ch==1)
newExps[ch] = 1.f; // Green is the reference channel
newExps[ch] = 2.f; // Green is the reference channel
else
newExps[ch] = CLAMP(logBase(clearVals[ch] / denseVals[ch], denseGreenRatio), 0.3f, 3.f);
newExps[ch] = CLAMP(2.f * logBase(clearVals[ch] / denseVals[ch], denseGreenRatio), 0.3f, 6.f);
if (settings->verbose)
printf("New exponents: R=%g G=%g B=%g\n", newExps[0], newExps[1], newExps[2]);