code: def get_light_map_drawer2(img):
      ret = img.copy()
      ret = ret.astype(np.float32)
      ret[:, :, 0] = get_light_map_drawer3(img[:, :, 0])
      ret[:, :, 1] = get_light_map_drawer3(img[:, :, 1])
      ret[:, :, 2] = get_light_map_drawer3(img[:, :, 2])
      ret = np.amax(ret, 2)
      return ret
  
imports: import numpy
  import cv2
  from scipy import ndimage
label_desc: Use image node_id 6 for calling a global function with example usage: get_light_map_drawer2(img) and returns: ret