Differences between revisions 5 and 6
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 (subj) wm volume up in tkmedit.  1. Open the subject's (subj) wm volume up in ["tkmedit"].
Line 7: Line 7:
{{{tkmedit subj 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:
Corpus Callosum  attachment:CCcor.jpg attachment:CChor.jpg attachment:CCsag.jpg
Line 17: Line 17:
attachment:CCcor.jpg attachment:CChor.jpg attachment:CCsag.jpg  1. Copy the MNI coordinates to the command line for either
Line 19: Line 19:
4.Copy the MNI coordinates to the command line for either {{{recon-all -cc-xyz ....}}} or in {{{mri_fill -C ....}}}  ["recon-all"] -cc-xyz ....
Line 21: Line 21:
5.Do this for all of the other cutting plane points and seed points. Examples follow:  or in
Line 23: Line 23:
Pons  ["mri_fill"] -C ....
Line 25: Line 25:
attachment:Pcor.jpg attachment:Phor.jpg attachment:Psag.jpg  1. Do this for all of the other cutting plane points and seed points. Examples follow:
Line 27: Line 27:
RH seed  Pons
Line 29: Line 29:
attachment:RHcor.jpg attachment:RHhor.jpg attachment:RHsag.jpg  attachment:Pcor.jpg attachment:Phor.jpg attachment:Psag.jpg
Line 31: Line 31:
LH seed  RH seed
Line 33: Line 33:
attachment:LHcor.jpg attachment:LHhor.jpg attachment:LHsag.jpg  attachment:RHcor.jpg attachment:RHhor.jpg attachment:RHsag.jpg
Line 35: Line 35:
6.Not all points need to be defined, any range from none to all four may be defined. To inflate:  LH seed
Line 37: Line 37:
{{{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}}}  attachment:LHcor.jpg attachment:LHhor.jpg attachment:LHsag.jpg
Line 39: Line 39:
 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]]
Line 40: Line 44:
or, the equivalent in recon-all:  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]]
Line 42: Line 49:
{{{recon-all -stage2 -cc-xyz MNIcoords -pons-xyz MNIcoords -rh-xyz MNIcoords -lh-xyz MNIcoords -subjid subj}}}  '''NOTE: These command line(s) need to be run EVERYTIME the subject's surfaces are reinflated'''
Line 44: Line 51:
'''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 ....
  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)