Hi Don

 

This is more Doug’s domain than mine, but won’t mri_label2label do the trick?

 

Cheers

Bruce

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Krieger, Donald N.
Sent: Thursday, December 2, 2021 8:38 AM
To: 'freesurfer@nmr.mgh.harvard.edu' <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] howto create a .label files with dilated content

 

        External Email - Use Caution        

Hi everyone,

 

I’m reposting this from November 29 as it hasn’t gotten a reply and it hasn’t shown up in the archive either so maybe it got lost in the sauce.

 

I wish to use the “-dilate n” capability of mri_extract_label, mris_label or other tool to dilate a ctx region and end up with an ascii list of xyz coordinates for the expanded points.

mri_extract_label appears to only be capable of writing output to .mgz files and I do not find a tool for extracting labels from a .mgz into an ascii .label file.

Your direction would be welcome.

 

Thanks -  Don

 

Don Krieger, Ph.D.

Research Scientist

Department of Neurological Surgery

University of Pittsburgh