Filling holes for 3D image

I want to use the morphology operator to fill holes in a 3D image. A three-dimensional image consists of 116 two-dimensional image fragments of the same size (512 * 512 pixels). I tried to use imfill in Matlab for a 3d image but the result is not what I wanted. Small holes are filled and other holes are not filled.

When I tried using the slice imfill slice, the result is correct. Is there a way to fill holes in 3D images? How can i do this?

+3


source to share


1 answer


What's wrong with a for loop that uses slice imfill

by slice? you stated that it already works.



Alternatively, the file sharing option is used here: Region Growing - a recursive region growing algorithm for 2D / 3D grayscale images with polygon and binary mask output.

+1


source







All Articles