code: def preserve_objects(labels_x, labels_y):
      """
      Preserve the initial object set. Any overlapping regions from
      the second set will be ignored in favour of the object from
      the initial set.
      """
      labels_y[labels_y > 0] += labels_x.max()
      return numpy.where(labels_x > 0, labels_x, labels_y)
  
imports: from typing import Literal
  import centrosome.cpmorphology
  import numpy
  import scipy.ndimage
  import skimage.morphology
  import mahotas
label_desc: Use image node_id 10 for calling a global function with example usage: preserve_objects(labels_x, labels_y) and returns: numpy