Use spm12 to convert dicom medical image format to NII format

Don’t talk nonsense, just deliver dry goods,

One, first download spm12

Foreign download sources are relatively slow. Here is Baidu
Netdisk. Download directly if needed: Link: https://pan.baidu.com/s/1ZGQMSY1d8LTTa8Fyj1bNVQ
Extraction code: yz1b

2. Add the spm path setting to the matlab path,

Enter the command on the command side of matlab:
pay attention to replace the directory with the path where your spm is located

addpath G:\spm\spm12

Insert picture description here
Press Enter and enter:

spm

Insert picture description here
Click to select PET&VBM
and then select dicom import and
Insert picture description here
Insert picture description here
double-click the dicom input path: The
Insert picture description here
same routine operation of the output path will not be repeated, I believe you will be able to get it smart. After the
selection is completed, click the run button in the upper left corner.
Insert picture description here
Then you can complete the conversion. Output directory to see if your file is complete.

Guess you like

Origin blog.csdn.net/hyy_blue/article/details/108658944