Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem using connectedComponents() in opencv 3 using Visual Studio 2012

Every time I try to use connectedComponents() function of opencv in my program, the execution of the program gets Aborted with error code R6010. This is what i get on the terminal OpenCV Error: Assertion failed (L.channels() == 1 && I.channels() == 1) in connectedComponents_sub1, file /source/opencv-3.0.0/modules/imgproc/src/connectedcomponents.cpp, line 341