[Insight-users] Writing new DICOM files.

Todd Jensen todd.jensen at ieee.org
Tue Nov 11 12:33:51 EST 2008


I am using the itk::GDCMImageIO to create DICOM files, but the underlying gdcm::FileHelper class seems to force values on certain elements in CheckMandatoryElements():

Media Storage SOP Instance UID (0002,0003) is set to a newly generated UID
Image Type is set to DERIVED\PRIMARY

And since the 0002,0003 element is set to a new unique UID, it never matches the SOP Instance UID which is an error.

Other than rewriting these classes to do what I need, is there a simple way to override the default behavior?

Regards,

Todd Jensen


More information about the Insight-users mailing list