DicomImportExtraOutput

MLModule
genre DICOM
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll DicomImport
definition DicomImportExtraOutput.def
see also DicomImport
keywords Read, Load

Purpose

The module DicomImportExtraOutput allows for selecting one image volume (and DICOM tree) from all results of a connected DicomImport module. Using multiple DicomImportExtraOutput modules, different import results can be accessed simultaneously.

Usage

Connect this module to a DicomImport module and import a directory. volumeCount will indicate the number of volumes available after the import. Set a valid ID number as selectedItem to access an imported volume at the outputs.

Windows

Default Panel

../../../Projects/DicomImport/DicomImport/Modules/mhelp/Images/Screenshots/DicomImportExtraOutput._default.png

Input Fields

inImportResult

name: inImportResult, type: DicomImportResult(MLBase)

Connect this to the DicomImport.outImportResult field of a DicomImport module.

When the attached object is updated, selectedItem will always be reset to 0 and the image output invalidated.

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

Output Fields

output0

name: output0, type: Image

This output will return the image volume selected with selectedItem.

outDicomTree

name: outDicomTree, type: DicomTree(MLBase)

The DICOM tree of the currently selected item.

This is the same tree as provided with the image output, but it is the only way to access the DICOM tree if the selected item does not contain image data.

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

Parameter Fields

Field Index

<: Trigger
>: Trigger
info: String
selectedIndex: Integer
selectedItem: Integer
volumeCount: Integer

Visible Fields

<

name: previousButton, type: Trigger

>

name: nextButton, type: Trigger

Hidden Fields

selectedItem

name: selectedItem, type: Integer, default: 0

Sets the currently selected volume by ID in the patient tree. Valid IDs must be retrieved with the function call DicomImportResultWrapper.imageIds on the inImportResult, or obtained from the ID attribute of the DicomImport.outputModel of the input DicomImport module.

The IDs are unique throughout the run of the application. Thus, it is possible to have several instances of this module in the current application without conflicting with each other.

Setting this to 0 (or any invalid number) will invalidate the image output.

volumeCount

name: volumeCount, type: Integer, persistent: no

Shows the number of volumes contained in the import data connected to inImportResult.

info

name: info, type: String, persistent: no

selectedIndex

name: selectedIndex, type: Integer, persistent: no