code: def create_settings(self):
      super(ConvertImageToObjects, self).create_settings()
  
      self.cast_to_bool = Binary(
          text="Convert to boolean image",
          value=True,
          doc=HELP_BINARY_IMAGE,
      )
  
      self.preserve_labels = Binary(
          text="Preserve original labels",
          value=False,
          doc="""\
  By default, this module will re-label the input image.
  Setting this to *{YES}* will ensure that the original labels 
  (i.e. pixel values of the objects) are preserved.
  """.format(
              **{"YES": "Yes"}
          ),
      )
  
      self.background_label = Integer(
          text="Background label",
          value=0,
          doc="""\
  Consider all pixels with this value as background pixels, and label them as 0. 
  By default, 0-valued pixels are considered as background pixels.
  """,
      )
  
      self.connectivity = Integer(
          text="Connectivity",
          minval=0,
          value=0,
          doc="""\
  Maximum number of orthogonal hops to consider a pixel/voxel as a neighbor. 
  Accepted values are ranging from 1 to the number of dimensions of the input. 
  If set to 0, a full connectivity of the input dimension is used.
  """,
      )
  
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 1 for calling the ConvertImageToObjects obj's underlying member method code with example usage: obj.create_settings() without return types