Hello,

I'm reposting the following just in case anyone has any ideas. Any input would 
be greatly appreciated!

Thank you very much for the suggestion. Here then are my attempts at putting 
what you said into two sequential commands:

mri_vol2vol --targ $SUBJECTS_DIR/$subj/mri/norm.mgz \
            --m3z 
$SUBJECTS_DIR/$subj/cvs/combined_tocvs_avg35_elreg_afteraseg-norm.m3z \
            --noDefM3zPath --inv-morph \
            --mov $FREESURFER_HOME/subjects/cvs_avg35/mri/norm.mgz \
            --o temporary_volume.mgz \
            --interp trilin --no-save-reg

mri_vol2vol --targ temporary_volume.mgz \
            --reg $SUBJECTS_DIR/$subj/dtrecon/register.dat \
    --inv \
            --mov $SUBJECTS_DIR/$subj/dtrecon/lowb.nii \
            --o lowb.ANAT+CVS-to-avg35.mgz \
            --interp trilin --no-save-reg

Do the above commands look OK? I tried these commands, but the results were not 
great so I suspect that something is incorrect in the syntax and/or inputs.

Thanks,

Doug

Douglas Merkitch
Neurological Sciences
Rush University Medical Center



On Jan 26, 2017, at 2:41 PM, Douglas Merkitch 
<douglas_merki...@rush.edu<mailto:douglas_merki...@rush.edu>> wrote:

Hello Lilla,

Thank you very much for the suggestion. Here then are my attempts at putting 
what you said into two sequential commands:

mri_vol2vol --targ $SUBJECTS_DIR/$subj/mri/norm.mgz \
            --m3z 
$SUBJECTS_DIR/$subj/cvs/combined_tocvs_avg35_elreg_afteraseg-norm.m3z \
            --noDefM3zPath --inv-morph \
            --mov $FREESURFER_HOME/subjects/cvs_avg35/mri/norm.mgz \
            --o temporary_volume.mgz \
            --interp trilin --no-save-reg

mri_vol2vol --targ temporary_volume.mgz \
            --reg $SUBJECTS_DIR/$subj/dtrecon/register.dat \
    --inv \
            --mov $SUBJECTS_DIR/$subj/dtrecon/lowb.nii \
            --o lowb.ANAT+CVS-to-avg35.mgz \
            --interp trilin --no-save-reg

Do the above commands look OK? I tried these commands, but the results were not 
great so I suspect that something is incorrect in the syntax and/or inputs.

Thanks for your help!

Doug

Douglas Merkitch
Neurological Sciences
Rush University Medical Center
Email: douglas_merki...@rush.edu<mailto:douglas_merki...@rush.edu>





On Jan 26, 2017, at 8:42 AM, Lilla Zollei 
<lzol...@nmr.mgh.harvard.edu<mailto:lzol...@nmr.mgh.harvard.edu>>
 wrote:


Hi Doug,

In order to compute and apply the inverse of an m3z transform you would need to 
use the --inv-morph flag instead of the --m3z and reverse your targ and mov 
inputs. With the current implementation of mri_vol2vol though I do not think 
that you can specify the order of the transforms (which is important here), so 
you would need to apply the inverse non-linear trasform first and then the 
inverse rigid.

Lilla

On Wed, 25 Jan 2017, Douglas Merkitch wrote:

Hello Freesurfer experts,
>From your wiki page, I understand how to normalize volumes in subject 
>diffusion space to the CVS template:
mri_vol2vol --targ $FREESURFER_HOME/subjects/cvs_avg35/mri/norm.mgz \
           --m3z 
$SUBJECTS_DIR/$subj/cvs/combined_tocvs_avg35_elreg_afteraseg-norm.m3z \
           --noDefM3zPath --reg $TUTORIAL_DIR/$subj/dtrecon/register.dat \
           --mov fa-masked.mgz \
           --o fa-masked.ANAT+CVS-to-avg35.mgz \
           --interp trilin --no-save-reg
However, how would one take take a volume in CVS template space and reverse 
normalize it back to subject diffusion space? Is this possible? If so, what 
would that command look like and what other st
eps would be necessary to get the required inputs?
Thanks,
Doug
Douglas Merkitch
Neurological Sciences
Rush University Medical Center
Email: douglas_merki...@rush.edu<mailto:douglas_merki...@rush.edu>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.nmr.mgh.harvard.edu_mailman_listinfo_freesurfer&d=DwIBAg&c=XxU8ngzB_WPJXKyiin_6iQ&r=GRn28rC6ssBi3WYtpTHXUZZiKgdhzFrFkzz7_Ref9iw&m=bcBoj4oJlKieVE66SX3Ir1tlN37BRLB4VQ1-_CXu_YU&s=DdSn-QyWFHp-MTwopX67ieGs0qeOA8DRaFxeYtykZxM&e=


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.partners.org_complianceline&d=DwIBAg&c=XxU8ngzB_WPJXKyiin_6iQ&r=GRn28rC6ssBi3WYtpTHXUZZiKgdhzFrFkzz7_Ref9iw&m=bcBoj4oJlKieVE66SX3Ir1tlN37BRLB4VQ1-_CXu_YU&s=L68VziXO65vHvMC5WAGuPnnGkDtpyUOM5SZvvYaY_5Y&e=
  . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.nmr.mgh.harvard.edu_mailman_listinfo_freesurfer&d=DwIBAg&c=XxU8ngzB_WPJXKyiin_6iQ&r=GRn28rC6ssBi3WYtpTHXUZZiKgdhzFrFkzz7_Ref9iw&m=kAIR1ISLkuzSsveJ4GxycD0gv07xBd6RYyNbrbJjEos&s=UE50algYk4ly9UXGpIppiHkeADC0YwfKBTWjTrQ4M5o&e=


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.partners.org_complianceline&d=DwIBAg&c=XxU8ngzB_WPJXKyiin_6iQ&r=GRn28rC6ssBi3WYtpTHXUZZiKgdhzFrFkzz7_Ref9iw&m=kAIR1ISLkuzSsveJ4GxycD0gv07xBd6RYyNbrbJjEos&s=CdXiYjWIxFOXB3q0LsUfJncZgmiP-V36APL-Ti6O1BU&e=
  . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to