isdicom
Keine Lizenz
The ISDICOM function takes a filename or a cell array of filenames and returns true for DICOM files.
ISDICOM detects if the four byte string starting at position 128 of the file is equal to 'DICM', which indicates that the file is a DICOM file.
This is not a very robust method, since other file types might also accidentally contain the string DICM at position 128, and non-standard DICOM files might not contain this string.
Please see the newsgroup discussion on http://newsreader.mathworks.com/WebX/.eef9353?50@474.0yR7b5yCHQl@
Zitieren als
Jøger Hansegård (2024). isdicom (https://www.mathworks.com/matlabcentral/fileexchange/11431-isdicom), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: Dicom directory (of slices) to 3D volume image
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Improved documentation |