rexcardan / Evil-DICOM

A C# DICOM Library
168 stars 98 forks source link

How to decode .dcm to .bmp #15

Closed Sitrone closed 9 years ago

Sitrone commented 10 years ago

I want to decode .dcm to .bmp , but i can't find the method DecodeToBMP in IEncoderDecoder Class.How can I use the method. I would very appreciate it if you have time to answer my question.

rexcardan commented 9 years ago

Evil DICOM does not have any image classes to help with this. While that might seem strange to not include image tools in a DICOM library, it is not the original intent of the the library. Evil DICOM is more for manipulating and analysis of DICOM data. I used to have some image parts in the old library which I believe is still available on SourceForge. You can take a look, but the PixelData tag has the raw bits to put together an image. .NET has several classes that can help with that, but I don't have anything to write here in this post. If I get some time, I will write a blog post about how to do it on the website (rexcardan.com).

patrickayoup commented 9 years ago

+1 I as well would greatly appreciate a post like this.