From 2c9405722792ef2c1d1487bd617723c5d5830aa0 Mon Sep 17 00:00:00 2001 From: lltcggie Date: Thu, 31 Dec 2015 14:44:43 +0900 Subject: [PATCH] =?UTF-8?q?auto=5Fscale=E3=81=A7=E6=8B=A1=E5=A4=A7?= =?UTF-8?q?=E3=81=8C=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA=E3=81=8B?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20#8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/waifu2x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/waifu2x.cpp b/common/waifu2x.cpp index 14ba173..9fc01f1 100644 --- a/common/waifu2x.cpp +++ b/common/waifu2x.cpp @@ -1665,7 +1665,7 @@ Waifu2x::eWaifu2xError Waifu2x::waifu2x(const boost::filesystem::path &input_fil const bool isJpeg = boost::iequals(ipext.string(), ".jpg") || boost::iequals(ipext.string(), ".jpeg"); const bool isReconstructNoise = mode == "noise" || mode == "noise_scale" || (mode == "auto_scale" && isJpeg); - const bool isReconstructScale = mode == "scale" || mode == "noise_scale"; + const bool isReconstructScale = mode == "scale" || mode == "noise_scale" || mode == "auto_scale"; cv::Mat float_image; ret = LoadMat(float_image, input_file);