Problem reading DICOM files with IDL [message #35954] |
Mon, 28 July 2003 05:04 |
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.
|
|
|