Denis Schluppeck, 2025-03-20, help for DAFNI students
... on how to get from coordinates reported in MM (often with negative numbers, because images are centered on 0,0,0) to VOXEL coordinates in SPM.
The matlab script test_coords.m
included below shows you how you can go about this. It should work with minor modifications. See also comment on this gist for where in SPM you can find info about locations of voxels.