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

조회 수: 2 (최근 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