Hi,
You can use img2imgcoord to get coordinate values with either a warp or an affine matrix.
All the best,
Mark
On 3 Jun 2014, at 14:08, xuemei <[log in to unmask]> wrote:
> Hi Jesper,
>
> Thanks for your help.
>
> According to your suggestions, I have figured it out as follows.
> 1. flirt -in con01_T1 -ref MNI152_T1_2mm -omat flirt_mat -out flirt_out
> 2. fnirt --ref=MNI152_T1_2mm --in=con01_T1 --aff=flirt_mat --cout= warp --iout=fnirt_out --config=T1_2_MNI152_2mm.cnf
> 3. invwarp --warp=warp --out=inverted_warp --ref=con01_T1
> 4. applywarp --ref= con01_T1 --in=ROI --warp=inverted_warp --out=ROI_in_T1
>
> This is feasible to obtain an image, not a mm corrdinate.
> I just don’t understand how to get the accurate (x,y,z) coordinate in the original image, which corresponds to the known (x’,y’,z’) coordinate in the reference image(both in ”mm coordinates”).
> Would you please give me some suggestions?
>
> xuemei
|