Identify peaks in the gradient magnitude images using an analogue of diffusion MRI tractography called gradientography, also known as fMRI tractography. Gradientography enables parameterization of the gradient magnitude images in terms of curvilinear trajectories through the subcortical volume.
See demo.m
symmetrize_vector: Symmetrize vectors across two hemispheres if needed
vector2tensor.m: Convert vector to tensor for performing tractography in Diffusion Toolkit
tensor_model_2: Convert vector to tensor in MRtrix format for visualization
track_clust.m: Compute distance between each pair of streamlines
diversity_curve.m: Project eigenmap and gradient magntidue onto streamlines, yielding diversity curves for parametrization