code: def get_measurement_images(
      self, pipeline, object_name, category, measurement
  ):
      result = []
      if category == "Granularity":
          try:
              length = int(measurement)
              if length <= 0:
                  return []
          except ValueError:
              return []
          if self.granular_spectrum_length.value >= length:
              for image_name in self.images_list.value:
                  result.append(image_name)
      return result
  
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 12 for calling the MeasureGranularity obj's underlying member method code with example usage: obj.get_measurement_images(pipeline, object_name, category, measurement) and returns: result, list, list