Hi Mingxia, if you have a binarized map, then just use --id 1 with mri_cor2label (not need to for mri_binarize if it is already binary) doug
On 05/21/2013 03:55 AM, zhang mingxia wrote:
Hi Doug,
Thanks very much. A few more question after I read the description of mri_cor2label.
- there is a compulsory of mri_cor2label: --id (0-255). How can I
find the 'labelid'?
- If I understand correctly, the final label will be made within
one particular 'labelid'. How if this mask is in more than one labels (Sorry I haven't used Freesurfer for a long time, my understanding is the labelids represent different regions. It may be wrong) ?
- I have had the binarized mask created from spm, do I also need to
use mri_binarize?
Mingxia
On Mon, May 20, 2013 at 6:51 AM, Douglas N Greve <greve@nmr.mgh.harvard.edu mailto:greve@nmr.mgh.harvard.edu> wrote:
Try mri_binarize followed by mri_cor2label doug On 05/20/2013 03:57 AM, zhang mingxia wrote: > Dear Freesurfer experts, > > I analyzed functional data by spm and made a mask (analyze format). I > have also run recon-all of structural data. > > My question is: how to extract mean volume (from structural data) of > the mask(from spm)? > > I only extracted volume(or thickness) of ROI of a label edited by > myself and annotation file. If I can convert analyze format to a label > or annotation file, I can use that method. But how to convert analyze > format to a label or annotation? > > Or is there any easy way? > > Thanks in advance! > > Mingxia Zhang > > > > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center greve@nmr.mgh.harvard.edu <mailto:greve@nmr.mgh.harvard.edu> Phone Number: 617-724-2358 <tel:617-724-2358> Fax: 617-726-7422 <tel:617-726-7422> Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting> FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html <http://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 <mailto: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.
Hi all, Is there an easy way to convert a freesurfer .label file to .nii.gz format?
Thanks, Jeff
Hi Jeff
mri_label2vol --label <label file> --identity --temp <path to orig.mgz> -o label.nii.gz
should do the trick Bruce
On Fri, 9 Aug 2013, jwaugh@nmr.mgh.harvard.edu wrote:
Hi all, Is there an easy way to convert a freesurfer .label file to .nii.gz format?
Thanks, Jeff _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu