code: def visible_settings(self):
      __settings__ = super(
          ConvertImageToObjects, self
      ).visible_settings()
  
      __settings__ += [self.cast_to_bool]
  
      if not self.cast_to_bool.value:
          __settings__ += [self.preserve_labels]
  
      if not self.preserve_labels.value:
          __settings__ += [self.background_label, self.connectivity]
  
      return __settings__
  
file_path: CellProfiler/src/frontend/cellprofiler/modules/convertimagetoobjects.py
imports: import skimage
  import skimage.measure
  from cellprofiler_core.module.image_segmentation import ImageSegmentation
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting.text import Integer
label_desc: Use image node_id 3 for calling the ConvertImageToObjects obj's underlying member method code with example usage: obj.visible_settings() and returns: __settings__