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.
pull/3174/head
Rok Mandeljc 10 years ago
parent f739990f4c
commit 653bca8b74
  1. 4
      samples/gpu/super_resolution.cpp

@ -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)

Loading…
Cancel
Save