code: def create_settings(self):
      self.operand_choice = Choice(
          "Measure the area occupied by",
          [O_BINARY_IMAGE, O_OBJECTS, O_BOTH],
          doc="""\
  Area occupied can be measured in two ways:
  
  -  *{O_BINARY_IMAGE}:* The area occupied by the foreground in a binary (black and white) image.
  -  *{O_OBJECTS}:* The area occupied by previously-identified objects.
                      """.format(
              **{
                  "O_BINARY_IMAGE": O_BINARY_IMAGE,
                  "O_OBJECTS": O_OBJECTS,
              }
          ),
      )
  
      self.divider = Divider()
  
      self.images_list = ImageListSubscriber(
          "Select binary images to measure",
          [],
          doc="""*(Used only if ‘{O_BINARY_IMAGE}’ is to be measured)*
  
  These should be binary images created earlier in the pipeline, where you would
  like to measure the area occupied by the foreground in the image.
                      """.format(
              **{"O_BINARY_IMAGE": O_BINARY_IMAGE}
          ),
      )
  
      self.objects_list = LabelListSubscriber(
          "Select object sets to measure",
          [],
          doc="""*(Used only if ‘{O_OBJECTS}’ are to be measured)*
  
  Select the previously identified objects you would like to measure.""".format(
              **{"O_OBJECTS": O_OBJECTS}
          ),
      )
  
imports: import numpy
  import skimage.measure
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Divider, ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import ImageListSubscriber, LabelListSubscriber
label_desc: Use image node_id 1 for calling the MeasureImageAreaOccupied obj's underlying member method code with example usage: obj.create_settings() without return types