Re: [Freesurfer] Samseg cortex parcellation

2023-02-19 Thread Cerri, Stefano,PHD
Hi Valentin, Glad to hear that. Did you use the command "samseg" with the --recon flag? If yes, there are a couple of flags that you can add so that the output of SAMSEG ("seg.mgz") is used in more steps in the recon-all stream: " --fill : use samseg to create filled.mgz instead of recon-all"

Re: [Freesurfer] SAMSEG in MS terminal error

2023-03-24 Thread Cerri, Stefano,PHD
Hi Gabriel, These messages look like TensorFlow warnings. They just mean that you're running it on a system without GPUs. They should not stop the run. Is this the last message printed by run_samseg, or does the algorithm continues? Can you provide more details on when the run terminates? Stef

Re: [Freesurfer] Samseg lesion mask holes

2023-03-29 Thread Cerri, Stefano,PHD
Hi Evie, --save-probabilities and --save-posteriors will save two different things for lesions. The former is an initialization of lesions based on intensity and location constraints, and the latter is a probability map of seg.mgz after we also introduce lesion shape constraints (Cf Fig.4 of h

[Freesurfer] R: Samseg lesion mask holes

2023-03-31 Thread Cerri, Stefano,PHD
an of the WM class (default is GM), e.g.: --lesion-mask-structure White --lesion-mask-pattern 1 However, these changes might increase false positive lesions. Stefano Da: Evie Neylon Inviato: venerdì 31 marzo 2023 04:28 A: Cerri, Stefano,PHD Cc: frees

Re: [Freesurfer] Longitudinal SAMSEG with multi-contrast data

2023-06-12 Thread Cerri, Stefano,PHD
External Email - Use Caution Hi Gonzalo, Assuming that you have run mri_robust_template and obtained longitudinally registered images (e.g., tp0_t1_reg.mgz, tp1_t1_reg.mgz, etc...), then you can co-register each additional contrast of each time point with the commands: mri_core

[Freesurfer] [FreeSurfer] ValueError axes don't match array

2023-08-29 Thread Cerri, Stefano,PHD
External Email - Use Caution Hi Krystal, Can you send your samseg command and the output of mri_info on both the T1 and coregistered FLAIR images? It seems that the two images have different image sizes. Stefano Subject:[Freesurfer] [FreeSurfer] ValueError axes don't m