napari_cellseg3d.code_models.instance_segmentation#
Instance segmentation methods for 3D images.
Module Attributes
|
If True, uses a sliding window to perform instance segmentation to avoid memory issues. |
Functions
|
Convert binary foreground probability maps to instance masks via connected-component labeling. |
|
Convert binary foreground probability maps to instance masks via watershed segmentation algorithm. |
|
Uses watershed to label all obejcts, and removes the ones with a volume larger than the specified threshold. |
|
Calls skimage.remove_small_objects to remove small fragments that might be artifacts. |
|
Remove all values smaller than the specified threshold in the volume. |
|
Converts a ground-truth label to semantic (binary 0/1) labels. |
|
Computes various statistics from instance labels and returns them in a dict. |
|
Voronoi-Otsu labeling from pyclesperanto. |
Classes
|
Widget class for Connected Components instance segmentation. |
|
Dataclass containing various statistics from instance labels. |
|
Base class for instance segmentation methods. |
|
Base widget with several sliders, for use in instance segmentation parameters. |
|
Widget class for Voronoi-Otsu labeling from pyclesperanto. |
|
Widget class for Watershed segmentation. |