From 653bca8b741f9455e1da24dcf3ebc1bdab74baf2 Mon Sep 17 00:00:00 2001 From: Rok Mandeljc Date: Sat, 30 Aug 2014 00:15:23 +0200 Subject: [PATCH] samples: gpu: super_resolution: disable simple optical flow The cv::superres::createOptFlow_Simple() function along with the simple optical flow class implementation is currently commented out in the superres module's code, so comment it out in the example as well. --- samples/gpu/super_resolution.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/gpu/super_resolution.cpp b/samples/gpu/super_resolution.cpp index 63173cd420..95147a6d07 100644 --- a/samples/gpu/super_resolution.cpp +++ b/samples/gpu/super_resolution.cpp @@ -35,8 +35,8 @@ static Ptr createOptFlow(const string& name, bool useGpu) else return createOptFlow_Farneback(); } - else if (name == "simple") - return createOptFlow_Simple(); + /*else if (name == "simple") + return createOptFlow_Simple();*/ else if (name == "tvl1") { if (useGpu)