code: def get_light_map_drawer(img):
      gray = cv2.cvtColor(img.astype(np.uint8), cv2.COLOR_BGR2GRAY)
      blur = cv2.GaussianBlur(gray, (0, 0), 3)
      highPass = gray.astype(int) - blur.astype(int) + 255
      highPass[highPass < 0] = 0
      highPass[highPass > 255] = 255
      highPass = highPass.astype(np.float32)
      highPass = highPass / 255.0
      highPass = 1 - highPass
      highPass = highPass[None]
      return highPass.transpose((1, 2, 0))
  
imports: import numpy
  import cv2
  from scipy import ndimage
label_desc: Use image node_id 5 for calling a global function with example usage: get_light_map_drawer(img) and returns: highPass