DicomImportExtraOutput

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

Purpose

This module allows to get more than one image volume at once from a DicomImport module.

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.

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 the only way to get at the DICOM tree if the selected item didn’t contain image data.

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

Parameter Fields

Hidden Fields

selectedItem

name: selectedItem, type: Integer, default: 0

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. So it is possible to have several instances of this module in the current application without getting into conflict with each other.

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

volumeCount

name: volumeCount, type: Integer, persistent: no

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

info

name: info, type: String

selectedIndex

name: selectedIndex, type: Integer, default: 0