This commit is contained in:
2024-01-24 09:56:49 +01:00
parent f725b19427
commit 3258716c4a

View File

@@ -73,6 +73,7 @@ class volume_maker:
mempool.free_all_blocks()
else:
print(clean, remove_small)
if clean: im = ndimage.binary_opening(im, structure=ball(fp_radius))
if remove_small: im = morphology.remove_small_objects(im, min_size=minsize)