ok thanks, I'll give that a try. I would have to do that for each of the
segmentations of interest and I get the number from the LUT?


On Mon, Nov 4, 2013 at 11:47 AM, Douglas N Greve
<gr...@nmr.mgh.harvard.edu>wrote:

>
> There is not a single command to do it, but you could do something like
>
> mri_binarize --i aparc+aseg.mgz --wm --o wmmask.mgz # mask of white matter
> mri_binarize --i seg.mgz --match 17  --o mask17.mgz # mask of seg 17
> mri_binarize --i seg.mgz --match 17 --dilate 2 --o mask17.dil2.mgz #
> mask of seg 17 dilated by 2 voxels
> fscalc wmmask.mgz and mask17.dil2.mgz --o mask17.dil2.wm.mgz  # seg 17
> inside WM
> mri_concat mask17.mgz mask17.dil2.wm.mgz  --sum --o mask17+wm.mgz # seg
> 17 plus dilation into WM
>
> doug
>
>
> On 11/04/2013 11:38 AM, Corinna Bauer wrote:
> > Hello all,
> > Is there a way to expand a GM label into the white matter by n voxels?
> >
> > Corinna
> >
> >
> > _______________________________________________
> > Freesurfer mailing list
> > Freesurfer@nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
> --
> Douglas N. Greve, Ph.D.
> MGH-NMR Center
> gr...@nmr.mgh.harvard.edu
> Phone Number: 617-724-2358
> Fax: 617-726-7422
>
> Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
> FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
> www.nmr.mgh.harvard.edu/facility/filedrop/index.html
> Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to