Add a DICOM media set

This guide will walk through how to import DICOM (.dcm) files to Foundry as a media set.

Diagram that shows the steps needed to use DICOM files in Foundry.

Part 1: Import DICOM files

First, you will need to create a new media set and add the DICOM files to the media set.

  1. Navigate to the folder in which the media set will be created. Select New > Media set.

    Add new media set.

  2. Enter a name for your media set. Select DICOM as the media type and select Batch as the latency. Select Create media set to create the DICOM media set.

    Create a DICOM media set.

  3. Next, add one or more .dcm files to the media set.

    Add files to media set.

    The DICOM media set type includes metadata such as Patient ID and Study ID.

You can select a DICOM file and drag left and right and up and down to change the contrast and exposure.

Drag up and down and left and right to change the contrast and exposure.

Part 2: Create object type

Next, you will need to create a new pipeline to transform the media set to an object type that you can use in Foundry.

Learn more about creating pipelines for media sets.

  1. Create a pipeline by selecting Create new pipeline from the All actions dropdown.

    The Create new pipeline option is highlighted.

  2. The media set will automatically be added to the pipeline. Select Transform to convert the media set to a table.

    The Transform option is highlighted.

  3. Select Convert media set to table rows, then select Apply.

    Media set transform to a table.

    In the resulting table, each row represents a DICOM file in the media set.

    Table with four rows that correspond to four DICOM files in the media set.

  4. Create an object type by selecting Add pipeline output from the Pipeline outputs menu in the right panel.

    The Add pipeline output option is highlighted.

    Select the Object type option.

    Add object type pipeline output.

  5. Enter a name for the object type, for example DICOM media set. You can set the Media Item Rid property as the primary key by selecting the three dots to the right of the property and then selecting Set as primary key.

    DICOM media set file mapping.

    When you are finished, you can save and deploy the pipeline.

After the pipeline is deployed, you can view the object type in Object Explorer or Ontology Manager.

(Optional) Part 3: Create Workshop module

You can open Workshop by selecting Create Workshop module.

Create Workshop module.

Workshop will automatically generate helpful widgets like an object table and preview.

Workshop module with an object table for DICOM files.

Learn more about creating widgets in Workshop.