Re: [Freesurfer] Single voxel grey-white matter boundary binary mask

2024-12-16 Thread Fischl, Bruce R.,PHD
Hi Tamir I guess a quick and dirty way to do it would be to use mris_expand to create a surface 1mm out from the white, then fill that with mris_ribbon (or maybe mris_fill?). That would probably leave small holes. An alternative would be to use some kind of non-maximum suppression, but I'm not

Re: [Freesurfer] Single voxel grey-white matter boundary binary mask

2024-12-16 Thread Douglas N. Greve
You can use mri_surf2vol with the --mkmask option (method 2; see mri_surf2vol --help), eg, cd subject/surf mri_surf2vol --mkmask --hemi lh --o mask.lh.mgz --identity subject --template ../mri/nu.mgz If you want to go to another volume, supply the registration to that volume with --reg instead o