[Insight-developers] DICOM reader problem

Mark Foskey mark_foskey@unc.edu
Fri, 25 Oct 2002 14:40:05 -0400


I compiled the DICOMApp program that is included with the DICOM parser 
code that Jim checked in, and ran it on several (four) DICOM files. 
Judging from the code, it looks like some tags are supposed to be output 
into a file with the name [old filename].header.txt.  Some of those 
tags, such as num rows/cols and pixel spacing, are certainly in the 
files that I am trying it on.

It may be that none of the files are strictly compliant with the 
standard (for two of them, I got a "magic number is incorrect" error), 
but they came from commercial hardware and claim to be DICOM files.

The current itkDicomImageReader does acquire those tags from those 
files, but it has problems of its own.

Any idea what I could be doing wrong?

-- 
Mark Foskey    (919) 843-5436   Computer-Aided Diagnosis and Display Lab
mark_foskey@unc.edu             Department of Radiology, CB 7515, UNC
http://www.cs.unc.edu/~foskey   Chapel Hill, NC  27599-7515