Unable to findContours using CV_LINK_RUNS in OpenCV3.3 [closed]

asked 2017-08-23 05:36:31 -0500

VxW gravatar image


my name is Volkmar from Upper Austria and currently I'm working on the upgrade of my program from OpenCV2.4.9 to OpenCV3.3 (x64, Windows7) and I have a problem calling the function findContours;

At OpenCV2.4.9 I have:

std::vector<std::vector<cv::point> > contours;

cv::Mat image; //w=1280, h=1024, type=UINT8, binary image

cv::findContours(image, contours, CV_RETR_LIST, CV_LINK_RUNS);

If I call at Opencv3.3 the same function a "Access violation writing location 0x0000000000000000" occurs.

Any ideas?

Thanks a lot, Volkmar

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by VxW
close date 2017-08-30 02:01:46.285528


hmm, weird, that it's not in the c++ chain flags , only in the c-api version of it

berak gravatar imageberak ( 2017-08-23 08:04:31 -0500 )edit