code: def uwmgi_get_image(fp):
      image = np.array(Image.open(fp))
      image = image.astype("float32")
      image = image / np.max(image) * 255
      image = np.tile(image[..., None], [1, 1, 3])
      image = image.astype("uint8")
      return image
  
file_path: PaddleSeg/tools/data/convert_multilabel.py
imports: import argparse
  import os
  import random
  import zipfile
  import cv2
  import numpy
  import pandas
  from PIL import Image
  from pycocotools.coco import COCO
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: uwmgi_get_image(fp) and returns: image