Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-07 Thread Douglas N Greve
The name of which label? On 07/02/2014 02:00 PM, Corinna Bauer wrote: Whereby the label name is derived from which, the GM labels? i.e. lh.rostralmiddlefrontal_div3 On Wed, Jul 2, 2014 at 11:45 AM, Bruce Fischl fis...@nmr.mgh.harvard.edu mailto:fis...@nmr.mgh.harvard.edu wrote: yes,

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-07 Thread Corinna Bauer
the new white matter divided labels. I was not able to extract the labels using the matching grey matter names, but was able to do so using the label number seen in the tools from tkmedit. Seeing as there are over 100 labels, is there a more efficient way? On Mon, Jul 7, 2014 at 12:08 PM,

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-07 Thread Douglas N Greve
Right, this is going to be a problem. One of the things you can do is to use the --ctab option of mri_annotation2label to create a colortable, something like mri_annotation2label --ctab new.lh.ctab --s subject --hemi lh --annotation newannot --outdir junk You can do this for both hemis,

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-07 Thread Corinna Bauer
great, thanks! I'll give that a try and let you know how it goes. On Mon, Jul 7, 2014 at 12:50 PM, Douglas N Greve gr...@nmr.mgh.harvard.edu wrote: Right, this is going to be a problem. One of the things you can do is to use the --ctab option of mri_annotation2label to create a colortable,

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-07 Thread Corinna Bauer
Doug, that worked very well, thanks. mri_aparc2aseg --s ${subject} --labelwm --hypo-as-wm --rip-unknown --volmask --wmparc-dmax 2 --o ${subj_dir}/mri/wmdivided.nii --annot aparc.split mri_annotation2label --ctab new.rh.ctab --subject ${subject} --hemi rh --annotation aparc.split --outdir

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-02 Thread Corinna Bauer
Hi Bruce, I am trying to do just that using the following command line: mri_aparc2aseg --s ${subject} --labelwm --hypo-as-wm --rip-unknown --volmask --o ${subj_dir}/mri/wmdivided --annot aparc.split After the slice labeling, I get the following: Used brute-force search on 872 voxels Fixing

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-02 Thread Bruce Fischl
Hi Corinna you need to give some output extension so it knows what file type to write (e.g. .mgz, .nii, .nii.gz. mgh, ...) cheers Bruce On Wed, 2 Jul 2014, Corinna Bauer wrote: Hi Bruce, I am trying to do just that using the following command line: mri_aparc2aseg --s ${subject} --labelwm

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-02 Thread Corinna Bauer
And then for breaking the individual labels up, would mri_extract_label be the best option? On Wed, Jul 2, 2014 at 11:01 AM, Bruce Fischl fis...@nmr.mgh.harvard.edu wrote: Hi Corinna you need to give some output extension so it knows what file type to write (e.g. .mgz, .nii, .nii.gz. mgh,

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-02 Thread Bruce Fischl
yes, or mri_binarize --match cheers Bruce On Wed, 2 Jul 2014, Corinna Bauer wrote: And then for breaking the individual labels up, would mri_extract_label be the best option? On Wed, Jul 2, 2014 at 11:01 AM, Bruce Fischl fis...@nmr.mgh.harvard.edu wrote: Hi Corinna you need to

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-02 Thread Corinna Bauer
Whereby the label name is derived from which, the GM labels? i.e. lh.rostralmiddlefrontal_div3 On Wed, Jul 2, 2014 at 11:45 AM, Bruce Fischl fis...@nmr.mgh.harvard.edu wrote: yes, or mri_binarize --match cheers Bruce On Wed, 2 Jul 2014, Corinna Bauer wrote: And then for breaking the

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-02 Thread Corinna Bauer
I figured it out. Thanks for your help! On Wed, Jul 2, 2014 at 2:00 PM, Corinna Bauer corinna...@gmail.com wrote: Whereby the label name is derived from which, the GM labels? i.e. lh.rostralmiddlefrontal_div3 On Wed, Jul 2, 2014 at 11:45 AM, Bruce Fischl fis...@nmr.mgh.harvard.edu wrote:

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-02 Thread Bruce Fischl
yes On Wed, 2 Jul 2014, Corinna Bauer wrote: Whereby the label name is derived from which, the GM labels? i.e. lh.rostralmiddlefrontal_div3 On Wed, Jul 2, 2014 at 11:45 AM, Bruce Fischl fis...@nmr.mgh.harvard.edu wrote: yes, or mri_binarize --match cheers Bruce On

Re: [Freesurfer] mris_divide_parcellation for white matter

2014-07-01 Thread Bruce Fischl
Hi Corinna not really, as that is a surface-based utility. You could divide the cortical labels and then recrate the wmparc from it, which might do what you want. cheers Bruce On Tue, 1 Jul 2014, Corinna Bauer wrote: hello, I was wondering if it was possible to use