I have several color images that I want to label connected component in it. Unfortunately, bwlabel can't help me because it operates on a binary images, and converting my images to binary wouldn't be useful to me. How can I do this?
Another question: if I detect a connected component in an image, and a special pixel exists in that connected component, then if I want to add all pixels in this connected component to that pixel and having that pixel and all other pixels which are in the same connected component. How can I do this?