samples: gpu: super_resolution: disable simple optical flow
authorRok Mandeljc <rok.mandeljc@gmail.com>
Fri, 29 Aug 2014 22:15:23 +0000 (00:15 +0200)
committerRok Mandeljc <rok.mandeljc@gmail.com>
Fri, 29 Aug 2014 23:01:08 +0000 (01:01 +0200)
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

index 63173cd..95147a6 100644 (file)
@@ -35,8 +35,8 @@ static Ptr<DenseOpticalFlowExt> 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)