Regions of Interest

The Flex Tomo Window and Template Windows implement Regions of Interest (or ROIs) a little differently than MedView’s Standard Image window does. This chapter explains how to use ROIs in these newer windows. It discusses:

Creating ROIs

Using the tools below, you can create regions on your images. When you have created regions, their statistics can be displayed by either hovering your cursor over the region. When you do so, a popup window appears to display the statistics. The popup will automatically disappear after a moment. You can cause the popup to remain on screen by holding down the shift key. You can have multiple ROI popup statistics showing simulaneously by holding down shift and hovering over each desired ROI until its popup appears.

An alternative display, Show Statistics On Images (as shown below) writes the statistics directly into the image. You can then, if you wish, perform a Window Snapshot to capture the images and regions into a DICOM secondary capture study.

Note: the "O" hotkey allows you to easily turn the on image statistics display on and off.

Rectangle ROI
You create a rectangular ROI by selecting the tool and clicking and dragging a box on an image. When you release the mouse button you’ll see your region and its statistics.

Oval ROI
You create an oval ROI by selecting the tool and clicking and dragging an oval on an image. When you release the mouse button you’ll see your region and its statistics. Note that in this screen shot, the user has engaged the "opaque backgrounds" Miscellaneous Options - Template/Tomo option to improve on-image statistics readability.

Freehand ROI
Use the Freehand ROI Tool to draw a border around any irregularly shaped region you wish to examine. The tool will automatically close the region (connect the start and end points) and calculate the area, sum, min, max and average.

Double-click on the region with the Grabber tool (or any drawing tool) to display the “ROI Info” dialog. For a Freehand ROI you can change the line color, check or uncheck “Draw Filled,” and check or uncheck “Show Stats.” “Draw Filled” can be useful for complicated regions because it tells you exactly which pixels are included in the stats calculation.

Threshold ROI
Use the Threshold Region of Interest tool (Threshold ROI) to exactly outline a region on an image for the purpose of gathering information about the region. This tool allows you to click once on the image, and the tool will automatically find the region boundary for you.

This tool uses a threshold to decide which points in the image are inside the region. For example, a threshold of 50% will include image pixels that are within 50% (above and below) the pixel you clicked. Therefore, raising the threshold grows the region, and lowering the threshold shrinks the region. In order to select exactly the region that you want, the threshold may need to be adjusted.

Double-click on the region with the Grabber tool (or any drawing tool) to display the “ROI Info” dialog. This allows you to change properties of the region. Use this dialog to adjust the threshold until the region is satisfactory. From this dialog, you can also change the line color by clicking in the colored box to open the color selection palette. Check “Draw Filled” to draw a solid region. This setting is useful for very complicated regions since it allows you to see exactly which pixels are included in the stats calculation. You can also uncheck the “Show Stats” checkbox to remove the region stats from image and display only the boundary line.

After drawing a threshold ROI on an image, if you scroll the slice/image stack, using the arrow keys, scroll wheel or click-and-drag navigations, the ROI will change shape as it recalculates the threshold pixel flow on the new image. The re-application uses the original pixel value and the pixel nearest the prior pixel location that is closest to the original see pixel value.

The above screen shot shows the result of scrolling the threshold ROI to a more posterior slice.

Tool Use

To make it easier to work with ROIs you’ll notice that after you create a ROI when you move your cursor within the ROI’s bounds the cursor turns in to the arrow so that you can easily select the ROI to move, reshape or delete it. You can also select and use the Grabber tool to select ROIs.

After drawing a region, that region is automatically selected for you. This allows you to easily resize, relocate or delete the region.

To delete a region, select it and press the delete/clear/del key. Note that after deleting the region, if more than one region is present in the view, the next region in the region list in that view will be automatically selected for you. Thus, you can delete all, or part of, the regions in a view by repeatedly pressing the delete key.

Moving ROIs

Use the Grabber tool (or any drawing tool) to move an existing region.

  1. Select the grabber tool by clicking on it.
  2. Click and drag the region to position it elsewhere on the image.
  3. Note that you cannot move Threshold ROIs.

Resizing ROIs

Use the Grabber tool (or any drawing tool) to resize an existing region.

  1. Select the grabber tool by clicking on it.
  2. Click an existing region to select it. You’ll see handles appear on the region.



  3. Click and drag a handle to alter the shape of the region.
  4. Note that you cannot resize Freehand and Threshold ROIs.

Note that you can propagate ROI's between views and windows. See ROI Menu below for details.

Deleting ROIs

Use the Grabber tool (or any drawing tool) to delete an existing region.

  1. Select the grabber tool by clicking on it.
  2. Click an existing region to select it. You’ll see handles appear on the region to show that it’s selected.
  3. Hit the “delete” or “backspace” key on your keyboard to delete the ROI. After deleting the selected ROI, the next ROI, if any, on the image will be auto-matically selected. Thus you can delete all ROI's on an image by simply repeatedly deleting.

Viewing and Editing ROI Properties

Use the Grabber tool (or any drawing tool) to access a region’s properties.

  1. Select the grabber tool by clicking on it.
  2. Double-click an existing region to display its properties.

    Rectangle, Oval and Freehand ROIs have these types of properties:


    You can change the color of the ROI, choose to have it displayed in outline or solid form by clicking the “Draw Filled” checkbox and you can choose to show or hide the ROI’s statistics by clicking the “Show Stats” checkbox.


    Threshold ROIs have these types of properties:


    In addition to the same properties as other ROIs, with threshold ROIs you can set the threshold a region should use when finding “similar” pixels.

ROI Table View

