code: def skeletonize(labels):
      """
      Erode each object to its skeleton.
      """
      return centrosome.cpmorphology.skeletonize_labels(labels)
  
imports: from typing import Literal
  import centrosome.cpmorphology
  import numpy
  import scipy.ndimage
  import skimage.morphology
  import mahotas
label_desc: Use image node_id 4 for calling a global function with example usage: skeletonize(labels) and returns: centrosome