code: def test_decimate_skel():
      #
      # Mostly, this is to check that the skeleton method doesn't crash
      #
      i, j = numpy.mgrid[0:10, 0:20]
      image1 = ((i - 4) ** 2) * 4 + (j - 8) ** 2 < 32
      image2 = ((i - 6) ** 2) * 4 + (j - 12) ** 2 < 32
      workspace, module = make_workspace(
          dict(image=image1), dict(image=image2)
      )
      module.max_points._Number__minval = 1
      module.max_points.value = 5
      module.decimation_method.value = (
          cellprofiler_library.opts.measureimageoverlap.DM.SKELETON.value
      )
      module.run(workspace)
      emd = workspace.measurements[
          "Image",
          module.measurement_name(
              cellprofiler.modules.measureimageoverlap.FTR_EARTH_MOVERS_DISTANCE
          ),
      ]
      assert emd > numpy.sum(image1) * 3
      assert emd < numpy.sum(image1) * 6
  
imports: import io
  import numpy
  import numpy.random
  import numpy.testing
  import scipy.ndimage
  import cellprofiler_library.opts.measureimageoverlap
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureimageoverlap
  import tests.frontend.modules
label_desc: Use image node_id 28 for calling a global function with example usage: test_decimate_skel() without return types