def METHOD_NAME(image, footprint=None, *args, **kwargs):
    if footprint is None:
        footprint = ndi.generate_binary_structure(image.ndim, 1)
    return func(image, footprint=footprint, *args, **kwargs)