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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu DICOM Format finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by