cellcoloc.extract_label_masks_from_viewerο
- cellcoloc.extract_label_masks_from_viewer(viewer, cell_layer_name='Cellpose cell masks', marker_layer_name='Cellpose marker masks')[source]ο
Extract the current cell and marker label layers from a napari viewer.
This is primarily used after manual label editing so the modified napari layers can be fed back into
cellcoloc.analysis.analyze_existing_masks().- Return type:
tuple[ndarray,ndarray]