code: def test_anticorrelated():
      """Test two anticorrelated images"""
      #
      # Make a checkerboard pattern and reverse it for one image
      #
      i, j = numpy.mgrid[0:10, 0:10]
      image1 = ((i + j) % 2).astype(float)
      image2 = 1 - image1
      i1 = cellprofiler_core.image.Image(image1)
      i2 = cellprofiler_core.image.Image(image2)
      workspace, module = make_workspace(i1, i2)
      module.run(workspace)
      m = workspace.measurements
      mi = module.get_measurement_images(
          None, "Image", "Correlation", "Correlation"
      )
      corr = m.get_current_measurement(
          "Image", "Correlation_Correlation_%s" % mi[0]
      )
      assert round(abs(corr - -1), 7) == 0
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measurecolocalization
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 11 for calling a global function with example usage: test_anticorrelated() without return types