Re: [Freesurfer] mri_compute_layer_fractions

2015-09-01 Thread Yun Wang
After I try the code: mri_compute_layer_fractions -nlayers 4 $SUBJECTS_DIR/fMRI/register.lta $SUBJECTS_DIR/fMRI/HIP001_rest_preproc_norm.nii test.mgz open test.mgz using freeview like this! Not binarize according different layers! Also the frontal part of the brain is missing! > On Sep 1

Re: [Freesurfer] mri_compute_layer_fractions

2015-09-01 Thread Bruce Fischl
you can use -n to change the name of the surfaces, and -nlayers to specify the number of layers it computes (# of surfaces = 1+number of layers I think) On Tue, 1 Sep 2015, Yun Wang wrote: Thanks! But it looks this script keeps looking for the lh.gwdist00N forever, here is the error message:

Re: [Freesurfer] mri_compute_layer_fractions

2015-09-01 Thread Yun Wang
Thanks! But it looks this script keeps looking for the lh.gwdist00N forever, here is the error message: mri_compute_layer_fractions: could not load lh surface 5 from /Users/emilyUS/Documents/Cortical_layer/Data/anatomical/Rest-Anatomical/output/surf/lh.gwdist005 I do not have lh.gwdist005. How

Re: [Freesurfer] mri_compute_layer_fractions

2015-09-01 Thread Bruce Fischl
no, you just need to name them in the way that mri_compute_layer_fractions is expecting (e.g. lh.gwdist000 for white, etc...) On Tue, 1 Sep 2015, Yun Wang wrote: > I do have 5 intermediate surfaces, should I combine them together? > >> On Sep 1, 2015, at 10:43, Bruce Fischl wrote: >> >> you nee

Re: [Freesurfer] mri_compute_layer_fractions

2015-09-01 Thread Yun Wang
I use the mris_expand like this: mris_expand -thickness lh.white 0.2lh.white_outer0.2GM mris_expand -thickness lh.white 0.4 lh.white_outer_0.4GM mris_expand -thickness lh.white 0.6lh.white_outer0.6GM mris_expand -thickness lh.white 0.8 lh.white_outer_0.8GM anything wrong? > On S

Re: [Freesurfer] mri_compute_layer_fractions

2015-09-01 Thread Yun Wang
I do have 5 intermediate surfaces, should I combine them together? > On Sep 1, 2015, at 10:43, Bruce Fischl wrote: > > you need to use mris_expand to generate the family of intermediate surfaces > > > cheers > Bruce > On Tue, 1 Sep 2015, Yun Wang wrote: > >> Hi all experts, >> I have the erro

Re: [Freesurfer] mri_compute_layer_fractions

2015-09-01 Thread Bruce Fischl
you need to use mris_expand to generate the family of intermediate surfaces cheers Bruce On Tue, 1 Sep 2015, Yun Wang wrote: Hi all experts, I have the error message when trying to use  mri_compute_layer_fractions.  mri_compute_layer_fractions $SUBJECTS_DIR/fMRI/register.lta $SUBJECTS_DIR/wh