Clear Filters
Clear Filters

How to save non-dicom images (like tiff, bmp, raw files) as dicom images

4 views (last 30 days)
I have .bmp files which I want to save as dicom files. I tried using 'dicomwrite' command, but it didn't work. It seems the code just support dicom format files. Is that the case or could this be possible to save and view those .bmp files as dicom. Please support me with this.

Accepted Answer

Walter Roberson
Walter Roberson on 22 Jun 2012
dicomwrite( imread('YourFile.bmp'), 'YourFile.dcm')

More Answers (0)

Categories

Find more on DICOM Format in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!