dicom_write_volume Reference to non-existent field 'SliceLocation'
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Saadia Talay
am 8 Apr. 2018
Beantwortet: Walter Roberson
am 8 Apr. 2018
I have segmented a series of DICOM images and now I want to reconstruct the segmented images in 3D slicer. I am trying to use the dicom_write_volume function but I get the following error:
Reference to non-existent field 'SliceLocation'.
Error in dicom_write_volume (line 57)
info.SliceLocation = info.SliceLocation+volscale(3);
I would appreciate any help. Thanks
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 8 Apr. 2018
You must supply the Slice Location information when you write a dicom volume. DICOM can assume pixel locations in X Y by having been given pixel resolution, but the absolute Z location is primary information not derived information.
0 Kommentare
Weitere Antworten (0)
Siehe auch
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!