I have images of size 1.1 - 1.5 G that need to be loaded and processed, then displayed. When I load the image, I get the following error:
OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.1.0-pre) Error: Assertion failed (pixels <= CV_IO_MAX_IMAGE_PIXELS) in cv::validateInputImageSize, file C:\openCV\opencv\modules\imgcodecs\src\loadsave.cpp, line 75
I try to change the default size settings in the code but still get error. What should I do to load images of such size? My computer has plenty of memory, even matlab can load the image without issue.
Thanks in advance