docstr: Split image into individual components
          
docstr_tok: ["Split","image","into","individual","components"]
code: def run_split(self, workspace, image):
      """Split image into individual components"""
      input_image = image.pixel_data
      disp_collection = []
      if self.rgb_or_channels in (CH_RGB, CH_CHANNELS):
          for index, name, title in self.channels_and_image_names():
              output_image = input_image[:, :, index]
              workspace.image_set.add(
                  name, Image(output_image, parent_image=image)
              )
              disp_collection.append([output_image, name])
      elif self.rgb_or_channels == CH_HSV:
          output_image = matplotlib.colors.rgb_to_hsv(input_image)
          for index, name, title in self.channels_and_image_names():
              workspace.image_set.add(
                  name,
                  Image(output_image[:, :, index], parent_image=image),
              )
              disp_collection.append([output_image[:, :, index], name])
  
      workspace.display_data.input_image = input_image
      workspace.display_data.disp_collection = disp_collection
  
imports: import re
  import matplotlib.colors
  import numpy
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import HiddenCount
  from cellprofiler_core.setting import SettingsGroup
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import DoSomething
  from cellprofiler_core.setting.do_something import RemoveSettingButton
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.text import Float
  from cellprofiler_core.setting.text import ImageName
  from cellprofiler_core.setting.text import Integer
label_desc: Use image node_id 15 for calling the ColorToGray obj's underlying member method code with example usage: obj.run_split(workspace, image) without return types