removing one-voxel bridges between clusters?

4 visualizaciones (últimos 30 días)
sukhraj virdee
sukhraj virdee el 27 de Mzo. de 2023
Editada: Matt J el 30 de Mzo. de 2023
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?

Respuestas (1)

Matt J
Matt J el 27 de Mzo. de 2023
Perhaps using imopen?
  5 comentarios
sukhraj virdee
sukhraj virdee el 30 de Mzo. de 2023
This seems to remove clusters smaller clusters smaller then 9 voxels in size. What if I would like to keep those?
Matt J
Matt J el 30 de Mzo. de 2023
Editada: Matt J el 30 de Mzo. de 2023
Save the smaller clusters to a separate image using bwareafilt or bwareaopen. Then use that image to restore them later.

Iniciar sesión para comentar.

Categorías

Más información sobre 3-D Volumetric Image Processing en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by