Finding Connected components to a particular pixel in binary image
Afficher commentaires plus anciens
Hi,
I have a binary image with many blobs. I want to know all the connected pixels to a particular pixel whose index I know before hand. How do i do that?
Réponses (1)
KALYAN ACHARJYA
le 12 Déc 2017
Modifié(e) : KALYAN ACHARJYA
le 12 Déc 2017
% Try following
CC=bwconncomp(binary_image); % Default 8 Pixel connected you can change it by
cc=bwconncomp(binary_image,disired_connected_value);
% For detail visit following link
https://in.mathworks.com/help/images/ref/bwconncomp.html
1 commentaire
RIshabh Golchha
le 12 Déc 2017
Catégories
En savoir plus sur Images dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!