comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Problem reading DICOM files with IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem reading DICOM files with IDL [message #35933 is a reply to message #35866] Tue, 29 July 2003 07:52 Go to previous messageGo to previous message
Nuno Ferreira is currently offline  Nuno Ferreira
Messages: 16
Registered: July 2003
Junior Member
David Fanning wrote:

> It would be more helpful to see the error messages
> caused by reading the uncompressed files, since even
> you admit IDL isn't going to read the compressed files.
>
> Sigh...

I was hoping that IDL versions more recent than 5.4 would be able to read
DICOM compressed files. In that case, the error message could be useful.

Anyway, here is the error message I get with the uncompressed files created
with the Osiris DICOM viewer:

IDL> img=read_dicom(file)
% Compiled module: READ_DICOM.
% Loaded DLM: DICOM.
READ_DICOM: The file D:\TEMP\xa0001.dcm is not in a supported DICOM format.


Not very helpful, I know...
Just to check, I also tried the commands to read the header info that David
mentioned in another message, which of course didn't work since IDL cannot
read the file...

IDL> thisObject = Obj_New('IDLffDicom', file)
IDL> thisObject -> DumpElements
IDL> modality = thisObject -> GetValue('0008'xL, '0060'xL)
IDL> Print, "Modality: ", *modality
% Pointer type required in this context: MODALITY.
% Execution halted at: $MAIN$

Are you aware of a DICOM viewer that reads compressed DICOM files and creates
uncompressed files compatible with IDL? Do you have other ideas?
Thanks in advance...

Nuno
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading RINEX files into IDL
Next Topic: String Data file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 18:59:24 PDT 2025

Total time taken to generate the page: 1.35798 seconds