[Freesurfer] parallel recon-all using T1,T2 images

2023-04-27 Thread Toshiharu Kamishikiryo
External Email - Use Caution

Hello Freesurfer experts

I am trying to recon-all using T2 images as well to improve pial
surfaces. Does anyone know how to use GNU Parallel in bash to run the
following commands in parallel?

recon-all -subject subjectname -i /path/to/T1w.nii -T2 /path/to/T2w.nii
-T2pial -all -qcache

Thanks in advance.

Regards
Kamishikiryo
Research Student
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] parallel recon-all using T1,T2 images

2023-04-27 Thread Michael Mc Laughlin
External Email - Use Caution

That is a single command. How can you run a single command in parallel?

You can add the -parallel flag to get freesurfer to run recon-all in
parallel threads.


On Thu, Apr 27, 2023 at 8:16 AM Toshiharu Kamishikiryo 
wrote:

> External Email - Use Caution
>
> Hello Freesurfer experts
>
> I am trying to recon-all using T2 images as well to improve pial
> surfaces. Does anyone know how to use GNU Parallel in bash to run the
> following commands in parallel?
>
> recon-all -subject subjectname -i /path/to/T1w.nii -T2 /path/to/T2w.nii
> -T2pial -all -qcache
>
> Thanks in advance.
>
> Regards
> Kamishikiryo
> Research Student
>
>
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://secure-web.cisco.com/11IT50yO70no-TpnGGtxNBPxXIXcNelFSs1XUyTzCMlINgtr3sm7O4WYroRES8v0eQiZH3S8BMK4V0GFti69voxlr-pzH2RjfZnWEeEFBghYdIZ-r0GKYSyDgLLPqf1zkbGW-ndykWIROAvpLRJad81sWkdJx-cd6Gud0iEK7f9yc0m0uglVE3TY_MwVqoVyM2jvYqgSIUeWddNAslePwHdnULqGCwE2BdyWwUt6M9o8jc9WYODKWV_fOqZWGSMd9GwHe3xUGfMBkiczHjn-Lqw1oeHF3aB_xIVbA5Fizn-H4R-0ct-ElhJ2uvizbaq9m/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
> 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 Mass General
> Brigham Compliance HelpLine at
> https://secure-web.cisco.com/1UVq-6A-KZL6nh8tp5FGqIx7fwuFzn0U1COgFIAP218fs4ko9LCuCYiazA0ixFn1WcGO0DmU4Lzc5U8IuaUWeWLMeY6A-SovdoXO8fjJ7yd2umlhMavZVwimFJh9_v_GYQdxiX4dq2kPJ-GAHw0NnFgzinfAeyPccMGEI6JAVI60_gLg5kJiQc1B4h21om0fayuGgk09F8EEWmPwb2-7xqRFbM8PRgyHV7ln53nXrKhhZyT5a3_En7xhjdSQboQK9hCzzSeu3clmv_GPereBSRiQa0gSV7TQvPK64I-MLSUg81y-WVR4NZehnOJJFd-o4/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
>  <
> https://secure-web.cisco.com/1UVq-6A-KZL6nh8tp5FGqIx7fwuFzn0U1COgFIAP218fs4ko9LCuCYiazA0ixFn1WcGO0DmU4Lzc5U8IuaUWeWLMeY6A-SovdoXO8fjJ7yd2umlhMavZVwimFJh9_v_GYQdxiX4dq2kPJ-GAHw0NnFgzinfAeyPccMGEI6JAVI60_gLg5kJiQc1B4h21om0fayuGgk09F8EEWmPwb2-7xqRFbM8PRgyHV7ln53nXrKhhZyT5a3_En7xhjdSQboQK9hCzzSeu3clmv_GPereBSRiQa0gSV7TQvPK64I-MLSUg81y-WVR4NZehnOJJFd-o4/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>
>  .
> Please note that this e-mail is not secure (encrypted).  If you do not
> wish to continue communication over unencrypted e-mail, please notify the
> sender of this message immediately.  Continuing to send or respond to
> e-mail after receiving this message means you understand and accept this
> risk and wish to continue to communicate over unencrypted 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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] contrast-FSGD question

2023-04-27 Thread Federico Uquillas
External Email - Use Caution

Bumping this up. Thanks so much!

Best,

Fred

> On Apr 24, 2023, at 8:52 PM, Fred d'Oleire Uquillas  
> wrote:
> 
> 
> Dear Fs support,
> 
> If I have the following FSGD with 4 classes and 3 variables, and I'd like to 
> run an interaction of ROIa x ROIb controlling for the third covariate (eTIV), 
> would I use the following contrast?
> 
> [0 0 0 0 0.25 -0.25 -0.25 0.25 0.25 -0.25 -0.25 0.25 0 0 0 0]
> 
> For the interaction of ROIa x ROIb x class + eTIV.
> 
> Thank you so much in advance for your help!
> 
> All the best,
> 
> Fred
> 
> 
> 
> 

___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] EasyReg for group-average template?

2023-04-27 Thread AmirHussein Abdolalizadeh
External Email - Use Caution

