Beauchamp:FSStndSurf: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
Line 33: Line 33:
Click on load dataset to view. Below are some pictures of the original activity from three subjects and the same activation on the fsaverage brain. Cases FL, FM, FN
Click on load dataset to view. Below are some pictures of the original activity from three subjects and the same activation on the fsaverage brain. Cases FL, FM, FN


[[Image:Beauchamp FL VisLoc.jpg]]
[[Image:Beauchamp FL VisLoc.jpg]][[Image:Beauchamp FL VisLoc reg.jpg]]
Image:Beauchamp FM VisLoc.jpg
[[Image:Beauchamp FM VisLoc.jpg]][[Image:Beauchamp FM VisLoc reg.jpg]]
[[Image:Beauchamp FN VisLoc reg.jpg]][[Image:Beauchamp FN VisLoc.jpg]]

Revision as of 11:54, 15 May 2009

Creating and Using Standard FreeSurfer Brains

When surfaces are created in FreeSurfer, the spherical version of the subject's surface is automatically aligned to the FreeSurface standard atlas brain. A new surface is created with the name lh.sphere.reg . This has the same number of nodes as the surface lh.sphere (and all of the other lh surfaces) but the nodes have been moved (morphed) to new positions so that each node on the subject's brain corresponds to a similar location on the atlas brain. If you view the .reg brain in SUMA, you will see swirling patterns that are a signature of the morphing process. These registered brains can be used to average fMRI data or other surfaces values across subjects, because each node corresponds to a similar brain location. Here is the README file from the FreeSurfer group average template. Beauchamp:FSAverageReadme The data files for the FreeSurfer template is found in

 /Applications/freesurfer/subjects/fsaverage/surf

or equivalent depending on your installation directory. A copy has been created in

 /Volumes/data9/surfaces/fsaverage

And converted to SUMA format for ease of access.

cd /Volumes/data9/surfaces/fsaverage
./@fs
  1. Functional activation must be mapped to the surface.

This is accomplished using the 3dVol2Surf command. set sd = /Volumes/data9/surfaces/couch_david/FM/SUMA/ set sb = 2 set sblabel = VisLoc

3dVol2Surf -overwrite -spec {$sd}/{$ec}_{$hemi}.spec -surf_A smoothwm  -sv {$ec}_SurfVol_Alnd_Exp+orig -oob_value 0 \
-grid_parent {$ec}v1mr+orig'['{$sb}']' -map_func mask   -out_1D {$ec}v1mr_{$hemi}_{$sblabel}.1D

This assigns a functional value to each node. See Beauchamp:CreateStndSurfModNew for more details on different mapping options in 3dVol2Surf. The created .1D file has multiple columns; the data is in column 6.

  1. Map the individual subject surface to the atlas surface.

The functional values on the registered sphere must now be mapped to the nodes on the atlas sphere, which has the same spatial orientation but a different number of nodes.

 SurfToSurf -prefix test -output_params Data -data  {$ec}v1mr_{$hemi}_{$sblabel}.1D'[6]'  \
-i /Volumes/data9/surfaces/fsaverage/SUMA/{$hemi}.sphere.reg.asc  -i {$sd}/{$hemi}.sphere.reg.asc 

The created .1D file has multiple columns; the data is in column 7. It can be viewed on the fsaverage brain"

  cp FNv1mr_lh_VisLoc_reg.1D /Volumes/data9/surfaces/fsaverage/SUMA
 cd /Volumes/data9/surfaces/fsaverage
./@fs

Click on load dataset to view. Below are some pictures of the original activity from three subjects and the same activation on the fsaverage brain. Cases FL, FM, FN