from skimage.data import cells3d
import pyclesperanto_prototype as cle
cle.select_device("RTX")
<NVIDIA GeForce RTX 3050 Ti Laptop GPU on Platform: NVIDIA CUDA (1 refs)>
nuclei = cle.asarray(cells3d()[:,1])
nuclei
cle._ image
|
labels = cle.voronoi_otsu_labeling(nuclei, spot_sigma=9)
labels
cle._ image
|