MultiFileVolumeListPROutput¶
-
MLModule
¶
Purpose¶
MultiFileVolumeListPROutput
is dedicated to render Presentation State and Graphic Annotation Module information according to the DICOM standard, C.10.5 Graphic Annotation Module.
It must be available in the module network via a connected input MultiFileVolumesList and can be displayed as View2DExtension in a View2D
if DICOM UIDs define such a mapping.
If a specific volume is selected then possibly available Presentation State information and referenced volumes in the MultiFileVolumeList are shown.
It provides configurable input settings and connectors to get access to MultiFileVolumes from different sources; the typical way is to use the inputAccessConnector
with enabled Use Base Input
as source where a DirectDicomImport
module is connected which has imported a list of volumes. See the example for a possible usage.
Note
- For convenience
MultiFileVolumeListPROutput
also retrieves the first three Base objects possibly stored with aDicomPRSave
. SeeoutputBase0
for details. - All Presentation State information stored with
DicomPRSave
is fully supported. MultiFileVolumeListPROutput
currently supports only the most commonly used subset of DICOM Presentation States:
Display Shutter module C.7.6.11.
- Rendered are: CIRCULAR, POLYGONAL, and RECTANGULAR shutters. Limitation: Binary shutters are not supported.
Graphic Annotation Sequence (0070,0001):
- Rendered are: Circles, Ellipses, Lines, Points, Unformatted Text, and Anchor points.
- Limitations:
- Anchor point rendering is sometimes inappropriate.
- Text Style Sequence (0070,0231) in items of the Text Object Sequence (0070,0008) is ignored.
- Line Style Sequence (0070,0232) in items of the Graphic Object Sequence (0070,0009) is ignored.
- Fill Style Sequence (0070,0233) in items of the Graphic Object Sequence (0070,0009) is ignored.
- Compound Graphic Sequence (0070,0209) is ignored.
Window Center(0028,1050) + Window Width(0028,1051) + VOI LUT Function (0028,1056)= “LINEAR”, empty, or not set of Softcopy VOI LUT Sequence (0028,3110) entries (default is off).
Input Fields¶
inputAccessConnector¶
-
name:
inputAccessConnector
, type:
MultiFileVolumeListRefCounted(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLMultiFileVolumeListWrapper
.
Output Fields¶
outputAccessConnector¶
-
name:
outputAccessConnector
, type:
MultiFileVolumeListRefCounted(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLMultiFileVolumeListWrapper
.
outputSoView2DPresentationStates¶
outputBase0¶
-
name:
outputBase0
, type:
MLBase
¶ If Base objects have been stored as private FME tags in the currently selected volume, then the first three ones are retrieved from the DICOM tags and passed to
outputBase0
,outputBase1
, andoutputBase2
. The order as they are found in private tags is maintained. If no Base objects are found these fields are invalidated. Note that currently only XMarkerList, StylePalette, and CSOList objects are supported. SeeDicomPRSave
for details about storing Base objects in private DICOM tags.
outputBase1¶
-
name:
outputBase1
, type:
MLBase
¶ See
outputBase0
.
outputBase2¶
-
name:
outputBase2
, type:
MLBase
¶ See
outputBase0
.
Parameter Fields¶
Field Index¶
Visible Fields¶
Load Result Cache¶
-
name:
loadResultCache
, type:
Trigger
¶ Loads a volume list from cached result volume.
Auto Load Result Cache¶
-
name:
autoLoadResultCache
, type:
Bool
, default:
FALSE
¶ If enabled then the cache file is loaded automatically from file.
Volume Index¶
-
name:
outVolIdx
, type:
Integer
, default:
0
, minimum:
-1
¶ Sets the index of the volume currently selected in the volume list, -1 invalidates the selected volume.
Number of volumes¶
-
name:
numVolumes
, type:
Integer
, default:
0
¶ This read-only field shows number of available volumes.
Volume Info Dump¶
-
name:
volumeInfoDump
, type:
String
, persistent:
no
¶ Shows a collection of available information about the currently selected volume.
Tag Dump Size¶
-
name:
tagDumpSize
, type:
Integer
, default:
10000
¶ Maximum number of characters shown in the
Tag Dump
field. Too large values can degrade performance when viewing the DICOM tag list, too short values clamp the tag dump at the specified number of tags; this is typically indicated with “… tag list shortened and not shown completely” at the end of the dump.
Dump Private Tag Values¶
-
name:
dumpPrivateTagValues
, type:
Bool
, default:
FALSE
¶ If enabled then values of private tags are decoded if decoders are available.
see also MultiFileVolumeListImageOutput.dumpPrivateTagValues
Num shown binary bytes¶
-
name:
numShownBinaryEntries
, type:
Integer
, default:
8
¶ Number of shown entries of binary tags.
see also MultiFileVolumeListImageOutput.numShownBinaryEntries
Annotate¶
-
name:
annotate
, type:
Bool
, default:
FALSE
¶ If enabled then tags are annotated with further descriptive information such as possible types (1=Mandatory, 1C=Conditionally Mandatory, 2=Mandatory, may have zero or one item, 2C=Conditionally Mandatory, but may be empty, 3=Optional) and possible meanings of the tag. Note that no context analysis is performed for that information and therefore all possible and perhaps redundant meanings are shown.
Filter¶
-
name:
regExLineFilter
, type:
String
¶ See
MultiFileVolumeListImageOutput.regExLineFilter
for details.
Tag Dump¶
-
name:
tagDump
, type:
String
, persistent:
no
¶ Shows the DICOM tag list of currently selected volume (the dump will be clamped if the tag list is too large).
First Volume Index Derived From¶
-
name:
firstVolumeIndexDerivedFrom
, type:
Integer
, persistent:
no
¶ The module tries to determine the volume(s) (or to be more precise: the frames) from which the image has been derived. If this or these volumes are also part of the volume list connected to the input of this module, then
First Volume Index Derived From
shows the volume index of the first of these volumes. Note that no, one or multiple of such volumes can exist. The default is -1 if no volume has been found. See alsoVolume Indexes Derived From
.
see also MultiFileVolumeListImageOutput.firstVolumeIndexDerivedFrom
Volume Indexes Derived From¶
-
name:
volumeIndexesDerivedFrom
, type:
String
, persistent:
no
¶ As described for
First Volume Index Derived From
the module tries to determine the volume(s) (or to be more precise: the frames) from which the image has been derived. If this or these volumes are also part of the volume list connected to the input of this module, thenVolume Indexes Derived From
shows a space separated list of all these volumes. The default is empty if no volume has been found. See alsoFirst Volume Index Derived From
.
see also MultiFileVolumeListImageOutput.volumeIndexesDerivedFrom
Enable Rendering¶
-
name:
enableRendering
, type:
Bool
, default:
TRUE
¶ Render annotations if enabled, otherwise do not render anything.
Enable softcopy VOI LUT display¶
-
name:
enableSoftcopyVOILUTDisplay
, type:
Bool
, default:
FALSE
¶ If enabled then Softcopy VOI LUTs are set on affected frames, otherwise not. Note: If a Softcopy VOI LUT of appropriate type (see “Purpose” for limitations) can be set for a displayed frame then this overwrites any windowing in View2D. Frame windowing therefore will not be editable as long as a Softcopy VOI LUT is active on that frame.
Alpha¶
-
name:
alpha
, type:
Double
, default:
1
, minimum:
0
, maximum:
1
¶ The transparency used for drawn annotations, 0 = fully transparent, 1 = opaque.
Note
- The currently drawn Presentation States as they are defined in DICOM tags do not specify a transparency; according to the DICOM tags they should be rendered opaque. Therefore this value is only for experimental usage and may be removed in future versions.
- Objects of Graphic type (0070,0023) POLYLINE or INTERPOLATED are allowed to be concave and the used algorithm to render them in OpenGL may draw some polygons multiple which may display transparencies inhomogeneous.
- Unformatted text currently does not make use of the selected transparency value.
Font Size¶
-
name:
fontSize
, type:
Float
, default:
10
¶ The font size (in pixels) to be used for unformatted text.
Font Name¶
-
name:
fontName
, type:
String
¶ Font to be used for unformatted text, empty or unknown name uses a default font; Arial, Courier, or CourierNew might be available fonts.
Text Alpha¶
-
name:
textAlpha
, type:
Double
, default:
0.15
, minimum:
0
, maximum:
1
¶ Transparency used for drawn text annotations, 0 = fully transparent, 1 = opaque.
Use Shadow¶
-
name:
useShadow
, type:
Bool
, default:
FALSE
¶ If enabled then texts are rendered with shadow, otherwise not.
Render Text Bounding Boxes¶
-
name:
renderTextBoundingBoxes
, type:
Bool
, default:
TRUE
¶ Render bounding boxes around unformatted texts (if available), otherwise do not render them.
Use MeVisLab Fonts¶
-
name:
useMeVisLabFonts
, type:
Bool
, default:
FALSE
¶ - If enabled then MeVisLab fonts are used for text rendering (according to View2DEnableQtFontRendering
- either a Qt font or an FTGL font), otherwise an OpenGL one based on FTGL.
Render Interpolation Points¶
-
name:
renderInterpolationPoints
, type:
Bool
, default:
FALSE
¶ If enabled then render small circles around points of interpolated line, otherwise do not render them.
Interpolation Smoothing Steps¶
-
name:
interpolationSmoothingSteps
, type:
Integer
, default:
4
¶ The number of smoothing steps to be performed for interpolated poly lines.
Interpolation Point Circle Radius¶
-
name:
interpolationPointCircleRadius
, type:
Double
, default:
1
¶ If drawn: the radius of circles drawn around points of interpolated lines.
Render Graphic Data Points¶
-
name:
renderGraphicDataPoints
, type:
Bool
, default:
FALSE
¶ If enabled then render circles around points of given graphic data, otherwise do not render them.
Graphic Data Point Circle Radius¶
-
name:
graphicDataPointCircleRadius
, type:
Double
, default:
2
¶ If drawn: the radius of circles drawn around points of points of graphic data tag.
Render Anchor Points¶
-
name:
renderAnchorPoints
, type:
Bool
, default:
TRUE
¶ If enabled then anchor points are drawn, otherwise not.
Anchor Point Size¶
-
name:
anchorPointSize
, type:
Double
, default:
3
¶ If drawn: the diameter of drawn anchor points.
Render Shutters¶
-
name:
renderShutters
, type:
Bool
, default:
TRUE
¶ If enabled then shutters are drawn, otherwise not.
Show volume index infos in Overview tab¶
-
name:
showVolumeIndexInfos
, type:
Bool
, default:
FALSE
¶ Display additional index information in Overview tab, however, may degrade performance.
Info¶
-
name:
info
, type:
String
, default:
Successfully checked input volumes for Presentation State information., Found no volumes with Presentation State information., , No volume available.
¶ Shows a collection of important overview information about the currently selected SEG volume.
Content Label¶
-
name:
contentLabel
, type:
String
, persistent:
no
¶ Output field to provide the value of Content Label tag (0070,0080) of currently selected volume or empty if invalid or empty.
Content Description¶
-
name:
contentDescription
, type:
String
, persistent:
no
¶ Output field to provide the value of Content Description tag (0070,0081) of currently selected volume or empty if invalid or empty.