Boring changes - superres.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user