removing one-voxel bridges between clusters?
Afficher commentaires plus anciens
Say I have a 3D computed tomography (CT) image, which I convert to a binary image of ones and zeros. I would like to remove one-voxel bridges that attach two larger clusters of ones together to get two seperate clusters instead of one. How would I go about this?
Réponses (1)
Matt J
le 27 Mar 2023
0 votes
5 commentaires
sukhraj virdee
le 28 Mar 2023
As an example,
load BWImage
figure;
imshow(BW);
figure
imshow(imopen(BW,strel('disk',3)));
DGM
le 28 Mar 2023
Or perhaps
strel('sphere',1)
since the image is volumetric
sukhraj virdee
le 30 Mar 2023
Catégories
En savoir plus sur Color Segmentation 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!

