code: def get_object(self):
      if self.objects_or_image.value == OI_OBJECTS:
          return self.object.value
      else:
          return IMAGE
  
file_path: CellProfiler/src/frontend/cellprofiler/modules/displayplatemap.py
imports: import numpy
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.constants.module import USING_METADATA_HELP_REF
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Measurement
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import Text
label_desc: Use image node_id 1 for calling the DisplayPlatemap obj's underlying member method code with example usage: obj.get_object() and returns: self, IMAGE