ToolPythonBeginner Counting cells with scipy.ndimage: how many are there, and how large? outline[ndi.morphological_gradient(cells[crop], size=3) > 0] = to_rgba(ACCENT) # where the label changesoverlay[ndi.morphological_gradient(cells, size=3) > 0] = to_rgba(ACCENT)