I am trying to to tell whether a binarized profile element (in blue in the attached image) has any elements from another channel (green) or both (green and red) within that same profile. I have been thinking about it, but I don’t know how I could tell the macro to count elements in one image that has any number of dots of each other channel.
Please have a look to the image to get a better idea of what I mean. So the final question is how many blue elements have both green and red dots (any number of, but if that could also be quantified it would be good too).
Thanks a lot in advance!