How to determine the voxel size in an image

Tools: SPM, cor2mni Assume the image is “a.img”, do v = spm_vol('a.img'); v.mat If v.mat is a diagonal matrix, you can simply read the number and they are the voxel size in mm. If not, a trick is to calculate the distance between adjacent
Xu Cui
40 sec read