cellcoloc.evaluate_cellpose_modelο
- cellcoloc.evaluate_cellpose_model(model, image_zyx, model_config, voxel_scale_zyx)[source]ο
Run Cellpose and return the resulting label image as
uint32.The function accepts both 3D
ZYXarrays and 2D images represented as a singleton-z(1, Y, X)volume. Whenmodel_config.do_3disNone, the function auto-detects the correct Cellpose mode from the z-size.- Return type:
tuple[ndarray,CellposeRefinementRoiCache|None]