External Email - Use Caution
Il giorno 16 feb 2020, alle ore 6:00 PM, freesurfer-request@nmr.mgh.harvard.edu ha scritto:
Send Freesurfer mailing list submissions to
freesurfer@nmr.mgh.harvard.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
or, via email, send a message with subject or body 'help' to
freesurfer-request@nmr.mgh.harvard.edu
You can reach the person managing the list at
freesurfer-owner@nmr.mgh.harvard.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freesurfer digest..."
Today's Topics:
1. Re: Apply transformation (Adam Rytina)
2. A couple of questions (Zvi Baratz)
----------------------------------------------------------------------
Message: 1
Date: Sat, 15 Feb 2020 18:52:43 +0000
From: Adam Rytina <adam.rytina@outlook.cz>
Subject: Re: [Freesurfer] Apply transformation
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Message-ID:
<AM0PR0602MB33773F725E71511D519EA0409A140@AM0PR0602MB3377.eurprd06.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-2"
External Email - Use Caution
Thanks, unfortunately, I am making some mistake but I don?t know where.
First of all I run autorecon1 on my anatomical T1 data (the orig.mgz image is saved in /usr/local/freesurfer/subjects/anatomical).
Then in the /usr/local/freesurfer/data I run mri_robust register command of the T1 and diffusion DWI data. The registration.lta file is saved here.
Now I add an anatomical mask "3D_T1_brain_mask.nii" to the same folder /usr/local/freesurfer/data that I want to transform to the anatomical T1 space.
In the same /usr/local/freesurfer/data I run : "mri_vol2vol --lta registration.lta --mov 3D_T1_brain_mask.nii --o f-in-anat3.nii --s anatomical --fstarg"
To sum up, I am aiming to apply a transformation matrix on the T1 anatomical brain mask and transform it to the T1 space defined by 3D T1 image.
The problem is this command transforms orig.mgz file (a skull stripped T1 image) instead of 3D_T1_brain_mask.nii.
Please, do you know where I make mistake?
Thanks a lot
________________________________
Od: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> za u?ivatele Douglas Greve <dgreve@mgh.harvard.edu>
Odesl?no: sobota 15. ?nora 2020 17:15
Komu: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
P?edm?t: Re: [Freesurfer] Apply transformation
Yes, mri_vol2vol
On 2/15/20 11:07 AM, Adam Rytina wrote:
External Email - Use Caution
Hello all,
I want to apply the saved transformation (a transformation matrix 4x4 acquired by registration of an anatomical and a diffusion image) on my input anatomical mask and change a final FOV by specifying a diffusion reference image (its voxels size). It means to apply the same command as the command ApplyXFM in FSL FLIRT. Does this option exist also in Freesurfer?
Thanks a lot
Regards
Adam
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/freesurfer/attachments/20200215/525bb6ad/attachment-0001.html
------------------------------
Message: 2
Date: Sun, 16 Feb 2020 14:07:05 +0200
From: Zvi Baratz <z.baratz@gmail.com>
Subject: [Freesurfer] A couple of questions
To: freesurfer@nmr.mgh.harvard.edu
Message-ID:
<CANJsFRZEX1H9D_9mTgP5mYh2Lfdr-GJQv69cvQh4=TS9p3e4Eg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
External Email - Use Caution
Hi all,
Thank you for all your amazing work!
I started using FreeSurfer recently and there are a couple of questions I
was hoping someone here might be able to help me with:
1. Does anyone know of any way to silence recon-all's output or redirect
it to stdout when called programmatically through nipype? I tried a couple
of different approaches (using python's os.devull and creating a fake
file-handle that does nothing on write() calls), but I can't seem to be
able to get rid of it. Also, and I apologize if it exists and I simply
missed it, I think it would be great to simply add a --quiet flag or
something of the sort, considering the output is anyhow saved to a log
file.
2. Is there any more documentation on recon-all's output other that the
ReconAllOutputFiles
<https://surfer.nmr.mgh.harvard.edu/fswiki/ReconAllOutputFiles> page?
I've noticed a lot of info is missing there. I would be more than happy to
contribute to it myself but I'm not sure what resources I can use to gather
more information, and also I'm having trouble finding the corresponding
documentation files on GitHub.
Thanks again and all the best!
Zvi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/freesurfer/attachments/20200216/4de57d18/attachment-0001.html
------------------------------
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
End of Freesurfer Digest, Vol 192, Issue 22
*******************************************