Hi FreeSurfer Experts,
Is it possible to dilate a label using command line?
Thanks! Daniel -- Yung-Jui "Daniel" Yang, PhD Postdoctoral Researcher Yale Child Study Center New Haven, CT (203) 737-5454
Hi Daniel,
yes, mri_label2label will do this, at least the current dev version and maybe 5.3:
mri_label2label | grep dilate --dilate N dilate the label N times before writing
cheers Bruce
On Mon, 23 Sep 2013, Yang, Daniel wrote:
Hi FreeSurfer Experts,
Is it possible to dilate a label using command line?
Thanks! Daniel -- Yung-Jui "Daniel" Yang, PhD Postdoctoral Researcher Yale Child Study Center New Haven, CT (203) 737-5454
Hi Bruce,
That's cool! Thanks so much!
Best, Daniel
-- Yung-Jui "Daniel" Yang, PhD Postdoctoral Researcher Yale Child Study Center New Haven, CT (203) 737-5454
On 9/22/13 9:24 PM, "Bruce Fischl" <fischl@nmr.mgh.harvard.edumailto:fischl@nmr.mgh.harvard.edu> wrote:
Hi Daniel,
yes, mri_label2label will do this, at least the current dev version and maybe 5.3:
mri_label2label | grep dilate --dilate N dilate the label N times before writing
cheers Bruce
On Mon, 23 Sep 2013, Yang, Daniel wrote:
Hi FreeSurfer Experts, Is it possible to dilate a label using command line? Thanks! Daniel -- Yung-Jui "Daniel" Yang, PhD Postdoctoral Researcher Yale Child Study Center New Haven, CT (203) 737-5454
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.
It seems that only in dev version, mri_label2label supports dilation.
But I find that in 5.3, mris_label_calc is able to perform dilation too!
Best, Daniel
-- Yung-Jui "Daniel" Yang, PhD Postdoctoral Researcher Yale Child Study Center New Haven, CT (203) 737-5454
On 9/22/13 9:38 PM, "Yang, Daniel" <yung-jui.yang@yale.edumailto:yung-jui.yang@yale.edu> wrote:
Hi Bruce,
That's cool! Thanks so much!
Best, Daniel
-- Yung-Jui "Daniel" Yang, PhD Postdoctoral Researcher Yale Child Study Center New Haven, CT (203) 737-5454
On 9/22/13 9:24 PM, "Bruce Fischl" <fischl@nmr.mgh.harvard.edumailto:fischl@nmr.mgh.harvard.edu> wrote:
Hi Daniel,
yes, mri_label2label will do this, at least the current dev version and maybe 5.3:
mri_label2label | grep dilate --dilate N dilate the label N times before writing
cheers Bruce
On Mon, 23 Sep 2013, Yang, Daniel wrote:
Hi FreeSurfer Experts, Is it possible to dilate a label using command line? Thanks! Daniel -- Yung-Jui "Daniel" Yang, PhD Postdoctoral Researcher Yale Child Study Center New Haven, CT (203) 737-5454
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@nmr.mgh.harvard.edu