top | previous

Making white matter edits

For the longitudinal stream, it is recommended that you make wm.mgz edits to the base. That is, if you are not using your cross-sectional data. This is because even though the long copies the wm.mgz from the cross, it takes the surfaces from the base, and if the base surfaces did not improve, neither will the long. The only way to make correction to the base surfaces themselves is to edit wm.mgz on the base. Therefore, making wm.mgz right on the base will save you a lot of time. So if you are using your cross-sectional data, then you should make edits to both stages (all cross time points and base) in order for the surfaces to improve in the long.

Were you able to find the area that needs intervention? Here is what we found. You can see below on the brainmask.mgz (left) that the pial surface is cutting through the wm. If you toggle to the wm.mgz (right), you can see that there are a few wm voxels missing.

This happens also at the tip of the lh temporal lobe several slices away.

Add wm voxels to connect the wm together in all the slices that need it. Here is what we did.


After you are satisfied with your edits, save the aux volume and rerun the base.

recon-all -autorecon2-wm -autorecon3 -base OAS2_0185

After that is done, check the surfaces on base using tkmedit.

tkmedit OAS2_0185_fixed brainmask.mgz -aux wm.mgz -surfs

This is what it should look like, slice 168 (left) and slice 163 (right).

When the surfaces are all corrected, you can recreate the long (make sure you remove the long directories before the rerun - or at the very least, remove the wm.mgz files in all the mri directories).

recon-all -long OAS2_0185_MR1 OAS2_0185 -all
recon-all -long OAS2_0185_MR2 OAS2_0185 -all


Inspect your output in tkmedit.

tkmedit OAS2_0185_MR1.long.OAS2_0185_fixed brainmask.mgz -aux wm.mgz -surfs
tkmedit OAS2_0185_MR2.long.OAS2_0185_fixed brainmask.mgz -aux wm.mgz -surfs

See here that the improved surfaces in the base also correct the surfaces in the long. Compare MR1.long slice 168 in the before (left) and after (right) images below.

The same improvement should have occurred with MR2.long.