LoadDicomTree

MLModule

genre

DICOM

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

MLDicomTreeModules

definition

MLDicomTreeModules.def

Purpose

The LoadDicomTree allows loading a DICOM file as a DicomTree. This is useful if you are only interested in the DICOM tags rather than the image data. It can also be used to load non-image DICOM files, such as RTstruct/RTplan files. The DicomTree is scriptable through Python scripting.

Alternatively, you can also load a DicomTree via pure Python scripting using MLAB.loadDicomTree().

Windows

Default Panel

../../../Modules/ML/MLDicomTreeModules/mhelp/Images/Screenshots/LoadDicomTree._default.png

Output Fields

outDicomTree

name: outDicomTree, type: MutableDicomTree(MLBase)

The result DicomTree that wraps a DCMTree::Const_TreePtr.

For accessing this object via scripting, see the Scripting Reference: MLABMutableDicomTree.

Parameter Fields

Field Index

Clear: Trigger

Filename: String

Load: Trigger

Read Image Data: Bool

Read Private Tags: Bool

Update Mode: Enum

Visible Fields

Filename

name: filename, type: String

Sets the filename of the DICOM file.

Update Mode

name: updateMode, type: Enum, default: Auto

Defines how to react on changes.

Values:

Title

Name

Description

​Clear

​Clear

​Clears the output.

​Auto

​Auto

​Updates the output on any changes.

Read Image Data

name: readImageData, type: Bool, default: FALSE

If checked, the module reads the image data as part of the tree.

Read Private Tags

name: readPrivateTags, type: Bool, default: FALSE

If checked, the module reads the private tags.

Load

name: load, type: Trigger

When pressed, the module loads the DICOM tree.

Clear

name: clear, type: Trigger

When pressed, the module clears the output.