code: def test_zero_valued_intensity():
      # https://github.com/CellProfiler/CellProfiler/issues/2680
      image1 = numpy.zeros((10, 10), dtype=numpy.float32)
  
      image2 = numpy.random.rand(10, 10).astype(numpy.float32)
  
      labels = numpy.zeros_like(image1, dtype=numpy.uint8)
  
      labels[5, 5] = 1
  
      objects = cellprofiler_core.object.Objects()
  
      objects.segmented = labels
  
      workspace, module = make_workspace(
          cellprofiler_core.image.Image(image1),
          cellprofiler_core.image.Image(image2),
          objects,
      )
  
      module.run(workspace)
  
      m = workspace.measurements
  
      feature = (
          cellprofiler.modules.measurecolocalization.F_CORRELATION_FORMAT
          % (
              IMAGE1_NAME,
              IMAGE2_NAME,
          )
      )
  
      values = m[OBJECTS_NAME, feature]
  
      assert len(values) == 1
  
      assert numpy.isnan(values[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 20 for calling a global function with example usage: test_zero_valued_intensity() without return types