RadiAnt DICOM Viewer - Discussion Forum
Zipped DICOM files

Hi,

---

$ dcmdump IM000001
E: DcmElement: Unknown Tag & Data (4b50,0403) larger (524308) than remaining bytes in file
E: dcmdump: I/O suspension or premature end of stream: reading file: IM000001

$ unzip IM000001
Archive: IM000001
inflating: _828114

$ dcmdump _828114 | head -n 2

# Dicom-File-Format

---

is there a way to view "zipped" DICOM files or is that something off standard stuff?

Best regards
Stefan


Sep 29, 2015 09:29 AM
by Stefan Ritter
I find out that the file opens when I rename it to $filename.zip. Unfortunately we get CDs with files without the zip ending. Maybe you can do some magic byte sorcery? ;)


Sep 29, 2015 09:35 AM
by Stefan Ritter
Stefan,

We will explore the possibilities of improving the ZIP reading experience in RadiAnt.
Currently you could use a batch script to unzip all files from the CD to a temporary folder and then open this folder in RadiAnt using command line parameters: http://www.radiantviewer.com/dicom-viewer-manual/command-line_arguments.htm

Greetings,
Maciej


Sep 30, 2015 04:36 PM
by RadiAnt
I already did, but for Bash.

#!/bin/bash
mkdir UNZIP # inside DICOM folder
count=1
find -type f | while read line; do
mkdir UNZIP/$count/ # in case of same filenames in zip files
unzip $line -d UNZIP/$count/
count=$((count+1))
done


Oct 1, 2015 12:55 PM
by Guest
Post reply

Author:


Message: