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

4 次查看(过去 30 天)
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.

采纳的回答

Walter Roberson
Walter Roberson 2012-6-22
dicomwrite( imread('YourFile.bmp'), 'YourFile.dcm')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by