How Can I Read DICOM Images On LabVIEW?

Updated May 7, 2019

Reported In

Software

  • LabVIEW 2018
  • LabVIEW Biomedical Toolkit

Issue Details

I have a set of DICOM images, how can I read these images and the respective Tags using LabVIEW Biomedical Toolkit?

Solution

The Biomedical toolkit has an Express VI called Read Image:

By doing double click on this Express VI the Configure dialog will open, where you can configure this Express VI
 

 

  1. Select which Read Action you want to be performed.
  2. Select the file Path, where the DICOM image are located.
  3. Choose the type, in this case DICOM.
  4. Set the Image Name Format, if it is correct, you can previsualize all image set in the Image Preview section
  5. Choose the desired DICOM tags, clicking in the button below Dicom Tags, this will open the following dialog
  6. Select the Tags from the list and then click on the OK button.
  7. Click Ok on the Configure Read Image Ok button to proceed the code implementation.
To access each Tag of each image is required to read the matrix multiple DICOM tags out.

The following code access each Tag of each image and visualizes each DICOM image using the 2D Viewer of the Biomedical toolkit.