Update histmatching.cc
Allow histogram matching also for small thumbs
This commit is contained in:
@@ -289,7 +289,7 @@ void RawImageSource::getAutoMatchedToneCurve(const ColorManagementParams &cp, st
|
||||
histMatchingCache = outCurve;
|
||||
*histMatchingParams = cp;
|
||||
return;
|
||||
} else if (w * 10 < fw) {
|
||||
} else if (w * 25 < fw) {
|
||||
if (settings->verbose) {
|
||||
std::cout << "histogram matching: the embedded thumbnail is too small: " << w << "x" << h << std::endl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user