View Full Version : Reading JPEG Compressed DICOM Files

11-22-2002, 01:28 PM
Hello All:

Does anyone have source code for reading JPEG compressed images that they
would be willing to share. Specifically, I am looking for software that can
read the Lossless Huffman encoding. This is the default standard for DICOM
files. At present, I must go through a rather painful process of loading
the files into Osiris and saving them in an uncompressed DICOM format. This
is fine for the occasional file, but when I must convert 60+ images at a
time, it becomes very frustrating and time consuming. I frequently receive
DICOM files for analysis, and some of them are JPEG compressed. I have a
program that I wrote to convert a series of DICOM files into one AVS field
file. I would like to include source code for reading these compressed

I have tried using "FreeImage" from SourceForge.net. It will read a variety
of compression formats, including numerous JPEG encodings, but the one that
it will not read is the Lossless Huffman. I am aware of a several available
libraries for reading DICOM files, but each one comes at a premium price.

Any help you can give would be appreciated.


James M. Ziegler, Ph.D., P.E.
Medical Metrics, Inc.

To unsubscribe send SIGNOFF BIOMCH-L to LISTSERV@nic.surfnet.nl
For information and archives: http://isb.ri.ccf.org/biomch-l