Update histmatching.cc
Allow even smaller thumbs for histogram matching. Tested on Phase One 65+ files. Works fine.
This commit is contained in:
parent
1cf1e111d5
commit
209cc16e0d
@ -289,7 +289,7 @@ void RawImageSource::getAutoMatchedToneCurve(const ColorManagementParams &cp, st
|
|||||||
histMatchingCache = outCurve;
|
histMatchingCache = outCurve;
|
||||||
*histMatchingParams = cp;
|
*histMatchingParams = cp;
|
||||||
return;
|
return;
|
||||||
} else if (w * 25 < fw) {
|
} else if (w * 32 < 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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user