-
Notifications
You must be signed in to change notification settings - Fork 77
White Matter Edits
After editing control points to include white matter that was outside of the surface, you may need to edit the white matter volume itself to get rid of gray matter that is inside the surface boundary.
-
Backup. As usual, the first thing to do is backup the original white matter volume file. To do this, go to your subject's
mri
folder and copywm.mgz
towm_orig.mgz
:$ cd /path/to/subjects/directory/subjectfoldername/mri $ cp wm.mgz wm_orig.mgz
-
Open FreeView and load the necessary files. This part is just like opening up the files for control point edits. Open FreeView and load the
orig.mgz
andwm.mgz
volumes from themri
folder, and thelh.white
andrh.white
surfaces from thesurf
folder. Make surewm
is aboveorig
and change the colormap of thewm
volume to heat and lower the opacity so you can see it over theorig
volume. Again if you want to open the files directly from the terminal, use:$ cd /path/to/subjects/directory/subjectfoldername $ freeview -v mri/orig.mgz -v mri/wm.mgz:colormap=heat -f surf/lh.white -f surf/rh.white
Note that you don't have to open the control points this time.
-
Erase gray matter. There will be areas in the brain where FreeSurfer thought that gray matter was white and drew the surface around it. In this case, the red/yellow
wm
volume will cover those gray matter areas, and we need to erase thewm
volume there for FreeSurfer to get it right the next time around. On the left of the screen under the "Volumes" tab, make surewm
is selected and set "Brush value" to 0 - this will enable you to erase areas of the volume. Now look through the brain and find the areas that are actually gray matter inside the surface boundary and erase them. -
Recon the brain. When you're done and satisfied, put the brain on the queue on ba3 (see Reconstruction Process).
For more about white matter edits, see the official FreeSurfer wiki.
Next step: Reconstruction Process