code: def run_bw(self, workspace, pixel_data):
      if self.blank_image.value or self.max_type.value == MAX_POSSIBLE:
          color = 1.0
      else:
          color = numpy.max(pixel_data)
  
      for outline in self.outlines:
          objects = workspace.object_set.get_objects(
              outline.objects_name.value
          )
  
          pixel_data = self.draw_outlines(pixel_data, objects, color)
  
      return skimage.color.rgb2gray(pixel_data)
  
imports: import numpy
  import skimage.color
  import skimage.segmentation
  import skimage.util
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary, Divider, SettingsGroup, Color
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import DoSomething, RemoveSettingButton
  from cellprofiler_core.setting.subscriber import ImageSubscriber, LabelSubscriber
  from cellprofiler_core.setting.text import ImageName
label_desc: Use image node_id 9 for calling the OverlayOutlines obj's underlying member method code with example usage: obj.run_bw(workspace, pixel_data) and returns: skimage