Ask Your Question

icvidal's profile - activity

2015-07-16 07:40:14 -0600 commented question OpenCV Error: Assertion failed in watershed

Same here.

My code used to work with OpenCV 2.4 but I need one of the new features of OpenCV 3.0, when I recompiled the code just failed in that assertion.

Trying to convert the grey scaled image back to RGB works to pass the failure of that assertion but OpenCV fails later so it isn't any workaround.

Is there any fix for this?