def METHOD_NAME(encoding, **kwargs):
    """
    Encoding wrapper around scipy.ndimage.morphology.binary_closing.
    https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.ndimage.morphology.binary_closing.html#scipy.ndimage.morphology.binary_closing
    """
    return enc.DenseEncoding(
        ndimage.METHOD_NAME(_dense(encoding, rank=3), **kwargs))