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