From 3e578ba1be02cd25f78188568a09888b145b76cf Mon Sep 17 00:00:00 2001 From: lltcggie Date: Sun, 6 Dec 2015 14:33:38 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E6=95=B4?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/waifu2x.cpp | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/common/waifu2x.cpp b/common/waifu2x.cpp index 5af90d1..b6c353b 100644 --- a/common/waifu2x.cpp +++ b/common/waifu2x.cpp @@ -79,6 +79,7 @@ const int ConvertInverseMode = CV_YUV2RGB; const int MinCudaDriverVersion = 6050; // floatな画像をuint8_tな画像に変換する際の四捨五入に使う値 +// https://github.com/nagadomi/waifu2x/commit/797b45ae23665a1c5e3c481c018e48e6f0d0e383 const double clip_eps8 = (1.0 / 255.0) * 0.5 - (1.0e-7 * (1.0 / 255.0) * 0.5); static std::once_flag waifu2x_once_flag; @@ -825,19 +826,6 @@ Waifu2x::eWaifu2xError Waifu2x::ReconstructImage(boost::shared_ptr