Dear life savers, headache relievers and brain science dreamers,
PROLOG: I'm trying to separate out some regions from a .nii.gz file. I start with a surface parcellation in .annot (Freesurfer land) that I convert to EXAMPLE.nii.gz using mri_aparc2aseg.
THE GOAL: To get a .nii.gz file for each one of these regions. Using fslmaths, I threshold the EXAMPLE.nii.gz file above & below the intensity of that region & save as REGION_name.nii.gz.
THE PROBLEM: This method is working for the majority of the regions. But many of the output REGION_name.nii.gz files are completely empty. They are there in the original EXAMPLE.nii.gz but are lost in the thresholding some(how/where).
THE SOLUTION: Your kind reply...
Thanks very much. -Sam
Hi Sam, it sounds like what you are doing is correct. Another possible solution would be to use mri_binarize, something like mri_binarize EXAMPLE.nii.gz --match 17 --o left.hippo.nii.gz This matches the number rather than doing a thresholding. It seems like the thresholding should work, but there might be some issue internal to fslmaths that is not handling the numerical precision correctly. doug
On 08/16/2012 09:51 PM, Sam Carpenter wrote:
Dear life savers, headache relievers and brain science dreamers,
PROLOG: I'm trying to separate out some regions from a .nii.gz file. I start with a surface parcellation in .annot (Freesurfer land) that I convert to EXAMPLE.nii.gz using mri_aparc2aseg.
THE GOAL: To get a .nii.gz file for each one of these regions. Using fslmaths, I threshold the EXAMPLE.nii.gz file above& below the intensity of that region& save as REGION_name.nii.gz.
THE PROBLEM: This method is working for the majority of the regions. But many of the output REGION_name.nii.gz files are completely empty. They are there in the original EXAMPLE.nii.gz but are lost in the thresholding some(how/where).
THE SOLUTION: Your kind reply...
Thanks very much. -Sam
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Dear freesurfers,
Do I need to normalize volumes (MNI space or Tailarach) from aseg.stats and aparc.stats before entering data in another statistical programme?
Thanks
Alfredo
Not really, but you might want to account for total brain size or (estimated) ICV. doug
On 08/17/2012 02:13 PM, Alfredo Damasceno wrote:
Dear freesurfers,
Do I need to normalize volumes (MNI space or Tailarach) from aseg.stats and aparc.stats before entering data in another statistical programme?
Thanks
Alfredo
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu