DICOMTreeItemModel

MacroModule
genre DICOM
author Hans Meine
package FMEwork/ReleaseMeVis
definition DICOM.def
see also DicomTagBrowser
keywords tags, tree

Purpose

This module allows to display the DICOM tree associated with an image.

Usage

Connect an image to input0 and open the panel to explore the DICOM tree. The output field outItemModel can be used for customized views, filtering etc.

It is possible to search for specific tags by typing a regular expression into Search String. Search Type determines which columns are searched, and if Case is checked, the search is case sensitive (default: unchecked, case insensitive). The filtered model is available as outFilteredItemModel (and this is the model actually displayed in the panel).

If the search expression is empty, no filter is applied (default), and if the expression is invalid, the filtered model will appear empty. If the expression does not match a row, its children will not appear either. However, this behavior is not designed like that on purpose and may change later.

Windows

Default Panel

../../../Modules/Macros/DICOM/mhelp/Images/Screenshots/DICOMTreeItemModel._default.png

Input Fields

input0

name: input0, type: Image

Input image whose DICOM tree is to be analyzed. Connecting (or disconnecting) this always has immediate effect on the item model.

Output Fields

outItemModel

name: outItemModel, type: MLBase

Item model representing the full, unfiltered DICOM tree that can be displayed using the ItemModelView MDL tag (see DICOMTreeItemModel panel for example)

outFilteredItemModel

name: outFilteredItemModel, type: MLBase

Same as outItemModel, but after filtering (see Search String)

Parameter Fields

Visible Fields

Search Type

name: searchType, type: Enum, default: Any

Determines which attributes / columns are searched / filtered on

Values:

Title Name Description
Any Any All of (ID, Name, Value) are searched
ID ID Only the ‘ID’ column with the hexadecimal tag (group, element IDs) is searched
Name Name Only the ‘Name’ column with the tag name (string corresponding to ID) is searched
Value Value Only the ‘Value’ column with the visible representation of the tag value is searched

Search String

name: searchString, type: String

Regular expression that is used for filtering the visible tags (based on the columns configured in Search Type)

If empty, no filter is applied.

For technical reasons, it is currently not possible to search for slashes.

Case

name: caseSensitive, type: Bool, default: FALSE

Should Search String be case sensitive?