code: def test_zernikes_are_different():
      """Regression test of IMG-773"""
  
      numpy.random.seed(32)
      labels = numpy.zeros((40, 20), int)
      #
      # Make two "objects" composed of random foreground/background
      #
      labels[1:19, 1:19] = (
          numpy.random.uniform(size=(18, 18)) > 0.5
      ).astype(int)
      labels[21:39, 1:19] = (
          numpy.random.uniform(size=(18, 18)) > 0.5
      ).astype(int) * 2
      objects = cellprofiler_core.object.Objects()
      objects.segmented = labels
      object_set = cellprofiler_core.object.ObjectSet()
      object_set.add_objects(objects, "SomeObjects")
      module = (
          cellprofiler.modules.measureobjectsizeshape.MeasureObjectAreaShape()
      )
      module.objects_list.value.append("SomeObjects")
      module.calculate_zernikes.value = True
      module.set_module_num(1)
      image_set_list = cellprofiler_core.image.ImageSetList()
      measurements = cellprofiler_core.measurement.Measurements()
      pipeline = cellprofiler_core.pipeline.Pipeline()
      pipeline.add_module(module)
  
      def callback(caller, event):
          assert not isinstance(
              event, cellprofiler_core.pipeline.event.RunException
          )
  
      pipeline.add_listener(callback)
      workspace = cellprofiler_core.workspace.Workspace(
          pipeline,
          module,
          image_set_list.get_image_set(0),
          object_set,
          measurements,
          image_set_list,
      )
      module.run(workspace)
      features = [
          x[1]
          for x in module.get_measurement_columns(pipeline)
          if x[0] == "SomeObjects"
          and x[1].startswith("AreaShape_Zernike")
      ]
      for feature in features:
          values = measurements.get_current_measurement(
              "SomeObjects", feature
          )
          assert len(values) == 2
          assert values[0] != values[1]
  
imports: import io
  import os
  import numpy
  import skimage.io
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.modules.injectimage
  import cellprofiler.modules.measureobjectsizeshape
  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 tests.frontend
  import tests.frontend.modules
label_desc: Use image node_id 9 for calling a global function with example usage: test_zernikes_are_different() without return types