code: def maxflow(image, prob, lamda=5, sigma=0.1):
      # lamda: weight of smoothing term
      # sigma: std of intensity values
      return numpymaxflow.maxflow(image, prob, lamda, sigma)
  
file_path: MONAILabel/monailabel/scribbles/utils.py
imports: import logging
  import numpy
  import numpymaxflow
  import torch
  from monai.networks.layers import GaussianMixtureModel
label_desc: Use image node_id 2 for calling a global function with example usage: maxflow(image, prob, lamda, sigma) and returns: numpymaxflow