ToolPythonBeginner Counting cells with scipy.ndimage: how many are there, and how large? centers_found = ndi.center_of_mass(np.ones_like(image), cells, ids_final)