开发者

How to read header of Multiple dicom files in matlab?

Please can anyone tell me a method to read header of multiple d开发者_开发百科icom(mri) images and store them in a structure

i really need to do this in my project


I would suggest downloading the Statistical Parametric Mapping (SPM) software package for MATLAB. The newest version is SPM8, and we use it often for our fMRI data processing.

After downloading, unzipping, and adding the package to your MATLAB path, you can use the function spm_dicom_headers to read just the header information from your DICOM files. You can call the function like so:

hdr = spm_dicom_headers(fileArray);

Where fileArray is a character array of strings with one file name/path per row, and hdr is a cell array of header information (one cell per file).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