Ask Your Question

SuperResolution nextFrame bug

asked 2013-08-09 09:55:10 -0600

kovand11 gravatar image

updated 2013-08-09 17:38:09 -0600

In the superresolution sample (built with vc11 compiler) the the following line:

//Ptr<superresolution> superRes;


results the following error error (tried with multipe test videos):

and if I change the optical flow method to simple, it takes forever to run (30 min with an i7 2600k)

Any idea?


The program used 3.5 GB memory before it stopped. Its simply unreasonable. Must be a memory leak.

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2013-08-18 07:13:46 -0600

Vladislav Vinogradov gravatar image

The BTV SuperResolution algorithm was oriented for small input videos. And it use a lot of memory for inner buffers. Your video has large resolution [768 x 576] and you upscale it with factor 4. Try to reduce scale factor, temporal radius or input resolution (for example upscale only a part of frame).

edit flag offensive delete link more

answered 2013-11-18 02:41:19 -0600

can you tell me the version of the OpenCV and send me the download link address of it? thanks very much; I am studing on SR, have tried TV method, now I want to compare it with BTV, the more exchange the better, thank you!

edit flag offensive delete link more

answered 2013-11-18 03:05:43 -0600

have found it!thank you the same

edit flag offensive delete link more

Question Tools


Asked: 2013-08-09 09:55:10 -0600

Seen: 880 times

Last updated: Nov 18 '13