docstr: Return all image records that match the given object name
  
  object_name - name of an object or IMAGE to match all
docstr_tok: ["Return","all","image","records","that","match","the","given","object","name","object_name","-","name","of","an","object","or","IMAGE","to","match","all"]
code: def get_matching_images(self, object_name):
      """Return all image records that match the given object name
  
      object_name - name of an object or IMAGE to match all
      """
      if object_name == "Image":
          return self.images_list.value
      return [
          image_name
          for image_name in self.images_list.value
          if object_name in self.objects_list.value
      ]
  
imports: import logging
  import cellprofiler_core.workspace
  import numpy
  import scipy.ndimage
  import skimage.morphology
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Divider, Binary, ValidationError
  from cellprofiler_core.setting.subscriber import ImageListSubscriber, LabelListSubscriber
  from cellprofiler_core.setting.text import Float, Integer
  from centrosome.cpmorphology import fixup_scipy_ndimage_result
  from cellprofiler.gui.help.content import image_resource
label_desc: Use image node_id 9 for calling the MeasureGranularity obj's underlying member method code with example usage: obj.get_matching_images(object_name) and returns: unknown, self