# User Interface

## 3D Slicer Interface Overview

The screenshot below shown gives you a basic overview of the 3D Slicer UI components. For further information see [Slicer Documentation](https://www.slicer.org/wiki/Documentation/Nightly/SlicerApplication/MainApplicationGUI)

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hHPjNdx-7p7BQl%2FSlicer4ApplicationGUIMap.jpg?generation=1511875159094141\&alt=media)

## `QuantitativeReporting` Interface Overview

The following section describes all `QuantitativeReporting` user interface components from top to bottom.

### Tabs

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hI5SobvOXSDB93%2Ftabs.png?generation=1511875159109526\&alt=media)

**QR** tab: This tab contains the **workspace** which will be used in 90% of your workflow

**DICOM** tab: This tab contains the Slicer **DICOM Browser** to make it easier to access within the `QuantitativeReporting` extension (particularly for the [Slicelet version](https://qiicr.gitbook.io/quantitativereporting-guide/user-guide/slicelet))

### Information Display

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hJChE8hXtUaW6Q%2Fwatchbox.png?generation=1511875159357522\&alt=media)

This UI component is used for displaying general information about the currently selected master volume, which is used for creating segmentations and measurements. Furthermore the reader name is displayed. The reader name is populated from your system settings, and will be stored in the DICOM objects you create to identify the creator of the object.

### View Settings Area

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hKXjPbDV9xSbWd%2FviewSettings.png?generation=1511875158078918\&alt=media)

We added all currently supported Slicer viewer layouts and in addition to that a button for enabling/disabling the crosshair. When enabled, selecting a segment in the list of segments or in the list of measurements will center the crosshair at the currently selected segment overlay in the viewer to simplify navigation.

### Test Area (only visible in developer mode)

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hLKBpeWqwBggl0%2Ftestarea.png?generation=1511875158084483\&alt=media)

Currently this area contains only one button for downloading and displaying a DICOM sample dataset that can be used for testing the module.

### Selector Area

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hM1evENZNXjKP9%2FselectorArea.png?generation=1511875158771141\&alt=media)

**Measurement report**: Create/select a new table for holding all the measurements created with this extension.

### Import Segmentation Area

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hNGiFpIZUpkP08%2Fimportsegmentation.png?generation=1511875158562427\&alt=media)

Segments can be copied/moved between different segmentations with the aid of this widget.

### Import Labelmap Area

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hOKYRVcw2ZfQuu%2Fimportlabelmap.png?generation=1511875159060075\&alt=media)

Labelmaps can be imported by using this widget. In some cases the labelmap needs to be resampled in order to do so.

### Segmentations Area

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hP97fFqyYCHBcd%2FsegmentationsArea.png?generation=1511875158126589\&alt=media)

This area is designed to help you with creating segmentations. It includes the [3D Slicer SegmentEditor](https://www.slicer.org/wiki/Documentation/Nightly/Modules/SegmentEditor) widget that adds capabilities for the following operations:

* Add/remove segments: &#x20;
* Add terminology for each segment &#x20;
* Create surface from segmentations &#x20;
* Use a variety of tools (*effects*) that help you creating a segmentation (i.e. thresholding, scissors)

  For further information see [Slicer Segment Editor](https://www.slicer.org/wiki/Documentation/Nightly/Modules/SegmentEditor).

In order to use this widget, a measurement report needs to be created and a master volume which will be used for creation of segmentations/volumetric measurements has to be selected/assigned.

### Measurements Area and Calculation Controls

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hQWSq03avemfBq%2FmeasurementsArea.png?generation=1511875158568072\&alt=media)

Once you start creating segmentations by using the SegmentEditor, you will notice default measurements that will be displayed as the result of the SegmentStatistics module for each created segment within this table. You can either click onto a segment in the SegmentEditor table or the measurements table, which will cause all viewers to jump to the centroid of the selected segment (as long as there is pixel data of the segment available).

You can choose whether you manually want to trigger the computation of the previously mentioned measurements, or whether it should be triggered automatically whenever there is a change in segment properties (pixel data, name, terminology).

### Report Buttons

![](https://2581774898-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L-1m-V7H5KNDtwD-3jx%2F-L-1m-pqtH9loaJNXcz-%2F-L-1m0hRJALz1hGFp6f8%2FreportButtons.png?generation=1511875159315921\&alt=media)

You can either save a report and continue later (needs to be implemented) or complete the current report. Either way a DICOM Structured Report with a referenced DICOM Segmentation will be created and stored into the Slicer DICOM database.
