[IGSTK-Users] Matlab DICOM compatibility
Patrick Cheng
cheng at isis.georgetown.edu
Wed Jul 25 16:07:45 EDT 2007
Hi Ryan,
The IGSTKImageReader is doing some safety checks internally. For
instance, if you are using CTImageReader, then it will check the
modality tag in the DICOM image header to see if this is a CT image.
Most likely, in your case, the DICOMWrite in Matlab altered the original
tags which cause the IGSTKImageReader to fail.
Thank you,
Patrick
Ryan L. Smith wrote:
> Hi-
> I am having trouble loading in DICOM image files that have been
> previously written by Matlab. For instance, if I have a DICOM directory
> with a few test slices right from the CT Scanner, it will load into my
> IGSTK application fine via the ImageReader. However, if I load the
> images into Matlab using DICOMRead and then write them back out again
> using DICOMWrite, the same images no longer read into my IGSTK
> application (it pushes a LoadImageFailureInput state transition). It
> appears as if all metadata is preserved in the DICOMWrite inside
> matlab. Any ideas of what could be causing this problem? Thanks in
> advance-
> -Ryan
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> IGSTK-Users mailing list
> IGSTK-Users at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
More information about the IGSTK-Users
mailing list