3.6. A Note on Importing DICOM Images

MeVisLab has its own 3D file format which stores the image values and the image DICOM tags separately in two files with the same base file name but different file extensions: <filename>.tiff and <filename>.dcm. Without importing your DICOM slices, the standard MeVisLab image loading modules will only be able to load single DICOM slices separately. For further information, see the chapter Chapter 12, Excursion: Image Processing in ML.

The DICOM import is provided by the module DirectDicomImport.

  1. Add the module to the network via the quick search or the menu bar, ModulesFileDICOMDirectDicomImport. Open the module panel with double-click on the module.

    Figure 3.25. DirectDicomImport


  2. Enter the necessary data.

    1. Select the Source Dir where your DICOM slices are located. In the MeVisLab installation path you can find some example DICOM slices in the $(InstallDir)/Packages/MeVisLab/Resources/DemoData/BrainT1Dicom directory. All subdirectories will be scanned recursively by default.

    2. Click the Import button. The lower part of the module panel will fill with diagnostic messages of the import process. The last message will be Done..

    The area above the diagnostic messages will contain the list of imported series. You can click the entries to access the individual series, which will be provided at the first output connector of the module. By default the first series will be selected.

    You can now connect an ImageSave module to save the composed image series. Since DirectDicomImport can create an on-disk cache of the slices going into an image, this might not strictly be necessary for you.

If your DICOM import fails, or doesn't provide the expected results, check the settings of the module by clicking the Configuration... button, especially check the sections DICOM Import Options and DICOM Sorting/Splitting. You should probably also consult the help page for this module which is available through the context menu of this module via HelpShow Help.


DICOM multi-frame files can be opened directly in MeVisLab through the ImageLoad module; therefore, the use of DirectDicomImport is not necessary for displaying the data.


MeVisLab also has its own file format that supports all features of the internal image representation. The file suffix for this file format is .mlimage. This file format can be saved with MLImageFormatSave and loaded with MLImageFormatLoad.