Using OpenCV's stitching module, strange error when compositing images
I'm using OpenCV's stitching module to stitch together a hundred or so 4288x2848 images. I'm stitching a few images a time; I plan on stitching these smaller stitches into one final panorama.
The stitching module works perfectly most of the time. However, I get an exception when I accidentally include duplicates, or images that have no features in common. No big deal, that's my fault. But sometimes, after the stitching module begins to composite the images onto a panorama, I get this error in the command line:
OpenCV Error: Assertion failed (y == 0 || data && dims >= 1 && (unsigned)y < (unsigned)size.p[0])) in unknown function, file C:\slave\WinInstallerMegaPack\src\opencv\modules\core\include\opencv2/core/mat.h\ pp, line 425
This boggles my mind. Does it have something to do with memory? I don't know. Any help would be appreciated.
Example input images (but not a hundred ;-) might help to reproduce and debug this issue...
Hey Kirill, thanks for the reply! Each file is about 6MB, I'm assuming imgur would be appropriate?
Did you ever resolve this?