
Category: Diagnostic Imaging
Author’s Name: David Platten,
Published: Oct 08, 2010
A batch file to write specific DICOM tags into a text file with the same name as the original image file. Requires the Offis DICOM tool kit and a Windows computer.
AB batch file to write specifc DICOM tags into a text file. The text file has the same name as the original image but with a .txt extension.
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 dcmdump.exe, part of the Offis DICOM toolkit.
You’ll need to manually add the tags that you want written out. Change the ones that are already there if you like, or add more.
To use, drag a directory containing DICOM images onto the batch file using Windows Explorer.
