Changed master exponent default from 2.0 to 1.5; it was too large for high-contrast negatives. Set all sliders as log-scale, centered at 1.0, so that reasonable values can be fine-tuned more easily.

This commit is contained in:
rom9
2019-06-28 21:29:06 +02:00
parent d7bab9ba9f
commit 4e09fd4f21
3 changed files with 10 additions and 13 deletions

View File

@@ -150,7 +150,7 @@ bool rtengine::RawImageSource::getFilmNegativeExponents(Coord2D spotA, Coord2D s
if (ch == 1) {
newExps[ch] = 1.f; // Green is the reference channel
} else {
newExps[ch] = CLAMP(logBase(clearVals[ch] / denseVals[ch], denseGreenRatio), 0.3f, 6.f);
newExps[ch] = CLAMP(logBase(clearVals[ch] / denseVals[ch], denseGreenRatio), 0.3f, 4.f);
}
}

View File

@@ -2736,9 +2736,9 @@ bool MetaDataParams::operator!=(const MetaDataParams &other) const
FilmNegativeParams::FilmNegativeParams() :
enabled(false),
redExp(2.72),
greenExp(2.0),
blueExp(1.72)
redExp(2.04),
greenExp(1.5),
blueExp(1.29)
{
}