The Template window has a disclosable scrollable ROI table which appears on the left of template windows, when displayed. This table can be formatted in two ways: Full Statistics View and Reduced Statistics View, as shown below.

  • Full Statistics View

    Reduced Statistics View

    You can display the ROI list using the Hide/Show ROI Table View menu items in the contextual and menu bar menus or the F5 hotkey.

    Show/Hide ROI Table View menu items

    Menu items in the ROI List View contextual menu

    allow you to toggle the display between the Full and Reduced statistics display (F6 hotkey).

    ROI Menu

    The existing ROI menu is expanded and has Template Window specific items added:

    Show/Hide ROI Table View will show or hide the ROI table view.

    Show More/Fewer statistics toggles the ROI Table View between its two statistics display modes.

    Sum/Different/Average ROI Statistics take the selected ROIs' statistics, perform the requested mathematical composition and place an entry in the ROI table displaying the resultant statistics as show below:

  • Sum (F8)

    Difference (F9)

    Average

    Note that the Difference operator displays the results in percentage change. This can be very useful when comparing lesion ROI statistics between current and prior studies.

    Clone ROI/Ruler to Similar Views will duplicate the selected shapes (ROI's, Rulers, Annotations) into any views in the current window whose type matches that of the view type of the source shape. That is, if a ROI was drawn on a Transverse view originally, the ROI will be duplicated onto all Transverse views of the current window. See also Paste to Similar Views.

    Clone ROI/Ruler to All Views duplicates all selected shapes to all views of the current window, regardless of source view type.

    Note: you can clone to windows other than the window on which the shape was created.

    Graph ROI Statistics takes the selected ROI's and displays a graph window of their statistics. See ROI Graph Window below.

    The Save/Load Shapes to/from XML File commands allow you to export and shapes to and from text based XML files.

    In addition, the main menu bar Edit menu has commands that apply to all Shapes (ROI's and Annotations):

    Cut and Copy operate on selected shapes (ROI's). Cut will remove the selected ROI and place a copy on the Pasteboard, Copy simply places a copy of the selected objects there.

    Paste will paste any shapes (ROI's, Annotations) on the Pasteboard into the currently selected view of the current window.

    Paste to Similar Views will paste any shapes (ROI's, Annotations) on the Pasteboard into any views in the current window whose type matches that of the view type of the source shape. That is, if a ROI was drawn on a Transverse view originally, the ROI will be pasted onto all Transverse views of the current window.

    Paste to All Views copies all shapes on the Pasteboard to all views of the current window, regardless of source view type.

    Duplicate will create copies of all selected shapes in their respective views.

    ROI Graph Window

    ROI Graph window (F10 and also ctrl-g on Windows). Displays the ROI Graph window, showing the selected ROI's.

    To use, first select some ROI's, then use the Graph ROI Statistics menu item or associated hot-key. When you select and graph one or more of regions, for each image of the source view, the region is applied to the image, generating a series of ROI's from each primary ROI you drew and selected.

    There are 3 graph types:

    • The graph type All Images shows a graph of each of the regions you had drawn and selected, applied to the images of the view.
    • The graph type Regions simply graphs each ROI you drew and selected.
    • The graph type Generate 3-D Results shows a graph of each of the regions you had drawn and selected, projected into 3-D and applied to the images of the view as indicated above for each ROI type.

    Generate 3-D Results graph type

    Oval and Rectangular ROI's

    When you select and graph one of these types of regions with the Generate 3-D Results graph type, the region is not applied to every image of the view. Instead, the region is "projected" into adjacent views as if it was the 3-d equivalent of the source primary region. So an oval becomes an ovoid and a rectangle becomes a prism. The corresponding regions are generated as if the primary region is the center of a 3-d object and extends on either "side" to one-half of the primary regions smallest axis.

    Threshold (Magic wand) ROI

    When you use this graph type with a Threshold ROI selected, the region is applied to all images but bounded by the primary region's bounding box. The effect is as if the original threshold region expanded in 3 dimensions from the start 3-d location you originally clicked.

    The ROI Graph Window plots the statistic selected in the Value menu on an x/y graph

    Note, in the screen shot below, that each ROI line is drawn with the ROI's original color (All Images and Generate 3-D Results graph types).

    Statistics/Results export

    You can export the statistics of the associated ROI's to a text file using the ROI Graph Window's Save As popup menu

    Also, choosing the Copy command from the Edit menu (or hot-key command/control-C) will place both a text version of all statistics as well as a screen shot of the ROI Graph window in the system clipboard/pasteboard for pasting into another application such as a spread-sheet, word processor or presentation application.

    In both cases, for each original ROI given to the ROI Graph window, two sets of statistics will be generated. The first is the ROI applied to all slices/images in the home view of the original ROI. The second is the set of statistics resulting from extending the ROI as a 3-D ROI (Generate 3-D Results) into the slices/images of the home view.

    The statistics exported will be expressed in the units currently selected in the Value menu.

    ROIs and Save Screen Arrangements/Bookmarks

    ROI's, and indeed all shape objects (ROI's/Annotations/Rulers) are saved and restored with Save Screen Arrangements and Bookmarks. Indeed with Bookmarks, you can save several different views of the window set with varying ROI types, placements, etc to demonstrate specific image diagnostic characteristics.

    ROI Persistence and Propagation Mechanisms

    Exercises for Exploring ROI Feaatures

    Note that by default, you cannot copy ROI's between views of different types (sagittal ROI cannot be copied/cloned into transverse view). You can override this by holding down the shift key or choosing the "All Views" form of paste/clone.

    ROI's are stored with Bookmarks and both SSA's for this visit and Protocol based SSA's.

    You can export ROI's (and all annotation shapes) to XML files, and import them back in as needed.