[Insight-users] Dicom read-write
Rashindra Manniesing
r.manniesing at erasmusmc.nl
Sat Jun 2 09:43:11 EDT 2007
HI,
I have a question concerning 'DicomImageReadChangeHeadeWrite.cxx' (ITK
3.2, Example/IO directory).
The program reads a dicom slice, change header information and writes a
dicom slice. I have commented out the code responsible for changing
header information, thus the header in/out should be exactly the same
(should it?). This is not the case.
Is that a bug or feature? And how to resolve this? Using the member
function KeepOriginalUIDOn() of GDCMImageIO preserves some of the header
information, but still other entries are changed, including eg
(0002|0000) Group Length
(0002|0003) Media Storage SOP Instance UID
(0028|0101) Bits Stored = 12
and many others. How to prevent this from happening?
Rashindra Manniesing
More information about the Insight-users
mailing list