connectedComponents() not working
I have problem using connectedComponents() .Error shows at line 341
I have problem using connectedComponents() .Error shows at line 341
My magic crystal balls tells me that the type of your matrix is wrong. Do you pass an image with multiple channels (e.g. CV_8UC3). How do you create or load your image?
Asked: 2016-08-17 05:58:24 -0600
Seen: 600 times
Last updated: Aug 17 '16
Does OpenCV provide Connected Component labeling method for binary image?
How to segment a part of any object for counting purpose as per given binary image?
circularity of a connected component
Connected component analysis using OpenCV in C
connectedComponents in openCV4Android?
Algorithm use in function "connectedComponent" OpenCV 3 beta
aaannd the error is ?
please also show, how you try to call it !
connectedComponents(image, labels, connectivity=8, type=CV_32S) ,show error at this line of connectedcomponents.cpp ( CV_Assert(L.channels() == 1 && I.channels() == 1);)