code: def median_filter(image, window_size, mode):
      return scipy.ndimage.median_filter(
          image, size=window_size, mode=mode
      )
  
imports: import numpy
  import skimage.color
  import skimage.morphology
  import centrosome
  import centrosome.threshold
  import scipy
  import matplotlib
label_desc: Use image node_id 11 for calling a global function with example usage: median_filter(image, window_size, mode) and returns: scipy