scallops.segmentation.util.remove_small_objects_std
- scallops.segmentation.util.remove_small_objects_std(labels, rm_small_std)
Removes small objects from labels.
- Parameters:
labels (ndarray) – Array of labels
rm_small_std (float) – Remove objects smaller than specified number of standard deviations of labels
- Return type:
ndarray