Boring changes - superres.

This commit is contained in:
Roman Donchenko
2013-08-13 17:57:06 +04:00
parent f21851f0f4
commit 93f757f8a2
8 changed files with 25 additions and 24 deletions

View File

@@ -153,7 +153,7 @@ PERF_TEST_P(Size_MatType, SuperResolution_BTVL1,
superRes->set("temporalAreaRadius", temporalAreaRadius);
superRes->set("opticalFlow", opticalFlow);
superRes->setInput(new OneFrameSource_GPU(GpuMat(frame)));
superRes->setInput(makePtr<OneFrameSource_GPU>(GpuMat(frame)));
GpuMat dst;
superRes->nextFrame(dst);
@@ -171,7 +171,7 @@ PERF_TEST_P(Size_MatType, SuperResolution_BTVL1,
superRes->set("temporalAreaRadius", temporalAreaRadius);
superRes->set("opticalFlow", opticalFlow);
superRes->setInput(new OneFrameSource_CPU(frame));
superRes->setInput(makePtr<OneFrameSource_CPU>(frame));
Mat dst;
superRes->nextFrame(dst);