code: def binarize(image, threshold):
      image_binarized = (image > threshold).astype(np.uint8)
      return image_binarized
  
file_path: nni/examples/trials/kaggle-tgs-salt/postprocessing.py
imports: import os
  import numpy
  import pandas
  from scipy import ndimage
  import cv2
  from utils import get_crop_pad_sequence, run_length_decoding
  import settings
label_desc: Use image node_id 3 for calling a global function with example usage: binarize(image, threshold) and returns: image_binarized