nii图像的读取处理保存

filename = spm_select(n,'image','choose the image'); %选择当前目录的文件 V = spm_vol(filename); Y = spm_read_vols(V); Y_new = XXXXXX %Y_new为处理后 V.fname = 'xxxx.nii'; %保存为的文件名称 V.dt = [64,0]; spm_write_vol(V,Y_
相关文章
相关标签/搜索