code: def __init__(self, workspace_view, color, can_delete):
      super(WorkspaceViewImageRow, self).__init__(
          workspace_view, color, can_delete
      )
      image_set = workspace_view.workspace.image_set
      name = self.chooser.GetStringSelection()
  
      im = get_intensity_mode()
      if im == INTENSITY_MODE_LOG:
          normalization = NORMALIZE_LOG
      elif im == INTENSITY_MODE_NORMAL:
          normalization = NORMALIZE_LINEAR
      else:
          normalization = NORMALIZE_RAW
      alpha = 1.0 / (len(workspace_view.image_rows) + 1.0)
      self.data = bind_data_class(
          ImageData, self.color_ctrl, workspace_view.redraw
      )(
          name,
          None,
          mode=MODE_HIDE,
          color=self.color,
          colormap=get_default_colormap(),
          alpha=alpha,
          normalization=normalization,
      )
      workspace_view.image.add(self.data)
      self.last_mode = MODE_COLORIZE
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/workspace_view/_workspace_view_image_row.py
imports: from cellprofiler_core.preferences import INTENSITY_MODE_LOG
  from cellprofiler_core.preferences import INTENSITY_MODE_NORMAL
  from cellprofiler_core.preferences import get_default_colormap
  from cellprofiler_core.preferences import get_intensity_mode
  from ._workspace_view_row import WorkspaceViewRow
  from ..artist import ImageData
  from ..artist import MODE_COLORIZE
  from ..artist import MODE_HIDE
  from ..artist import NORMALIZE_LINEAR
  from ..artist import NORMALIZE_LOG
  from ..artist import NORMALIZE_RAW
  from ..utilities.workspace_view import bind_data_class
label_desc: Use image node_id 1 to create a new WorkspaceViewImageRow object from inherited base classes: WorkspaceViewRow with example: obj = WorkspaceViewImageRow(workspace_view, color, can_delete)