Hi
I'm testing the super-resolution functionality of opencv 2.4.5. The program runs but I don't see any scale changes in the output frames (after calling nextFrame). For example:
Ptr<SuperResolution> srobj = createSuperResolution_BTVL1();
Ptr<DenseOpticalFlowExt> opflow = createOptFlow_Farneback();
srobj->set("scale", 6);
srobj->set("opticalFlow", opflow);
Ptr<FrameSource> frameSource = createFrameSource_Video("myvid.avi");
srobj->setInput(frameSource);
Mat frame_super;
for(;;)
{
frameSource->nextFrame(frame_super);
imshow("output", frame_super);
waitKey(1);
}
I'm expecting the output "frame_super" would then be images which are 6 times larger than original frames but this isn't the case. Why are they of the same size as original frames?! Any help would be appreciated.