Hi,
It's also possible to do this with std2imgcoord and hence script it.
If you don't want the mm coordinates to be associated with the MNI space (the default) then also include the -std option and use the same image for that too (e.g. std2imgcoord -img image_name -std image_name -vox coord_file).
All the best,
Mark
On 10 Sep 2012, at 19:12, David Cunningham <[log in to unmask]> wrote:
> I nee to convert my mm to vox coordinate in order to use FSLMATHS -roi
>
> Is there any easy way to convert from mm to voxel without going into fslview? I found one of your previous post where it says to use
>
> std2imgcoord -img image_name -vox coord_file
>
> however, It doesn't appear to work for me. It gives me negative values and the z coordinate appears to be inverted. I am putting the anatomical image in for -img and then the coord file with xyz on one line seperated by spaces.
>
> Thanks
>
|