From 7f349a47b6299fdae5651d6cb38660c941d4397f Mon Sep 17 00:00:00 2001 From: Amit D Date: Mon, 11 Oct 2021 19:29:39 +0300 Subject: [PATCH] Fix a bug in the thresholder --- src/ccmain/thresholder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ccmain/thresholder.cpp b/src/ccmain/thresholder.cpp index f51e12d5..20793808 100644 --- a/src/ccmain/thresholder.cpp +++ b/src/ccmain/thresholder.cpp @@ -198,7 +198,7 @@ std::tuple ImageThresholder::Threshold( Image original = GetPixRect(); pix_binary = original.copy(); original.destroy(); - return std::make_tuple(false, nullptr, pix_binary, nullptr); + return std::make_tuple(true, nullptr, pix_binary, nullptr); } auto pix_grey = GetPixRectGrey();