Segment Labeler - cerr/CERR GitHub Wiki

Introduction

The "Segment Labeler" module is useful to label the segments resulting from an auto-segmentation algorithm. These labels can then be used to evaluate and refine the algorithm performance. The labels are stored under the planC object within planC{indexS.segmentLabel}. For example, the the labels for the 1st segment labeler object can be accessed by

>> planC{indexS.segmentLabel}(1)
ans = 
  struct with fields:

              name: 'Reader 1'
            labelC: {'REAL_METASTESES'  'NORMAL_TISSUE'  'UNDETERMINED'  'MIXED'}
       labelColorM: [4×3 double]
            valueS: [1×46 struct]
       segLabelUID: 'SEGLABEL.20102017.105017.371970.5928'
    assocStructUID: 'RS.16102017.185047.50997.5404'

Workflow

  • Launch CERR viewer and load the CERR file.

  • Select ‘Panel Layout’ from ‘View’ drop-down menu and select the Dual Energy CT View. The left panel shows the bi-histogram equalization tumor-enhanced scan and the right panel shows the dual energy CT at a specific energy level.

DECT View

  • Launch Segment Labeler :
    Select 'Segment Labeler' from the 'Structures' menu.

Launch Segment Labeler

  • Create a new Segment Labeler Object : From the left Panel click on the 'Create' button for a new Segment Labeler Object. Enter the name and the associated structure and click OK.

New Segment Labeler Object

The new object is now selected in the dropdown and the associated structure number displayed. The predefined labels are shown with assigned colors.

Segment Label Edit Panel

If there are exiting label objects previously created, they will appear in the Object dropdown.

Once a label object is created or selected from an existing list, the segments can be selected when the mouse hovers over them.

Selecting a contour

  • Assigning a Label to a segment : Hover over the segment to be labelled and right click. A popup menu will appear that contains a list of pre-defined labels. Select one and the segment will be assigned the specific label and the associated color.

Assigning Label

The following image shows the segments that have been assigned labels.

Labels assigned

  • The label object can be saved by clicking the 'Save' button or all changes cancelled by clicking the 'Cancel' button.