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;
|
histMatchingCache = outCurve;
|
||||||
*histMatchingParams = cp;
|
*histMatchingParams = cp;
|
||||||
return;
|
return;
|
||||||
} else if (w * 10 < fw) {
|
} else if (w * 25 < fw) {
|
||||||
if (settings->verbose) {
|
if (settings->verbose) {
|
||||||
std::cout << "histogram matching: the embedded thumbnail is too small: " << w << "x" << h << std::endl;
|
std::cout << "histogram matching: the embedded thumbnail is too small: " << w << "x" << h << std::endl;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user