From 1cf1e111d58a1cc3abe532ddad325d093846df2d Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Mon, 18 Mar 2019 17:43:17 +0100 Subject: [PATCH] Update histmatching.cc Allow histogram matching also for small thumbs --- rtengine/histmatching.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/histmatching.cc b/rtengine/histmatching.cc index 614e5368a..b83cc0562 100644 --- a/rtengine/histmatching.cc +++ b/rtengine/histmatching.cc @@ -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; }