Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Converting to TrackVis format from SPM-converted

  • locate raw files, as created by SPM conversion.


For example,:
V:\OSAHF2006\DTIpreprocess\CONTROL\CON131\DTI4series\dw_realign
Note: the "ar..." files have the basic preprocessing, namely converion, realignment ("r" - of b0 images in each series), and b0 errors ("a" - voxels where b0 < dw).

  • create a folder to save the TrackVis files in; make sure this has the subject name, as the created files all have the same name ("niftiIN...nii").
  • From the CSPM GUI, DTI Menu => 'Create TrackVis files"
  • Select all the DTI files from the subject folder


Tip: in the spm_select GUI, use "^" to filter by the first letters in the file name, so "^ars.*"; then you can right-click and "Select All"

Uploaded Image

  • Select the output folder
  • You can run the processing by clicking on the link in the matlab command window

TrackVis Basics

File > Open Track > select file File > Load Image > select image (.nii) you wish to use, e.g. adc, b0, dwi, fa. (This step can be repeated to load multiple images) In panel on the upper right hand corner of the screen, R-click over 'Track 1' > Delete

Placing ROIs and Creating Tracks In bottom panel, under ROI, click on the icon > sphere. The sphere will appear where the crosshairs are, and can be shifted into place manually in the sagittal, coronal and axial views.

In main view, R-click over sphere > Create New Track Group. Edits can be made to the track in the Property panel (bottom right corner of screen) - e.g. change name, length threshold (changing the 'low' to 10mm excludes the tiny fibers), apply ROI filters (see below)

Multiple spheres can be used to create a track. In panel on the upper right hand corner of the screen, R-click over 'Track 1' > Toggle Existing ROI > select desired sphere/ROI In the Property panel, select Track tab > expand information for each sphere by clicking on the triangle, to expose operators. These can be changed to filter out certain fibers - e.g. if the operator is 'and' for each sphere, only fibers which pass through BOTH spheres will remain... if you change one to 'not', it will exclude any fibers which pass through that sphere.

Track information (i.e. mean length, adc, fa) is displayed at the bottom of the Property panel. Click on 'view' to see more detailed information (i.e. min an max length, histogram).

File > Save Scene As > name file and location. (This will save everything - tracks, ROIs, loaded images)

  • No labels