Difference between revisions of "LoadfMRIIntoInstaTrak"

From NAMIC Wiki
Jump to: navigation, search
m (Created page with '0. Overview 0.1 Requirements 1. Run agconvert to overlay images 2. Modify patient names for unique files. 4. Load data into InstaTrak '''0) Overview''' This process is us…')
 
(Blanked the page)
 
Line 1: Line 1:
0. Overview
 
  
0.1 Requirements
 
 
1. Run agconvert to overlay images
 
 
2. Modify patient names for unique files.
 
 
4. Load data into InstaTrak
 
 
 
'''0) Overview'''
 
 
This process is used to prepare fMRI images for use in the InstaTrak surgical guidance system. fMRI images are processed in the Analyze format used by SPM, but the InstaTrak only supports DICOM images. To use fMRI data on the InstaTrak we overlay the fMRI onto a structural image series, and then write the series in DICOM format. This series may then be loaded and fused on the InstaTrak.
 
 
The agconvert matlab script does all of these tasks, optionally running the initial coregistration.
 
 
'''0.1) Starting point'''
 
 
This document presumes the existence of the following:
 
 
:- fMRI dataset processed using SPM: patients/AG_####/SPM_analysis/{tasks}/SPM.mat
 
:- thresholded fMRI activation map: patients/AG_####/SPM_analysis/task/task_t6.img
 
:- target structural image in Analyze format AND corresponding DICOM-format original series.
 
  this should be in: AG_####/SPGR/SPGR.img  or AG_####/T2/T2.img
 
                and: AG_####/raw/lisa_dicoms/0000##.SER/000001 - 000###.IMG
 
 
'''1) Run agconvert to overlay the images
 
 
Start matlab and SPM
 
 
# matlab
 
 
>> spm fmri
 
 
From the SPM "Toolboxes" menu, select "agconvert." (note: if agconvert not listed, try typing "agconvert" at prompt)
 
 
agconvert should display an interface entry buttons. Fill in the "Subject ID:" field as appropriate, either AG_#### or simply #### (the script will complete).
 
 
"anatomical file"
 
 
Browse to select the target structural image. This should generally be a T2 or SPGR series, or occasionally a FLAIR. The img/hdr pair should be found in AG_####/SPGR etc.. If no appropriate image is available, you will need to [[nsg:mricro|convert the DICOM series]] using mricro.
 
 
NOTE 1: Proper image alignment must be maintained. It is necessary to
 
 
NOTE 2: the VTI system will not properly segment an image series larger than 150 slices. Usually we can get around this: [[cut off the bottom of an image|nsg: make smaller image
 

Latest revision as of 20:14, 13 July 2018

Home < LoadfMRIIntoInstaTrak