DICOMTODICOM(1)

πŸ’– NAME πŸ’–

okay bestie, say hi to dicomtodicom β€” it's a vtk-dicom CLI tool and it's literally here to glow up your DICOM files. 🩻✨


πŸŽ€ DESCRIPTION πŸŽ€

✨ usage ✨

so this is the whole vibe:

dicomtodicom -o directory file.dcm ...

🌸 options 🌸

  • -o directory β€” bestie this is where the output goes. The output directory. πŸ“
  • -s, --silent β€” shhh 🀫 do not print anything while executing. Iconic minimalism.
  • -v, --verbose β€” verbose error reporting, aka it tells you EVERYTHING when things go wrong. no gatekeeping. 😭
  • --resample β€” resample to produce square pixels πŸ”²βœ¨ square pixel slay.
  • --axial β€” produce axial slices, periodt.
  • --coronal β€” produce coronal slices, as one does πŸ’…
  • --sagittal β€” produce sagittal slices, we love a side profile πŸ”₯
  • --series-description β€” textual description of the series 🏷️
  • --series-number β€” the series number to use πŸ”’
  • --modality β€” the modality: MR or CT or SC. pick your fighter πŸ‘‘
  • --uid-prefix β€” a DICOM uid prefix (optional, so it's giving very optional ✨)
  • --version β€” print the version and exit. bye bestie 🫢
  • --help β€” documentation for dicomtodicom. the lore. πŸ“–

okay so here's the tea β˜• β€” this program allows adjustment of a DICOM series. that's the whole job description.

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. it's giving glow-up makeover but for metadata ngl.

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 β€” so therefore this program can be used to convert enhanced single-file CT and MR DICOM into a series of DICOM files. converting is the moment fr fr. ✨

⚠️ heads up bestie: 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. so like, don't delete your originals, okay?? πŸ’€

Reformatting of the data (MPR) is permitted during the conversion. This is an experimental feature πŸ™ˆ and it causes most per-instance meta data to be discarded. so like, it eats your metadata, no cap. Reformatting can be combined with resampling to produce an output with square pixels via Lanczos interpolation. fancy. πŸ‘‘


🫢 AUTHOR 🫢

This manual page was written by Mathieu Malaterre <malat@debian.org> for the Debian GNU/Linux system, but may be used by others. shoutout to the author, absolute icon πŸ’–


and that's the whole thing bestie β€” this page is from dicomtodicom version 0.8.17, dated August 2026. go forth and coerce some DICOMs πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from