code: def otsu(img):
      """
      Otsu with gaussian
      img: gray image
      return: binary image, pixel values 0:1
      """
      blur = gaussian(img)
      otsu_bin = 255 * (blur > threshold_otsu(blur))
      return (otsu_bin / 255).astype(np.int32)
  
file_path: Mozart/src/commonfunctions.py
imports: import skimage.io
  import matplotlib.pyplot
  import numpy
  from skimage.exposure import histogram
  from matplotlib.pyplot import bar
  from skimage.color import rgb2gray
  from skimage.filters import threshold_otsu, gaussian, median
  from skimage.morphology import binary_opening, binary_closing, binary_dilation, binary_erosion, closing, opening, square, skeletonize, disk
  from skimage.feature import canny
  from skimage.transform import resize
label_desc: Use image node_id 4 for calling a global function with example usage: otsu(img) and returns: unknown