3.6. A Note on Importing DICOM Images

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

The DICOM import is provided by the module DicomImport.

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

    Figure 3.26. DicomImport

    DicomImport

  2. Enter the necessary data.

    1. Select the Source Path where your DICOM slices are located. In the MeVisLab installation path you can find some example DICOM slices in the $(InstallDir)/MeVisLab/data/demodata/BrainT1Dicom directory. All subdirectories will be scanned recursively and each series will be converted into the 3D DICOM/TIFF format.

    2. Select the Target Path where your imported DICOM/TIFF files will be stored in. If you want to import the example DICOM slices, we suggest using the $(InstallDir)/MeVisLab/data/demodata path.

    3. Click the Import button. A window pops up showing the import progress. Close the window when the import has been finished (Successfully terminated).

    Depending on how many series have been imported, you will find one or more DICOM/TIFF file pairs in the Target Path. For the example slices import, two files should have been created: TestPatien_id0__0001.dcm and TestPatien_id0__0001.tiff .

If your DICOM import fails, check if some optional flags in the Options field are missing. You can find more information either via the options description (Help button in the module panel) or via the module's help page (context menu, Show Help).

[Tip]Tip

DICOM multi-frame files can be opened directly in MeVisLab; therefore, the import step is not necessary for displaying the data. (For image processing, it is still recommended to import the files.)