how to use writeDicom

3 Ansichten (letzte 30 Tage)
mohd akmal masud
mohd akmal masud am 14 Feb. 2021
Kommentiert: Debarghya Kundu am 5 Mär. 2021
Hi all,
i used file exchange Medical Image Reader and Viewer version 3.9 (917 KB) by Josh Schaefferkoetter.
but when after i draw ROI, how to save it? i try but failed.
mask = VolumeViewer3D(SPECT,CT,'drawROI');
writeDicomImage(SPECT,'C:\Users\Akmal\Documents\MATLAB\Add-Ons\Toolboxes\Medical Image Reader and Viewer')
ERROR
Error using writeDicomImage>getSOPClassUID (line 466)
SOP Class UID is not defined for NM.
Error in writeDicomImage (line 46)
SOPClassUID = getSOPClassUID(S);
  1 Kommentar
Walter Roberson
Walter Roberson am 14 Feb. 2021
SOP Class UID is defined for NM; 1.2.840.10008.5.1.4.1.1.20 according to http://dicom.nema.org/dicom/2013/output/chtml/part04/sect_B.5.html . However, 1.2.840.10008.5.1.4.1.1.5 for NM was retired according to https://www.dicomlibrary.com/dicom/sop/
Can you post dicominfo() of the file (with any sensitive parts blocked out) ?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Selva Karna
Selva Karna am 4 Mär. 2021
your_volume_data=300 X 300 X1200
dicomwrite('filename.dcm,your_volume_data)

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox 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