code: def renumber_labels_for_display(labels):
      """Scramble the label numbers randomly to make the display more discernable
  
      The colors of adjacent indices in a color map are less discernable than
      those of far-apart indices. Nearby labels tend to be adjacent or close,
      so a random numbering has more color-distance between labels than a
      straightforward one
      """
      return centrosome.cpmorphology.distance_color_labels(labels)
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/tools.py
imports: import io
  import centrosome.cpmorphology
  import imageio
  import matplotlib
  import matplotlib.figure
  import matplotlib.transforms
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: renumber_labels_for_display(labels) and returns: centrosome