code: def _sim_size(r1, r2, imsize):
      """
      calculate the size similarity over the image
      """
      return 1.0 - (r1["size"] + r2["size"]) / imsize
  
imports: import sys
  from past.builtins import cmp
  import skimage.io
  import skimage.feature
  import skimage.color
  import skimage.transform
  import skimage.util
  import skimage.segmentation
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: _sim_size(r1, r2, imsize) and returns: unknown