The CAPTURE methods are similar to existing MRI-based diffusion tensor imaging. In layman's terms, given an image with axons projecting from some regions to other regions, we're interested in seeing/calculating the 3D trajectories of the bundles. In order to do so, MRI-based diffusion tensor imaging uses the fact that the diffusion of water during MRI imaging is different for different tissue types. Water diffuses along the path of the fibers, so tracing the trajectory of the water along the fiber would give a rough estimate to the fiber tracts in the brain.
For the CLARITY data, CAPTURE works in a similar fashion. I quote:
"The tractography algorithm propagates/streamlines from a “seed” region through a vector field of voxel-wise principal fiber orientations and terminates if a streamline makes a sharp turn (angles larger than a prescribed threshold αthresh) or ventures outside of the masked region. For each voxel, the principal fiber orientation was estimated from a structure tensor, which was computed using the image intensity gradients (as a marker of the edges of fiber tracts) within a local neighborhood of the voxel."
In layman's terms, again, the gradient of the image data was taken (by finding the partial derivatives using their MATLAB scripts). From there, they could estimate the "next direction" that the fiber moved in, since the value of the gradient gives the "borders" of the voxel in each direction. As long as the gradient in a certain direction was less than some threshold (for a sharp turn), the fiber was said to continue along said pathway.
Diffusion toolkit - used to generate trk (track files) for TrackVis. Does so using either DTI method, HARDI/Q-BALL method, with some given way to calculate gradients. The MATLAB code provided by CAPTURE effectively skips the GUI interface for the Diffusion toolkit - the existing workflow uses calculates a "structure tensor" which is then used to generate a .trk file. It then directly uses the command line to run the Diffusion Toolkit part that traces a given tract.
INPUT: takes in NIFTI files (although it threw an error with only raw .nii we had stored)
OUTPUT: trk (track file) for use with TrackVis
TrackVis toolkit - used to visualize brain images.
INPUT: trk (track file)
OUTPUT: visualizations of tracks in brain images
Analysis on MATLAB scripts from: http://capture-clarity.org/clarity-based-tractography/ [CAPTURE Scripts]
From the analysis of the code, the MATLAB script effectively "hijacks" the Diffusion Toolkit to generate a trk file for visulization later on.
Using Diffusion Toolkit Generated Errors with Nifti Headers Not Being Present?
Specific Error Message
TrackVis Works with Sample Inputs