code: def get_measurements(self, pipeline, object_name, category):
      if object_name == IMAGE and category == C_COUNT:
          return [self.y_name.value]
  
      if object_name == self.y_name.value:
          if category == C_LOCATION:
              return [
                  FTR_CENTER_X,
                  FTR_CENTER_Y,
                  FTR_CENTER_Z,
              ]
  
          if category == C_NUMBER:
              return [FTR_OBJECT_NUMBER]
  
      return []
  
imports: import numpy
  from cellprofiler_core.object import Objects
  from .._module import Module
  from ...constants.measurement import COLTYPE_FLOAT
  from ...constants.measurement import COLTYPE_INTEGER
  from ...constants.measurement import C_COUNT
  from ...constants.measurement import C_LOCATION
  from ...constants.measurement import C_NUMBER
  from ...constants.measurement import FF_COUNT
  from ...constants.measurement import FTR_CENTER_X
  from ...constants.measurement import FTR_CENTER_Y
  from ...constants.measurement import FTR_CENTER_Z
  from ...constants.measurement import FTR_OBJECT_NUMBER
  from ...constants.measurement import IMAGE
  from ...constants.measurement import M_LOCATION_CENTER_X
  from ...constants.measurement import M_LOCATION_CENTER_Y
  from ...constants.measurement import M_LOCATION_CENTER_Z
  from ...constants.measurement import M_NUMBER_OBJECT_NUMBER
  from ...setting.subscriber import ImageSubscriber
  from ...setting.text import LabelName
label_desc: Use image node_id 6 for calling the ImageSegmentation obj's underlying member method code with example usage: obj.get_measurements(pipeline, object_name, category) and returns: list, list, list, list