Differences between revisions 3 and 8 (spanning 5 versions)
Revision 3 as of 2004-08-10 18:14:09
Size: 1233
Editor: BrianQuinn
Comment:
Revision 8 as of 2004-08-25 11:56:29
Size: 2135
Editor: YasunariTosa
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This process uses the command mri_fill to create a binarized volume. The input is the mri/wm volume and the output is the mri/filled volume. First, the cutting planes are determined to seperate the hemispheres from each other and the pons. Then a seed point is located and used to fill each hemisphere. The rh will be filled with a value of 255, and the lh with a value of 127. This process uses the command ["mri_fill"] to create a binarized volume. The input is the mri/wm volume and the output is the mri/filled volume. First, the cutting planes are determined to separate the hemispheres from each other and the pons. Then a seed point is located and used to fill each hemisphere. The rh will be filled with a value of 255, and the lh with a value of 127.
Line 3: Line 3:
Occasionnally, manual intervention is required to define the cutting planes and seed points. To do so, follow these steps: Occasionally, manual intervention is required to define the cutting planes and seed points. To do so, follow these steps:
Line 5: Line 5:
1.Open the subject's wm volume up in tkmedit.  1. Open the subject's (subj) wm volume up in ["tkmedit"].
Line 7: Line 7:
tkmedit subject_name wm   ["tkmedit"] subj wm
Line 9: Line 9:
2.View the MNI talairach coordinates.  1. View the MniTalairach coordinates: '''View->Information->MNI Coordinates'''
Line 11: Line 11:
View->Information->MNI Coordinates  1. Select the Corpus Callosum point, on the mid-posterior portion of it. Example:
Line 13: Line 13:
3.Select the Corpus Callosum point, on the mid-posterior portion of it. Example:  Corpus Callosum
Line 15: Line 15:
attachment:CCcor.jpg attachment:CChor.jpg attachment:CCsag.jpg  attachment:CCcor.jpg attachment:CChor.jpg attachment:CCsag.jpg
Line 17: Line 17:
4.Copy the MNI coordinates to the command line for either recon-all -cc-xyz .... or in mri_fill -C ....  1. Copy the MNI coordinates to the command line for either
Line 19: Line 19:
5.Do this for all of the other cutting plane points and seed points. Examples follow:  ["recon-all"] -cc-xyz ....
Line 21: Line 21:
Pons  or in
Line 23: Line 23:
attachment:Pcor.jpg attachment:Phor.jpg attachment:Psag.jpg  ["mri_fill"] -C ....
Line 25: Line 25:
RH seed  Alternatively seed point can be given in voxel coordinates under the command line ["mri_fill"] :
 
 -CV <x> <y> <z> - the voxel coords of the seed for the corpus callosum
 
 -PV <x> <y> <z> - the voxel coords of the seed for the pons
Line 27: Line 31:
attachment:RHcor.jpg attachment:RHhor.jpg attachment:RHsag.jpg  1. Do this for all of the other cutting plane points and seed points. Examples follow:
Line 29: Line 33:
LH seed  Pons
Line 31: Line 35:
attachment:LHcor.jpg attachment:LHhor.jpg attachment:LHsag.jpg  attachment:Pcor.jpg attachment:Phor.jpg attachment:Psag.jpg
Line 33: Line 37:
 RH seed

 attachment:RHcor.jpg attachment:RHhor.jpg attachment:RHsag.jpg

 LH seed

 attachment:LHcor.jpg attachment:LHhor.jpg attachment:LHsag.jpg

 1. Not all points need to be defined, any range from none to all four may be defined. To inflate:
 [[BR]] [[BR]]
 ["mri_fill"] -C MNIcoords -P MNIcoords -rh MNIcoords -lh MNIcoords $SUBJECTS_DIR/subj/mri/wm $SUBJECTS_DIR/subj/mri/filled;inflate_subject-rh subj;inflate_subject-lh subj
 [[BR]] [[BR]]

 or, the equivalent in recon-all:
 [[BR]][[BR]]
 ["recon-all"] -stage2 -cc-xyz MNIcoords -pons-xyz MNIcoords -rh-xyz MNIcoords -lh-xyz MNIcoords -subjid subj
 [[BR]][[BR]]

 '''NOTE: These command line(s) need to be run EVERYTIME the subject's surfaces are reinflated'''

This process uses the command ["mri_fill"] to create a binarized volume. The input is the mri/wm volume and the output is the mri/filled volume. First, the cutting planes are determined to separate the hemispheres from each other and the pons. Then a seed point is located and used to fill each hemisphere. The rh will be filled with a value of 255, and the lh with a value of 127.

Occasionally, manual intervention is required to define the cutting planes and seed points. To do so, follow these steps:

  1. Open the subject's (subj) wm volume up in ["tkmedit"].
    • ["tkmedit"] subj wm
  2. View the MniTalairach coordinates: View->Information->MNI Coordinates

  3. Select the Corpus Callosum point, on the mid-posterior portion of it. Example: Corpus Callosum attachment:CCcor.jpg attachment:CChor.jpg attachment:CCsag.jpg
  4. Copy the MNI coordinates to the command line for either ["recon-all"] -cc-xyz .... or in ["mri_fill"] -C .... Alternatively seed point can be given in voxel coordinates under the command line ["mri_fill"] :

    -CV <x> <y> <z> - the voxel coords of the seed for the corpus callosum

    -PV <x> <y> <z> - the voxel coords of the seed for the pons

  5. Do this for all of the other cutting plane points and seed points. Examples follow: Pons attachment:Pcor.jpg attachment:Phor.jpg attachment:Psag.jpg RH seed attachment:RHcor.jpg attachment:RHhor.jpg attachment:RHsag.jpg LH seed attachment:LHcor.jpg attachment:LHhor.jpg attachment:LHsag.jpg
  6. Not all points need to be defined, any range from none to all four may be defined. To inflate:

    BR BR ["mri_fill"] -C MNIcoords -P MNIcoords -rh MNIcoords -lh MNIcoords $SUBJECTS_DIR/subj/mri/wm $SUBJECTS_DIR/subj/mri/filled;inflate_subject-rh subj;inflate_subject-lh subj BR BR or, the equivalent in recon-all:

    BRBR ["recon-all"] -stage2 -cc-xyz MNIcoords -pons-xyz MNIcoords -rh-xyz MNIcoords -lh-xyz MNIcoords -subjid subj BRBR

    NOTE: These command line(s) need to be run EVERYTIME the subject's surfaces are reinflated

FreeSurferFill (last edited 2008-04-29 11:46:03 by localhost)