MATLAB Answers

Dicom "CompressionMode" steps?

7 views (last 30 days)
Huseyin
Huseyin on 1 Sep 2016
Commented: Walter Roberson on 2 Sep 2016
Hi,
For writing the dicom images, matlab offers some methods for compression. For example one is JPEG lossy and JPEG lossless. There are several types of algorithms for encoding the image in the literature.
The basic method for lossy is image=>dct=>Quantization=>RLE or (RLE+DPCM)=>huffman encoding.
And I wonder if the method for lossless jpeg is directly image=>RLE=>Huffman ? (or image=>huffman only?)
Does Matlab uses the same structure for lossy jpeg dicom compression? Please let me know I need help
Thanks in advance

Answers (1)

Walter Roberson
Walter Roberson on 1 Sep 2016
  2 Comments
Walter Roberson
Walter Roberson on 2 Sep 2016
Digging into the code, I see that the dicomwrite() routines end up calling imwrite() for jpeg lossless and jpeg lossy modes. The "bits" setting is passed in to the imwrite() call.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!