pycroglia.ui.widgets.segmentation package
Subpackages
Submodules
- class pycroglia.ui.widgets.segmentation.results.SegmentationResults(file_path, img)[source]
Bases:
objectData class containing the results of cell segmentation for a single image.
Stores the file path and the labeled cells resulting from the segmentation process. Used to pass segmentation results between workflow steps.
- Parameters:
file_path (str)
img (LabeledCells)
- img
The labeled cells object containing segmentation results.
- Type:
- as_dict()[source]
Convert the segmentation results to a dictionary representation.
- Returns:
Dictionary containing file_path and img as key-value pairs.
- Return type:
- img: LabeledCells