How can I perform connected component analysis on an image ?
Afficher commentaires plus anciens
After color to gray and gray to binary conversion of image I want to do connected component analysis on the same image.
Réponses (2)
Walter Roberson
le 25 Sep 2015
0 votes
Image Analyst
le 25 Sep 2015
Basically it's
[labeledImage, numberOfBlobs] = bwlabel(binaryImage);
or
cc = bwconncomp(binaryImage);
See my Image Segmentation Tutorial for a tutorial on how to use it.
Catégories
En savoir plus sur Image Processing Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!