docstr: Return the settings as displayed to the user
docstr_tok: ["Return","the","settings","as","displayed","to","the","user"]
code: def visible_settings(self):
      """Return the settings as displayed to the user"""
      result = [self.image_name, self.output_image_name]
      for function in self.functions:
          if function.can_remove:
              result.append(function.divider)
          result.append(function.function)
          if function.function == F_DISTANCE:
              result.append(function.rescale_values)
          elif function.function == F_OPENLINES:
              function.custom_repeats.text = "Line length"
              function.custom_repeats.doc = """Only keep lines that have this many pixels or more."""
              result.append(function.custom_repeats)
          elif function.repeats_choice != R_CUSTOM:
              result.append(function.repeats_choice)
          else:
              result.append(function.repeats_choice)
              function.custom_repeats.text = self.CUSTOM_REPEATS_TEXT
              function.custom_repeats.doc = self.CUSTOM_REPEATS_DOC
              result.append(function.custom_repeats)
          if function.can_remove:
              result.append(function.remove)
      result += [self.add_button]
      return result
  
imports: import logging
  import centrosome.cpmorphology
  import centrosome.filter
  import numpy
  import scipy.ndimage
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import Divider
  from cellprofiler_core.setting import SettingsGroup
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import DoSomething
  from cellprofiler_core.setting.do_something import RemoveSettingButton
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.text import ImageName, Integer
label_desc: Use image node_id 5 for calling the Morph obj's underlying member method code with example usage: obj.visible_settings() and returns: result