seeded_watershed_det_rust
alternate Direct Rust watershed API; do_periodic_segmentation_rust defaults to rust_det internally.
rust_fun.seeded_watershed_det_rust(image, seeds, mask=None)Deterministic single-threaded seeded watershed wrapper around mgr_rust.
Parameters
image : ndarray, float32 3D scalar field; larger values flood first. For a distance grid, pass the raw dgrid (do NOT negate). seeds : ndarray, uint32 3D array of markers (0 = background). mask : ndarray, uint8 or bool, optional 3D mask array; voxels with mask == 0 are never labeled.