LocalImage

MacroModule
genre File
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition LocalImage.def
see also MakeName, LocalSoFile
keywords load

Purpose

The module LocalImage resolves image paths relative to network or to the local MeVisLab installation.

Windows

Default Panel

../../../Modules/Macros/FileHandling/mhelp/Images/Screenshots/LocalImage._default.png

Output Fields

outImage

name: outImage, type: Image, deprecated name: output

The loaded image.

Parameter Fields

Field Index

Auto Load: Bool
Close File: Trigger
Load: Trigger
Name: String
Status: String
True Name: String

Visible Fields

Name

name: name, type: String, default: $(DemoDataPath)/BrainMultiModal/ProbandT1.dcm

Sets the name of the file, can contain path variables.

The field is implemented as a combo box which is pre-filled on opening the module’s GUI with the following path variables:

  • $(NETWORK): the directory where the network is stored in.
  • $(DemoDataPath): the demo data path of a MeVisLab installation.
  • Path variables to all installed MeVisLab packages on the current system.
  • $(HOME): the current user’s home directory on the current system.
  • $(TMPDIR): the current user’s temporary directory on the current system.

True Name

name: trueName, type: String, persistent: no, deprecated name: localname

Shows the true filename with resolved path variables.

Load

name: load, type: Trigger

If pressed, the image is loaded.

Auto Load

name: autoLoad, type: Bool, default: TRUE

If enabled, the module automatically opens the file whenever the Name is touched.

Close File

name: close, type: Trigger

If pressed, the loaded image is closed.

Status

name: status, type: String, persistent: no

Shows status information about the module.