Re: [Freesurfer] Repost: Make liberal ROI masks

2015-08-12 Thread Douglas N Greve
You'll need to merge the WM parcellation labels with those of their matching GM parcellations. We do not have explicit software to do this. You can do it in matlab, something like a = MRIread('aparc.a2009s+aseg_liberal.mgz"); ind = find(a.vol == 3030); % 3030 = wm-lh-superiortemporal from Free

Re: [Freesurfer] Repost: Make liberal ROI masks

2015-08-10 Thread Martin Hebart
Dear all, In an earlier post, I was asking for help implementing dilated ROIs. I was using Doug's suggestion mri_aparc2aseg --subject 01 --a2009s --labelwm --wmparc-dmax 2 --o aparc.a2009s+aseg_liberal.mgz followed by mri_label2vol --seg aparc.a2009s+aseg_liberal.mgz --regheader orig.mgz --o roi

Re: [Freesurfer] Repost: Make liberal ROI masks

2015-07-15 Thread Martin Hebart
Dear Thomas and Doug, Thanks a lot for your replies, I believe you fully answered my question. @Thomas: The reason I would like to dilate masks into white matter is that although the masks are quite accurate for structural volumes, the functional data doesn't perfectly fit the structural (even wh

Re: [Freesurfer] Repost: Make liberal ROI masks

2015-07-15 Thread Thomas Yeo
Hi Martin, I am a little confused. Can you explain a little more about what you need? Do you want the freesurfer cortical ROIs dilated into the surrounding regions like white matter and CSF or something? If so, then Doug's suggestion sounds reasonable. In the case of my parcellation, I ran the MN

Re: [Freesurfer] Repost: Make liberal ROI masks

2015-07-14 Thread Douglas N Greve
There is not an easy way to do that, though Thomas might want to chime in. I would probably use the code that generates the wmparc (mri_aparc2aseg --labelwm) to create labels in the adjacent WM out to a few mm (--wmparc-dmax 2), then merge the WM labels with the GM labels On 07/14/2015 08:18 AM