No announcement yet.

Re: Reading JPEG Compressed DICOM Files

This topic is closed.
  • Filter
  • Time
  • Show
Clear All
new posts

  • Re: Reading JPEG Compressed DICOM Files

    Try the Independent JPEG group for the JPEG bits.
    You'll have to
    incorporate their code (ANSI C) into your DICOM reader app.

    There may already be a Java implementation in dcm4che

    or it's ImageJ plug-in spin-off at


    Robert Day ph +61 8 9224 3227
    Project Bioengineer fax +61 8 9224 1138
    Royal Perth Hospital

    > -----Original Message-----
    > From: jziegler []
    > Sent: Saturday, 23 November 2002 12:29 PM
    > Subject: [BIOMCH-L] Reading JPEG Compressed DICOM Files
    > 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
    > files.
    > I have tried using "FreeImage" from 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.
    > Thanks,
    > Jim
    > ________________________________
    > James M. Ziegler, Ph.D., P.E.
    > Medical Metrics, Inc.
    > ---------------------------------------------------------------
    > To unsubscribe send SIGNOFF BIOMCH-L to
    > For information and archives:
    > ---------------------------------------------------------------

    To unsubscribe send SIGNOFF BIOMCH-L to
    For information and archives: