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'
引用格式
Henric Rydén (2024). findDicomFiles (https://www.mathworks.com/matlabcentral/fileexchange/44741-finddicomfiles), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!