Differences between revisions 12 and 13
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
Next, edit the affected slices by removing the appropriate voxels, and save the changes to the aux volume. Then make a copy of the edited brain.finalsurfs.mgz file to one called brain.finalsurfs.manedit.mgz in the base: First make a copy of the brain.finalsurfs.mgz volume to one called 'brain.finalsurfs.manedit.mgz' and save it within the mri directory of the base:  
Line 21: Line 21:
Next, run the following to have edits take effect: Next, load the brain.finalsurfs.manedit.mgz volume as the aux volume in tkmedit and edit this volume by going through the affected slices and removing the voxels in the cerebellum and surrounding areas that cause the pial surface misplacement.
Once you are finished editing, save the changes to the volume with File – Save Aux volume. Then, run the following to have edits take effect:
Line 26: Line 27:
Results will look as follows: <<BR>> Results will look as follows (see OAS2_0002_fixed): <<BR>>

top | Longitudinal Tutorial

Making FinalSurf edits - base

  • To follow this exercise exactly be sure you've downloaded the tutorial data set before you begin. If you choose not to download the data set you can follow these instructions on your own data, but you will have to substitute your own specific paths and subject names.

Edits made to the brain.finalsurfs volume of the cross sectional data sets will not transfer to the base since the base creation takes off from the norm.mgz of the cross data sets.

Therefore, in order to fix the base, one must edit the brain.finalsurfs volume of the base as follows:

Below is a visualization of the problem area in the base: brain.finalsurfs.mgz, slice 89 at coordinates 109 166 89 in right hemi. The problem area extends through slices 85 - 91.
baseBEFORE.jpg

And here is the area zoomed in:
baseBEFOREzoomed.jpg

First make a copy of the brain.finalsurfs.mgz volume to one called 'brain.finalsurfs.manedit.mgz' and save it within the mri directory of the base:

cp OAS2_0002/mri/brain.finalsurfs.mgz OAS2_0002/mri/brain.finalsurfs.manedit.mgz 

Next, load the brain.finalsurfs.manedit.mgz volume as the aux volume in tkmedit and edit this volume by going through the affected slices and removing the voxels in the cerebellum and surrounding areas that cause the pial surface misplacement. Once you are finished editing, save the changes to the volume with File – Save Aux volume. Then, run the following to have edits take effect:

recon-all -base OAS2_0002 -autorecon3-pial

Results will look as follows (see OAS2_0002_fixed):
baseFIXED.jpg

Here is zoomed in version of above:
baseFIXEDzoomed.jpg

Now that the base and cross sectional time point 2 are fixed, you must re-create the longitudinal data set for time point 2. Return to the Longitudinal Tutorial to read that section.

FsTutorial/LongFinalSurfBase (last edited 2011-12-07 13:01:49 by KhoaNguyen)