code: def get_gray(img):
      gray = rgb2gray(np.copy(img))
      return gray
  
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 5 for calling a global function with example usage: get_gray(img) and returns: gray