Hi Eugenio,

Thanks for your reply. Just to check if I've understood correctly, these
can be the steps by using mri_easyreg:

*Linear (with --affine-only):*

   1. Register all the subjects to the MNI (subj_to_MNI_lin_1)
   2. Average the subj_to_MNI_lin_1s to reach a new template (MNI_mod_lin_1)
   3. Register subj_to_MNI_lin_1s to MNI_mod_lin_1 and
   achieve subj_to_MNI_lin_2 and MNI_mod_lin_2 (and repeat it 5-6 times)

*NonLinear:*

   1. Register subj_to_MNI_lin_5s to MNI_mod_lin_5 nonlinearly to achieve
   subj_to_MNI_nlin_1 and MNI_modified_nlin_1.
   2. Repeat the steps similarly 5 times.

Correct? I also have another question: Should I do the linear-nonlinear in
an interleaved manner or first linear registrations iterations and then
non-linear?

Best,
Amir
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] Fwd: questions about mri_normalize

2023-04-27 Thread John Anderson
External Email - Use Caution

Dear experts,
I have been using the mri_normalize in FSv7.3.2 to standardize the
intensity of FLAIR images , and I've observed that increasing the sigma
parameter up to 25 is effective in improving the quality of the normalized
images for noisy datasets.
mri_normalize -sigma 25 -g 1 FLAIR_skullstripped.nii
FLAIR_skullstripped_norm.mgz

However, I have questions about the n argument, which is set to 2 by
default. For noisy images, white matter intensity after normalization is
around 140-150. When using n=10, I noticed that the white matter intensity
decreased from 140-150 to around 110-120, resulting in better quality
normalized images.
1) I'm wondering if there is a cut-off value for the number of iterations,
or if a higher number of iterations always yields better results.
2) Also, if the intensity of the white matter after normalization is not
around 110, but instead around 140 or 150, does that indicate that the
normalization was not effective and that we need to increase the number of
iterations?

Thank you for your assistance.
John
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] parallel recon-all using T1,T2 images

2023-04-27 Thread Toshiharu Kamishikiryo
External Email - Use Caution

Thanks for pointing that out, sir.

2023年4月27日(木) 16:15 Toshiharu Kamishikiryo :

> Hello Freesurfer experts
>
> I am trying to recon-all using T2 images as well to improve pial
> surfaces. Does anyone know how to use GNU Parallel in bash to run the
> following commands in parallel?
>
> recon-all -subject subjectname -i /path/to/T1w.nii -T2 /path/to/T2w.nii
> -T2pial -all -qcache
>
> Thanks in advance.
>
> Regards
> Kamishikiryo
> Research Student
>
>
>
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


[Freesurfer] visualization, heatmap

2023-04-27 Thread Eszter Boros
External Email - Use Caution

Dear Freesurfer team,

I noticed that some studies/publications add figures with heatmaps to
visualize the significant cortical results (after correction), others do
not.

We tried to use the heat map (from yellow/red to dark blue/light blue) to
visualize the group differences using Freeview but after correcting for
multiple corrections (after mri_glm we used Monte Carlo simulation), we are
not sure how to do that. Only the sig.mgh file can be visualized that way,
right?
Or that was available in tksurfer but not in Freeview?
https://secure-web.cisco.com/1iHssxc0c4EPn_NgIsbQnxACsBkIj4sWVm7WSdle6CMXnC7lziJSf72Xf0R0IQauJlgtrgyaABlxaS8KDVSXkTd5xQsND4UTiBueGmAHyufIrqNQDVv17DNoJ_0UHnaa2jCwMGJPyX1Tn-fr5thwqqd5HMZyk99wg0OvtSPdExbjQ6u0qaJmWhBqvaBALcICzFBBCBUlufadC-K_k_5kWmJaDIgspU3XEbpRSujR5g56KBsMuHCfCv63jpZBH1o3tYkVucx0ewfoDyfpKJQzFeqYjZhJbqZNOWYFEtm4f0ic-CJLmUayTPdukI-bHx8hDoidjwKYewiaz7q4vJnP1RQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FFsTutorial%2FVisualization

Is tksurfer still available? We use Freesurfer 7.1.1.

Thank you for your help in advance!

Eszter
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] FSFAST: wrong brain mask in preproc

2023-04-27 Thread Elmira Hassanzadeh
External Email - Use Caution

Thank you for clarifying.

Elmira

On Wed, Apr 26, 2023 at 6:44 PM Douglas N. Greve 
wrote:

