OpenCV resize fails on large image with “error: (-215) ssize.area() > 0 in function cv::resize”
So it turns out that the problem comes from one line in modules\imgproc\src\imgwarp.cpp: CV_Assert( ssize.area() > 0 ); When the product of rows and columns of the image to be resized is larger than 2^31, ssize.area() results in a negative number. This appears to be a bug in OpenCV and hopefully will be fixed in … Read more