scallops.segmentation.util.close_labels
- scallops.segmentation.util.close_labels(labels, disk_radius=3)
Close labels using skimage.morphology.closing.
- Parameters:
labels (ndarray) – Labels 2d array
disk_radius (int) – The radius of the disk-shaped footprint
- Returns:
Closed labels
- Return type:
ndarray