Hi Xuemei,
>
> I have found some information about img2imgcoord. Here is the link.
> http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FLIRT/UserGuide
> And the following is the usage of img2imgcoord.
> Usage: img2imgcoord [options] <filename containing coordinates>
> Options are:
> -src <filename of source image>
> -dest <filename of destination image>
> -xfm <filename of affine transform (e.g. source2dest.mat)>
> -warp <filename of warpfield (e.g. intermediate2dest_warp.nii.gz)>
> -premat <filename of pre-warp affine transform (e.g. source2intermediate.mat)> (default=identity)
> -vox (all coordinates in voxels - default)
> -mm (all coordinates in mm)
> Note that the first three options are compulsory
>
> According to these information I performed the following command and I got bad result.
> img2imgcoord -src MNI152_T1_2mm -dest con01_T1_brain -warp inverted_warp -mm coordfile.txt
>
> Is something wrong with my command?
your command looks fine to me. What do you mean by bad result?
> What’s the mean of “the first three options (-src, -dest, -xfm) are compulsory”?
It means that you must enter them. It seems that the documentation isn’t completely up to date there. You must enter -src and -dest AND (-xfm OR -warp).
Jesper
>
> I’m looking forward to your reply.
> xuemei
|