def obtain_complement(np_img):
    """
    Obtain the complement of an image as a NumPy array.
    Args:
        np_img: Image as a NumPy array.
    Returns:
        Complement image as Numpy array.
    """
    return 255 - np_img