histmatching: make sure we use an sRGB profile for generating the target rendering

This commit is contained in:
Alberto Griggio
2018-01-30 10:47:18 +01:00
parent 5effd15bb3
commit ffbd97960f
4 changed files with 6 additions and 4 deletions

View File

@@ -171,6 +171,7 @@ void RawImageSource::getAutoMatchedToneCurve(std::vector<double> &outCurve)
ProcParams neutral;
neutral.raw.bayersensor.method = RAWParams::BayerSensor::getMethodString(RAWParams::BayerSensor::Method::FAST);
neutral.raw.xtranssensor.method = RAWParams::XTransSensor::getMethodString(RAWParams::XTransSensor::Method::FAST);
neutral.icm.output = "sRGB";
std::unique_ptr<IImage8> source;
{