ToolPythonBeginner Counting cells with scipy.ndimage: how many are there, and how large? dist = ndi.distance_transform_edt(mask)_, (iy, ix) = ndi.distance_transform_edt(markers == 0, return_indices=True) # _: the distances