code: def show_active_img_and_save_denoise(img, path):
      mat = img.astype(np.float32)
      mat = -mat + 1
      mat = mat * 255.0
      mat[mat < 0] = 0
      mat[mat > 255] = 255
      mat = mat.astype(np.uint8)
      mat = ndimage.median_filter(mat, 1)
      cv2.imwrite(path, mat)
      return
  
imports: import numpy
  import cv2
  from scipy import ndimage
label_desc: Use image node_id 14 for calling a global function with example usage: show_active_img_and_save_denoise(img, path) without return types