code: def colorize(image, vmin=None, vmax=None, cmap="turbo"):
      vmin = image.min() if vmin is None else vmin
      vmax = image.max() if vmax is None else vmax
  
      if vmin != vmax:
          image = (image - vmin) / (vmax - vmin)
      else:
          image = image * 0.0
  
      cmapper = plt.cm.get_cmap(cmap)
      image = cmapper(image, bytes=True)
  
      img = image[:, :, :3]
  
      return img
  
imports: import cv2
  import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: colorize(image, vmin, vmax, cmap) and returns: img