> External Email - Use Caution
>
> Yes, this is the expected behavior, ie, it should cover only subcortical
> GM regions. It is expected that cortical regions will be handled with the
> surface based analysis. You can recombine the results at the end with
> vlrmerge.
>
> On 4/26/2023 12:22 PM, Elmira Hassanzadeh wrote:
>
> External Email - Use Caution
> Hi everyone,
>
> We preprocessed resting-state data with preproc-sess. In the output, I
> noticed although *fmcpr.nii* covers the whole brain,*
> fmcpr.sm6.mni305.2mm.nii* is only covering brain stem+cerebellum
> (screenshots attached).
>
> Any clue what went wrong? This is an example of the command we ran for one
> of our subjects(R19):
>
> *preproc-sess -surface R19 lhrh -s R19 -fwhm 6 -fsd rest -mni305 -per-run*
>
> Thanks,
> Elmira
>
>
>
> ___
> Freesurfer mailing listfreesur...@nmr.mgh.harvard.edu*MailScanner has 
> detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* 
> https://secure-web.cisco.com/1Uzg3LPu9X1F35NwosJx_24s8iPCGVL7jJNjb5CVt1NL4lQP9AElnPgRl54lgCTJH6OWzP95dkcF1cyrSu0PqSyGfEtW3BXWKQN3T4DwqRBXPn4RWviNSNNTwixqomXcQLPoOYFfdL4S1aOToh8IfORI_Rcbrzs-VGN01dwtUHnpkm_RsQBNbj3MHjHyMooKoJy-qo8OtAp8dFiLH8FvFizAjKfqfLCZdxoAMIDCuKXKS_RXIFJz_owgXwtYiNwK4mKMnPd7zMwOoAqTAZz115qBiy80K7kW786RG54DQ1ZiRZdEm8G6SGtqdobq7o3Wzigdqw246GmEFa7kxoEq80w/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
>  
> 
>
>
> ___
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://secure-web.cisco.com/1Uzg3LPu9X1F35NwosJx_24s8iPCGVL7jJNjb5CVt1NL4lQP9AElnPgRl54lgCTJH6OWzP95dkcF1cyrSu0PqSyGfEtW3BXWKQN3T4DwqRBXPn4RWviNSNNTwixqomXcQLPoOYFfdL4S1aOToh8IfORI_Rcbrzs-VGN01dwtUHnpkm_RsQBNbj3MHjHyMooKoJy-qo8OtAp8dFiLH8FvFizAjKfqfLCZdxoAMIDCuKXKS_RXIFJz_owgXwtYiNwK4mKMnPd7zMwOoAqTAZz115qBiy80K7kW786RG54DQ1ZiRZdEm8G6SGtqdobq7o3Wzigdqw246GmEFa7kxoEq80w/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
> 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 Mass General
> Brigham Compliance HelpLine at
> https://secure-web.cisco.com/1Boe85GGZ1qJA1_UolHdU27Y1fVOhxHlvHwJVsptkXlhCp1LuGpXTlRj1Ajhf3fBEQXgOF-8AHgLjkjAOiFyzu1uDsajmOLjj-ITMtyzD2fbKcCyUdvy1FYCiTOZyN5HXAi5GAj4WJRC1mTmbh5RzSzNTUTe7O-h1eEhMUCW1xbxgtZtK9LD9Jxf1qtxe7cDolsi50zO6OVWl-Br4FwuqvquqasDKdCmeO6Ijc84qTc-8CBQWSk-XU18AyE3nug7QIoAgMeqoK1qeih7cmV-VT_dVq5mfzhyxSTQgbG6DBOBFmsd8iEtqqMVhDMvAANdwgOPVgEPCpq9QSAwd4VZFbg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline
>  <
> https://secure-web.cisco.com/1Boe85GGZ1qJA1_UolHdU27Y1fVOhxHlvHwJVsptkXlhCp1LuGpXTlRj1Ajhf3fBEQXgOF-8AHgLjkjAOiFyzu1uDsajmOLjj-ITMtyzD2fbKcCyUdvy1FYCiTOZyN5HXAi5GAj4WJRC1mTmbh5RzSzNTUTe7O-h1eEhMUCW1xbxgtZtK9LD9Jxf1qtxe7cDolsi50zO6OVWl-Br4FwuqvquqasDKdCmeO6Ijc84qTc-8CBQWSk-XU18AyE3nug7QIoAgMeqoK1qeih7cmV-VT_dVq5mfzhyxSTQgbG6DBOBFmsd8iEtqqMVhDMvAANdwgOPVgEPCpq9QSAwd4VZFbg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline>
>  .
>
___
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 


Re: [Freesurfer] visualization, heatmap

2023-04-27 Thread Federico Uquillas
External Email - Use CautionHey Eszter,Have you tried loading in the “sig.masked.mgh” file that’s in your contrast results folder? It should show only the significant cluster after multiple comparisons correction with the original colorbar gradient inside.Best,FredOn Apr 27, 2023, at 11:00 AM, Eszter Boros  wrote:External Email - Use CautionDear Freesurfer team, I noticed that some studies/publications add figures with heatmaps to visualize the significant cortical results (after correction), others do not.We tried to use the heat map (from yellow/red to dark blue/light blue) to visualize the group differences using Freeview but after correcting for multiple corrections (after mri_glm we used Monte Carlo simulation), we are not sure how to do that. Only the sig.mgh file can be visualized that way, right?Or that was available in tksurfer but not in Freeview?MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/VisualizationIs tksurfer still available? We use Freesurfer 7.1.1.Thank you for your help in advance!Eszter
___Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurferThe 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 Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline  .Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted 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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
 .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail.