made histogram matching depend on the input profile

This improves the accuracy of the matching when using non-default profiles
This commit is contained in:
Alberto Griggio
2018-02-02 13:57:43 +01:00
parent 8bc414948d
commit e265d23e76
6 changed files with 27 additions and 9 deletions

View File

@@ -139,7 +139,7 @@ public:
}
// for RAW files, compute a tone curve using histogram matching on the embedded thumbnail
virtual void getAutoMatchedToneCurve(std::vector<double> &outCurve)
virtual void getAutoMatchedToneCurve(const ColorManagementParams &cp, std::vector<double> &outCurve)
{
outCurve = { 0.0 };
}