Create a DICOM Series

Overview

Create a DICOM Series from a Slicer volume. User can specify values for selected DICOM tags in the UI. Given the number of tags DICOM series have, it is impossible to expose all tags in UI. So only important tags can be set by the user.

Panels and their use

Input: Input parameters

  • Input Volume (inputVolume): Input volume to be resampled

Output: Output parameters

  • DICOM Directory (dicomDirectory): The directory to contain the DICOM series.

  • DICOM filename prefix (dicomPrefix): The prefix of the DICOM filename.

  • DICOM file number format (dicomNumberFormat): The printf-style format to be used when creating the per-slice DICOM filename. The leading % sign can be omitted.

  • Reverse Slices (reverseImages): Reverse the slices.

  • Use Compression (useCompression): Compress the output pixel data.

  • Filter Settings (Type): Type for the new output volume.

Patient Parameters: Parameters that apply to a patient

  • Patient Name (patientName): The name of the patient (0010,0010)

  • Patient ID (patientID): The patient ID (0010,0020). If set to [random] then a random ID will be generated.

  • Patient Birth Date (patientBirthDate): Patient birth date (0010,0030) in the format YYYYMMDD.

  • Patient Sex (patientSex): Patient sex (0010,0040). M=male, F=female, O=other, [unknown]=not specified

  • Patient Comments (patientComments): Patient comments (0010,4000)

Study Parameters: Parameters that apply to a study

  • Study ID (studyID): The study ID (0020,0010)

  • Study Date (studyDate): The date of the study (0008,0020) in the format YYYYMMDD. If set to “[now]” then the current date is used.

  • Study Time (studyTime): The time of the study (0008,0030) in the format HHMMSS. If set to “[now]” then the current time is used.

  • Study Comments (studyComments): Study comments (0032,4000)

  • Study Description (studyDescription): Study description (0008,1030)

  • Modality (modality): Modality (0008,0060)

  • Manufacturer (manufacturer): Manufacturer (0008,0070)

  • Model (model): model (0008,1090)

Series Parameters: Parameters that apply to a series

  • Series Number (seriesNumber): The series number (0020,0011)

  • Series Description (seriesDescription): Series description (0008,103E)

  • Series Date (seriesDate): The date of the series (0008,0021) in the format YYYYMMDD. If set to “[now]” then the current date is used.

  • Series Time (seriesTime): The time of the series (0008,0031) in the format HHMMSS. If set to “[now]” then the current time is used.

  • Patient Position: (patientPosition): Patient position descriptor relative to the equipment.

Image Parameters: Parameters that apply to the images and data in each image

  • Window center (windowCenter): Window center (0028,1050). Specify a linear conversion from stored pixel values (after Rescale Slope and Intercepthave been applied) to values to be displayed. Window Center contains the input value that is the center of the window. If either window center or width is undefined then the window is set to the full intensity ange of the image.

  • Window width (windowWidth): Window width (0028,1051). Specify a linear conversion from stored pixel values (after Rescale Slope and Intercepthave been applied) to values to be displayed. Window Width contains the width of the window. If either window center or width is undefined then the window is set to the full intensity ange of the image.

  • Rescale intercept (rescaleIntercept): Rescale intercept (0028,1052). Converts pixel values on disk to pixel values in memory. (Pixel value in memory) = (Pixel value on disk) * rescaleSlope + rescaleIntercept. Default is 0.0. Data values are converted on write (the data is scaled and shifted so that the slope and interscept will bring it back to the current intensity range).

  • Rescale slope (rescaleSlope): Rescale slope (0028,1053). Converts pixel values on disk to pixel values in memory. (Pixel value in memory) = (Pixel value on disk) * rescaleSlope + rescaleInterscept. Default is 1.0. Data values are converted on write (the data is scaled and shifted so that the slope and interscept will bring it back to the current intensity range).

  • Rescale Type (rescaleType): Specifies the output units of the rescaled image (0008,1054). Leave it blank to set it automatically (Hounsfield unit for CT, unspecified for others).

  • Content Date (contentDate): The date of the image content (0008,0023) in the format YYYYMMDD. If set to “[now]” then the current date is used.

  • Content Time (contentTime): The time of the image content (0008,0033) in the format HHMMSS. If set to “[now]” then the current time is used.

Unique Identifiers (UIDs): Unique identifiers (UIDs) that allow appending frames to existing studies or series. To generate UIDs automatically, leave all of them blank.

  • Study Instance UID (studyInstanceUID): The study instance UID (0020,000d). Leave it blank to generate UIDs automatically.

  • Series Instance UID (seriesInstanceUID): The series instance UID (0020,000e). Leave it blank to generate UIDs automatically.

  • Frame of Reference UID (frameOfReferenceUID): The frame of reference UID (0020,0052). Leave it blank to generate UIDs automatically.

Contributors

Bill Lorensen (GE)

Acknowledgements

This command module was derived from Insight/Examples (copyright) Insight Software Consortium