
Category: Diagnostic Imaging
Author’s Name: David Platten,
Published: Oct 08, 2010
A batch file to help with decompressing whole directories of compressed DICOM images. Requires the Offis DICOM tool kit and a Windows computer.
A batch file to help with decompressing whole directories of compressed DICOM images. My copy of ImageJ can’t read compressed DICOM files, so I run the images through this first.
Requires the Offis DICOM tool kit to be installed (http://dicom.offis.de/dcmtk.php.en). Will only work on a Windows computer.
It looks for files with the extension .dcm and creates a decompressed copy of all files with that extension that it finds in the directory.
You’ll need to change the file extension of the downloaded file from .txt to .bat. You may also need to edit the file and provide the full path to dcmdjpeg.exe, part of the Offis DICOM toolkit.
To use, drag a directory containing DICOM images onto the batch file using Windows Explorer.
