Update histmatching.cc

Allow even smaller thumbs for histogram matching. Tested on Phase One 65+ files. Works fine.
This commit is contained in:
Ingo Weyrich 2019-03-18 21:21:56 +01:00 committed by GitHub
parent 1cf1e111d5
commit 209cc16e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,7 +289,7 @@ void RawImageSource::getAutoMatchedToneCurve(const ColorManagementParams &cp, st
histMatchingCache = outCurve;
*histMatchingParams = cp;
return;
} else if (w * 25 < fw) {
} else if (w * 32 < fw) {
if (settings->verbose) {
std::cout << "histogram matching: the embedded thumbnail is too small: " << w << "x" << h << std::endl;
}