Re: [Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-03-06 Thread Antonin Skoch
Dear Doug, I am sorry, the problem with missing perirhinal label in .annot was due to typo in my .ctab file (also seen in my previous mail). Now it works OK. I have already solved my problem by creating annotation just of entorhinal and perirhinal labels (like I wrote in my post here:

Re: [Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-03-06 Thread Douglas N Greve
I cannot replicate the missing last label. Can you upload the relevant data so I can take a look? Using the --l instead should work too. For your other problem, I would probably run mri_label2label with the --outstat option to create an overlay of the statistic, then create a segmentation

Re: [Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-03-02 Thread Antonin Skoch
Dear Doug, I am using quite recent dev version built 8/2/2017. mris_label2annot of this version is following: $Id: mris_label2annot.c,v 1.20 2016/01/07 23:28:11 greve Regards, Antonin what version are you using? I thought I fixed the missing-last-label problem in v6 On 03/01/2017 06:42 PM,

Re: [Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-03-02 Thread Douglas N Greve
what version are you using? I thought I fixed the missing-last-label problem in v6 On 03/01/2017 06:42 PM, Antonin Skoch wrote: > Dear Doug, > > thank you, adding --no-unknown indeed fixed the global shuffling of > the label names. However, last line of .ctab seems not to be read this > time

Re: [Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-03-01 Thread Antonin Skoch
Dear Doug, thank you, adding  --no-unknown indeed fixed the global shuffling of the label names. However, last line of .ctab seems not to be read this time and produced .annot does not contain perirhinal label. My modified .ctab file looks like this:  0  Unknown   0  

Re: [Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-03-01 Thread Douglas N Greve
Try adding --no-unknown to the label2annot command line On 02/28/2017 04:45 PM, Antonin Skoch wrote: > Dear experts, > > I would like to create modified aparc.a2009s+aseg file with relevant > parts of parahippocampal cortical ribbon voxel labels replaced by > labels derived from surface labels

Re: [Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-03-01 Thread Douglas N Greve
Hi Antonin, I've verified the problem and am working on a solution. doug On 02/28/2017 04:45 PM, Antonin Skoch wrote: > Dear experts, > > I would like to create modified aparc.a2009s+aseg file with relevant > parts of parahippocampal cortical ribbon voxel labels replaced by > labels derived

[Freesurfer] Creating custom aparc.a2009s+aseg.mgz: Shuffled names of parcellations after mris_label2annot

2017-02-28 Thread Antonin Skoch
Dear experts, I would like to create modified aparc.a2009s+aseg file with relevant parts of parahippocampal cortical ribbon voxel labels replaced by labels derived from surface labels of entorhinal and parahippocampal cortex (created also by default in recon-all). This modified