Ask Your Question
0

SuperResolution nextFrame bug

asked Aug 9 '13

kovand11 gravatar image

updated Aug 9 '13

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

//Ptr<superresolution> superRes;

superRes->nextFrame(result);

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

http://i.imgbox.com/abwNaL3z.jpg

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

Any idea?

Update:

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

Preview: (hide)

3 answers

Sort by » oldest newest most voted
2

answered Aug 18 '13

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

Preview: (hide)
0

answered Nov 18 '13

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!

Preview: (hide)
0

answered Nov 18 '13

have found it!thank you the same

Preview: (hide)

Question Tools

Stats

Asked: Aug 9 '13

Seen: 983 times

Last updated: Nov 18 '13