def invert_pixel_mask(mask):
inverted_mask = np.ones(shape=(<NUM_LIT>, <NUM_LIT>), dtype=np.dtype('<STR_LIT>'))<EOL>inverted_mask[mask >= <NUM_LIT:1>] = <NUM_LIT:0><EOL>return inverted_mask<EOL>
Invert pixel mask (0->1, 1(and greater)->0).

    Parameters
    ----------
    mask : array-like
        Mask.

    Returns
    -------
    inverted_mask : array-like
        Inverted Mask.