I have image 6750×6450 px and trying to display it with imshow() function from OpenCv.
When I display one image it’s shown badly(some wired output), when I try to display two images get seqfault. Saving those images on hdd gives good results, images are saved, and they are correct, when I resize both they are also shown correctly. Has imshow() function some size restrictions?
code:
Mat bigImage1 = imread(...);
Mat bigImage2 = imread(...);
namedWindow("first",CV_WINDOW_FULLSCREEN);
namedWindow("second",CV_WINDOW_FULLSCREEN);
imshow("first",bigImage1);
imshow("second",bigImage2);
I’m working on desktop computer Windows 7 64bit
The images are probably larger than your current screen resolution. The problem seems to be that they are simply too big for OpenCV to handle them in a window.
To be certain, I would try your code on Mac or Linux since OpenCV is cross-platform and there are specific window management implementations for every OS.