DOKK / manpages / debian 12 / vtk-dicom-tools / dicomtodicom.1.en
DICOMTODICOM(1) User Commands DICOMTODICOM(1)

dicomtodicom - vtk-dicom CLI

dicomtodicom -o directory file.dcm ...

The output directory.
Do not print anything while executing.
Verbose error reporting.
Resample to produce square pixels.
Produce axial slices.
Produce coronal slices.
Produce sagittal slices.
Textual description of the series.
The series number to use.
The modality: MR or CT or SC.
A DICOM uid prefix (optional).
Print the version and exit.
Print source and build version.
Documentation for dicomtodicom.

This program allows adjustment of a DICOM series.

In its most basic functionality, this command reads a DICOM series and then writes it out with a new UID. It strips out any meta data that is not recognized as part of the SOP class that it is writing. In other words, its main purpose is to coerce the data to fit the requested SOP class.

Currently, only three output SOP classes can be written: Secondary Capture, CT, and MR. Enhanced CT and Enhanced MR cannot be written, but they can be read, therefore this program can be used to convert enhanced single-file CT and MR DICOM into a series of DICOM files.

The written data has the ImageType set to DERIVED\SECONDARY\OTHER and has a new series number and name. It isn't meant to replace the original data, it is simply meant to coerce the data into a format that might be more compatible with other software.

Reformatting of the data (MPR) is permitted during the conversion. This is an experimental feature and causes much of the per-instance meta data to be discarded. Reformatting be combined with resampling to produce an output with square pixels via Lanczos interpolation.

This manual page was written by Mathieu Malaterre <malat@debian.org> for the Debian GNU/Linux system, but may be used by others.

January 2023 dicomtodicom 0.8.14