from skimage.io import imread
import pyclesperanto_prototype as cle  # version 0.22.0

Loading ‘blobs’#

image0_b = imread(
    "C:/Users/haase/mambaforge/envs/bio39/lib/site-packages/napari_pyclesperanto_assistant/data/blobs.tif")
image0_b

gaussian blur#

image1_gb = cle.gaussian_blur(image0_b, None, 1.0, 1.0, 0.0)
image1_gb

threshold otsu#

image2_to = cle.threshold_otsu(image1_gb)
image2_to

connected components labeling box#

image3_cclb = cle.connected_components_labeling_box(image2_to)
image3_cclb