def METHOD_NAME(self, label_image, mapping):
    """
    given a label image and a mapping, creates and
    returns a new label image with remapped object pixel values
    """
    remapped_label_image = np.zeros(label_image.shape, dtype=label_image.dtype)
    for src, dest in mapping.items():
        remapped_label_image[label_image == src] = dest - 1
    return remapped_label_image