pycroglia.ui.widgets.segmentation package
Subpackages
Submodules
- class pycroglia.ui.widgets.segmentation.results.SegmentationResults(file_path, img, segmented_cell_indices, gray_filter_value, min_size, erosion_radius)[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:
- 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, img, and metadata as key-value pairs.
- Return type:
- img: LabeledCells