Dicom Tags Read and Write

Read / Write raw Dicom tags with large dictionary, for small file manipulations, like anonymize
2,9K Downloads
Aktualisiert 23. Feb 2011

Lizenz anzeigen

There are two main files, "ReadDicomElementList" which will read all tags of a dicom file into a struct and "WriteDicomElementList" which can write them back to a new file.

A large dicom dictionary is included from GDCM with private tags from Philips, Siemens and Toshiba (See Dictionary-License.txt).

These functions are usable for creation of an anatomize function, or to manipulate data which is not support by Matlab defaults functions (like writing a dicom file with one big volume inside)

Example read output:

>> Elements(4)
name: 'MediaStorageSOPInstanceUID'
data: '1.2.840.113619.2.1.2.2011002556.2.10.602503127'
group: '0002'
number: '0003'
type: 'UI'
length: 46
info: 'Type Included'
explicit: 1
location: 192

Zitieren als

Dirk-Jan Kroon (2024). Dicom Tags Read and Write (https://www.mathworks.com/matlabcentral/fileexchange/29145-dicom-tags-read-and-write), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu DICOM Format finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Now also reads Dicom files with ISO header.
Tag-Replace Example.

1.0.0.0