code: def get_cp_image():
      """The CellProfiler icon as a wx.Image"""
      global cp_image
  
      if cp_image is None:
          import wx
  
          try:
              cp_image = cellprofiler.icons.image_cache["CellProfiler"]
          except KeyError:
              pathname = pkg_resources.resource_filename(
                  "cellprofiler",
                  os.path.join("data", "icons", "CellProfiler.png"),
              )
  
              cellprofiler.icons.image_cache[
                  "CellProfiler"
              ] = cp_image = wx.Image(pathname)
  
      return cp_image
  
imports: import os
  import sys
  import pkg_resources
  import cellprofiler.icons
label_desc: Use image node_id 1 for calling a global function with example usage: get_cp_image() and returns: cp_image