[Insight-users] GDCM Series Dicom reader for some Siemens MRI
Dicom data
Mathieu Malaterre
mathieu.malaterre at kitware.com
Fri Mar 10 13:53:38 EST 2006
Andrew,
Thanks a lot for tracking this issue down. Do you have permission to
share this image. I would like to add it to the gdcmData baseline to
make sure that each night we are able to read both SIEMENS DICOM file:
the buggy one (with wrong length) AND the correct one (the one you have).
Thanks for your help,
Mathieu
Andrew Li wrote:
> Dear ITK users:
>
> This is a brief report about an instance reading Siemens MRI DICOM data:
> VB33G, MAGNETOM VISION;
>
> Our program crashed at ImageReader->Update() without catching any
> exception thrown.
>
> The problem is tracked down to this section in
> Insight/Utilities/gdcm/src/gdcmDocument.cxx
>
> //////// Fix for some brain-dead 'Leonardo' Siemens images.
> // Occurence of such images is quite low (unless one leaves close to
> a
> // 'Leonardo' source. Hence, one might consider commenting out the
> // following fix on efficiency reasons.
> //
> else if ( gr == 0x0009 && ( elem == 0x1113 || elem == 0x1114 ) )
> {
> foundLength = 4;
> entry->SetReadLength(4); // a bug is to be fixed !
> }
>
> The problem is gone when I commented out this section.
>
> It seems to me that the original problem in the headers is fixed and
> this section that handles the original problem is not compatible with
> new headers.
>
>
> -Andrew
>
> --------------------------------------------------------
>
> This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information.Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.
> --------------------------------------------------------
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list