Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Load the MRI and "reslice" it

    In this step, we simply put the right side of the MRI up. Skipping this step will result in mixed up slices and/or upside down image.

    Code Block
    titleft_volumereslice
    mrif = '/path/and/filename/to/T1_mri.mgz';
    % the file format could be one of many supported by fieldtrip. Native DICOM format works but is a bit slow to load.
    
    % read in the mri
    mri=ft_read_mri(mrif);
    
    % flip image so it looks upright
    cfg             = [];
    cfg.method      = 'flip';
    mri_aligned     = ft_volumereslice(cfg,mri);
    
    
    
    
    
Info
titleusing freesurfer's orig file

Note that if you have used freesurfer previously to segment your MRI, you can load the original mri stored in your freesurfer subjects' directory under SubjectName/orig/001.mgz

 

  1. Roughly align the MRI with the fiducials.

  2. Improve realignment with headshape points.

  3. Create a head model (3D surfaces for brain, skull and scalp)

  4. Load and align a template grid to the headmodel

  5. Plot the results and check

...