I try to detect and count circles in image (for example smarties)
I use HSL color space. But I am not able to distiguish colors od the same color if they are in touch. I try to erode and dilate picture. But result is the same, I have only some blobs(connected components) od the same color. Do you have some general algorithm for this problem?
(I try to do that with EMGUCV library) I cant send image, because I have small reputation. Thanks in advance.