Hi,
I've faced a problem. Whenever, I let this code be at the end of my program, it executes to the end without any problem.
Mat drawing2 = Mat::zeros( drawing.size(), CV_8UC1 );
fill_holes(drawing, drawing2);
namedWindow( "drawing2", WINDOW_NORMAL );
imshow( "drawing2", drawing2 );
But, when I delete the code, suprisingly, it terminates before the end and the message is like this:
terminate called after throwing an instance of 'cv::Exception'
what(): E:\opencv\sources\modules\core\src\matrix.cpp:284: error: (-215) 0 <= _dims && _dims <= 32 in function setSize
Thank you for the help
↧