code: def update():
      global data, imv1, imv2
      d2 = roi.getArrayRegion(data, imv1.imageItem, axes=(1, 2))
      imv2.setImage(d2)
  
label_desc: Use image node_id 1 for calling a global function with example usage: update() without return types