I think this actually uses ``scipy.ndimage``.