docstr: Return a list of input image names appropriate to the setting choice 
docstr_tok: ["Return","a","list","of","input","image","names","appropriate","to","the","setting","choice"]
code: def images_to_process(self, image_group, workspace, pipeline=None):
      """Return a list of input image names appropriate to the setting choice"""
      if self.images_choice.value == O_SELECT:
          return image_group.image_names.value
      elif self.images_choice.value == O_ALL_LOADED:
          # Grab all loaded images
          accepted_image_list = []
          if pipeline is None:
              pipeline = workspace.pipeline
          #
          # Get a dictionary of image name to (module, setting)
          #
          image_providers = pipeline.get_provider_dictionary(
              "imagegroup", self
          )
          for image_name in image_providers:
              for module, setting in image_providers[image_name]:
                  if module.is_load_module() and (
                      (not isinstance(setting, ImageName))
                      or "file_image" in setting.provided_attributes
                  ):
                      accepted_image_list.append(image_name)
          return accepted_image_list
  
imports: import itertools
  import logging
  import cellprofiler_core.utilities.image
  import centrosome.cpmorphology
  import centrosome.haralick
  import centrosome.radial_power_spectrum
  import centrosome.threshold
  import centrosome.threshold
  import numpy
  import scipy.linalg.basic
  import scipy.ndimage
  from cellprofiler_core.constants.image import C_SCALING
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT, EXPERIMENT, MCA_AVAILABLE_POST_RUN
  from cellprofiler_core.constants.module._identify import O_WEIGHTED_VARIANCE, O_ENTROPY, O_FOREGROUND, O_BACKGROUND
  from cellprofiler_core.module import Module
  from cellprofiler_core.preferences import get_headless
  from cellprofiler_core.setting import Divider, HiddenCount, SettingsGroup, Binary, ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import DoSomething, RemoveSettingButton
  from cellprofiler_core.setting.subscriber import ImageListSubscriber
  from cellprofiler_core.setting.text import ImageName, Integer, Float
  from cellprofiler.modules.threshold import O_THREE_CLASS, O_TWO_CLASS
label_desc: Use image node_id 38 for calling the MeasureImageQuality obj's underlying member method code with example usage: obj.images_to_process(image_group, workspace, pipeline) and returns: image_group, accepted_image_list