Besides the way described above, there are variations.
Instead of adding the module, you can drag the image file
onto the workspace: An
ImageLoad module is created automatically in
the current network when you drag a DICOM or TIFF image file from a
file browser onto the MeVisLab workspace. The dragged file is loaded
automatically and available at the image output connector of the
This mechanism also works for WEM files (creates a WEMLoad module) and CSO files (creates a CSOLoad module).
onto an existing
onto the filename field of an existing
Instead of using the
module, you can use
LocalImage is a macro module that
allows for image selection based on relative paths. This method is
recommended for image referencing because it enables an easier exchange
of networks between cooperating parties. The list of supported variables
can be seen when using the drop-down box of the input widget.
Macro modules are a combination of an internal network and a script. You can open the internal network via the module's context menu or by pressing SHIFT and double-clicking the module. Alternatively, the internal network can be opened in the preview state of a network (see the MeVisLab Manual).
In the case of
internal network consists of an
ImageLoad only. The difference to that module is
only in the scripting that offers relative instead of absolute paths to
the file — a feature that has become somewhat obsolete by the introduction
isFilePath attribute on string fields, which
accomplishes roughly the same without the need for extra code.
© 2021 MeVis Medical Solutions AG