Differences between revisions 13 and 14
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 *To follow this exercise exactly be sure you've downloaded the [[FsTutorial/Data|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.  * To follow this exercise exactly be sure you've downloaded the [[FsTutorial/Data|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.
Line 10: Line 10:
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. <<BR>>
{{attachment:baseBEFORE.jpg}}
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. <<BR>> {{attachment:baseBEFORE.jpg}}
Line 13: Line 12:
And here is the area zoomed in: <<BR>>
{{attachment:baseBEFOREzoomed.jpg}}
And here is the area zoomed in: <<BR>> {{attachment:baseBEFOREzoomed.jpg}}
Line 16: Line 14:
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:     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 18: Line 17:
cp OAS2_0002/mri/brain.finalsurfs.mgz OAS2_0002/mri/brain.finalsurfs.manedit.mgz  cp OAS2_0002/mri/brain.finalsurfs.mgz OAS2_0002/mri/brain.finalsurfs.manedit.mgz
Line 20: Line 19:
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 21: Line 21:
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 24: Line 22:
recon-all -base OAS2_0002 -autorecon3-pial recon-all -base OAS2_0002 -autorecon-pial
Line 26: Line 24:
Results will look as follows (see OAS2_0002_fixed): <<BR>> {{attachment:baseFIXED.jpg}}
Line 27: Line 26:
Results will look as follows (see OAS2_0002_fixed): <<BR>>
{{attachment:baseFIXED.jpg}}
Here is zoomed in version of above: <<BR>> {{attachment:baseFIXEDzoomed.jpg}}
Line 30: Line 28:
Here is zoomed in version of above: <<BR>>
{{attachment:baseFIXEDzoomed.jpg}}
           

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 -autorecon-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)