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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Walter Roberson
Walter Roberson il 22 Giu 2012
dicomwrite( imread('YourFile.bmp'), 'YourFile.dcm')

Più risposte (0)

Categorie

Scopri di più su DICOM Format in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by