findDicomFiles
filelist = findDicomFiles(PATH, SEARCHSUBFOLDER)
Searches the specified path for DICOM files. Filename extension is not used, a file is considered a DICOM file if byte 128-131 equals DICM. Output is a cell array that contains the full path to each file. Searches subfolders by default.
PATH - Directory to search (string).
SEARCHSUBFOLDER - Optional, determines if subfolders are searched (true/false) default is true.
Example:
FINDDICOMFILES('C:\MedData\')
ans =
'C:\MedData\BoringKneeImage.IMA'
'C:\MedData\NewData\aSliceOfMyBrain.DCM'
Citar como
Henric Rydén (2024). findDicomFiles (https://www.mathworks.com/matlabcentral/fileexchange/44741-finddicomfiles), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.