Hi Dorit,

The reason why the colors look off is that mri_aparc2aseg will
automatically add 1000 for left cerebral cortex and add 2000 for right
cerebral cortex. Therefore, for example, a left hemisphere voxel in network
5 will have a value of 1005 in your test.mgz. Here is my suggestion:

1. Find the indices of left/right cerebral cortex by extracting the voxels
with a value of 3 or 42 in the subject's aseg.

2. Use those indices to mask out the voxels that are not cerebral cortex in
your test.mgz file (i.e. set non cerebral cortical voxels to be 0).

3. For the cortical voxels, you need to subtract 1000 for those between
1000 and 2000; and subtract 2000 for those greater than 2000.


Best,
Jingwei
_______________________________________________
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