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

Home » Public Forums » archive » Problem reading DICOM files with IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problem reading DICOM files with IDL [message #35954] Mon, 28 July 2003 05:04
Nuno Chichorro Ferrei is currently offline  Nuno Chichorro Ferrei
Messages: 1
Registered: July 2003
Junior Member
Dear all,

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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Reading images from a socket
Next Topic: Re: Can C call the function in IDL?

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

Current Time: Wed Oct 08 17:02:48 PDT 2025

Total time taken to generate the page: 0.00529 seconds