Print

Print


Dear spm and matlab experts,

I'm trying to figure out X,Y,Z coordinates of entire voxels whose T-value is greater than 10 in the spmT image file, but wondering how to utilize the voxel numbers to refer to the MNI X,Y,Z coordinate from it.
Below is what I did and if anyone knows how to convert the values (e.g., 31705) into the MNI coordinate, please help me out.

Thanks,
YSL

V=spm_vol('spmT_0001.img');
Vol=spm_read_vol(V);
voxels= find (Vol>=10)

31705
31913
35043
.
.
.

41772