[Insight-developers] GDCM IO and metadata copying
Miller, James V (Research)
millerjv at crd.ge.com
Mon Nov 8 09:52:39 EST 2004
Just so people know, one use of sequences in DICOM is for specifying
contours and landmarks. This is a way to report segmentation results
and a way for specifying "ground truth".
Jim
-----Original Message-----
From: Peter Cech [mailto:pcech at vision.ee.ethz.ch]
Sent: Monday, November 08, 2004 8:40 AM
To: insight-developers at public.kitware.com
Subject: [Insight-developers] GDCM IO and metadata copying
Hi,
when GDCM IO is copying metadata from image, it does not distinguish
between simple tags and sequence of tags. As a consequence, it segfaults
when reading DICOM file with sequence tag. You can grab such a file from
http://www.vision.ee.ethz.ch/~pcech/bugreports/ITK-20041108/
Attached patch contains a workaround. It will skip all tag sequences.
I suspect that the proper fix would require more than just copy all tags
from sequence, so I better leave it to someone with better knowledge of
DICOM format.
Regards,
Peter Cech
More information about the Insight-developers
mailing list