Re: [Freesurfer] Combining linear transformations

2012-07-11 Thread Martin Reuter
Hi Usman, I'm an not very familiar with mri_vol2vol , maybe Doug knows the difference between --reg and --reg-final. I would also expect it to give the same result in your case (as you don't apply any manual --rot or --trans). Anyway, happy you got it working. Best, Martin On Wed, 2012-07-11 at

Re: [Freesurfer] Combining linear transformations

2012-07-11 Thread Usman Khan
Hi Martin, Thanks for the suggestion. I resolved the issue by using the --regheader flag in tkmregister, and --reg as the default output by mri_vol2vol (even though I did supply a reg-final flag). It seems like I mixed up the difference between reg-final and the default registration matrix. would y

Re: [Freesurfer] Combining linear transformations

2012-07-10 Thread Martin Reuter
Hi Usman , Try validating each step by applying each transform. I usually use mri_convert -at  For it. Best MartinUsman Khan wrote:Hi Martin,  Thanks for the quick reply. I tried the following commands, but it looks like the volumes are still out of line. Is there something I am missing? to

Re: [Freesurfer] Combining linear transformations

2012-07-10 Thread Bruce Fischl
Hi Usman you may have to repost this question in a few days when Doug is back. cheers Bruce On Tue, 10 Jul 2012, Usman Khan wrote: Hi Martin, Thanks for the quick reply. I tried the following commands, but it looks like the volumes are still out of line. Is there something I am missing? to

Re: [Freesurfer] Combining linear transformations

2012-07-10 Thread Usman Khan
Hi Martin, Thanks for the quick reply. I tried the following commands, but it looks like the volumes are still out of line. Is there something I am missing? to get from hc_subfield --> nu.mgz --> t1_cbv #register and create transforms 1) mri_vol2vol --mov hc_subfield.mgz --targ nu.mgz --reg-final

Re: [Freesurfer] Combining linear transformations

2012-07-10 Thread Martin Reuter
Hi Usman, you need to convert the reg to lta (using tkregister2) and then you can use mri_concatenate_lta . Cheers, Martin On Tue, 2012-07-10 at 17:36 -0400, Usman Khan wrote: > Hi FreeSurfer, > I have two images. One MPRAGE (1x1x1mm) and a T1-weighted > (0.682x0.682x3mm) image used for CBV ma

[Freesurfer] Combining linear transformations

2012-07-10 Thread Usman Khan
Hi FreeSurfer, I have two images. One MPRAGE (1x1x1mm) and a T1-weighted (0.682x0.682x3mm) image used for CBV mapping. We have run FS, with hippocampal subfields on the MPRAGE and would now like to transform the posterior probability maps to the T1-weighted CBV space. I have been using 1) mri_vol2