Click here to Skip to main content
15,921,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing a DICOM Viewer. But after reading the DICOM file the pixel data i get is in compressed format and it is a lossless JPEG compression used. Can anyone suggest how to decompress the pixel data. I want some function that will accept the compressed array and will return the decompressed pixel data array.
Posted

Either find a library that handles DICOM images (a simple Google search should come up with a bunch) or write your own parser that can decompress the image.
 
Share this answer
 
You can use a memory stream to load a JPEG from the raw bytes. See MSDN.
 
Share this answer
 
hello everyone

Thanks for your reply but i have posted this forum after a lots of google search. But i didn't get anything. I just want some library or method which will decompress the byte array. Or can anyone suggest me the logic to decompress the compressed byte array?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900