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 #35951 is a reply to message #35948] Mon, 28 July 2003 08:02 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nuno Chichorro Ferreira writes:

> I apologize if this has already been answered before. I have been unable
> to read DICOM files with IDL 5.3/5.4, can someone help me?
>
> The files I want to read are in DICOM compressed format (JPEG), but IDL
> only reads the size of the image, not the data. I know that IDL does not
> support compressed files (at least the 5.3/5.4 versions), but the same
> happens with the uncompressed files I have created by reading them with
> a DICOM viewer - Osiris - and saving them without compression.
>
> Can anyone find an easy solution for the problem?
> Many thanks,
>
> Nuno
>
> P.S. - The following is the error message I get when reading the
> compressed DICOM files:
>
> IDL> img=read_dicom(file)
> % Compiled module: READ_DICOM.
> % Loaded DLM: DICOM.
> % IDLFFDICOM::READ: This file uses the following compression type for
> its image(s): JPEG Lossless, Non-Hierarchical, First Order Prediction
> (Process 14)
>
> % IDLFFDICOM::READ: ** Unable to handle compressed data!!! **
>
> % IDLFFDICOM::READ: This image has an undefined length and may not be
> read properly.

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...

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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: Sat Oct 11 23:05:48 PDT 2025

Total time taken to generate the page: 1.44471 seconds