code: def denoise_mat(img, i):
      return ndimage.median_filter(img, i)
  
imports: import numpy
  import cv2
  from scipy import ndimage
label_desc: Use image node_id 13 for calling a global function with example usage: denoise_mat(img, i) and returns: ndimage