docstr: Return the categories supported by this module for the given object
  
  object_name - name of the measured object or IMAGE
docstr_tok: ["Return","the","categories","supported","by","this","module","for","the","given","object","object_name","-","name","of","the","measured","object","or","IMAGE"]
code: def get_categories(self, pipeline, object_name):
      """Return the categories supported by this module for the given object
  
      object_name - name of the measured object or IMAGE
      """
      if (
          object_name in self.objects_list.value
          and self.wants_objects.value
      ):
          return ["Granularity"]
      else:
          return []
  
imports: import logging
  import cellprofiler_core.workspace
  import numpy
  import scipy.ndimage
  import skimage.morphology
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Divider, Binary, ValidationError
  from cellprofiler_core.setting.subscriber import ImageListSubscriber, LabelListSubscriber
  from cellprofiler_core.setting.text import Float, Integer
  from centrosome.cpmorphology import fixup_scipy_ndimage_result
  from cellprofiler.gui.help.content import image_resource
label_desc: Use image node_id 10 for calling the MeasureGranularity obj's underlying member method code with example usage: obj.get_categories(pipeline, object_name) and returns: list, list