HINEC Tractography Pipeline
A complete MATLAB-based diffusion MRI workflow — from raw NIfTI files to reconstructed white matter fiber tracts. Powered by FSL preprocessing, SPD tensor estimation, and three levels of tractography precision.
High-Order Tracking
RKF45 adaptive step-size control with error-tolerance thresholds. 3x more accurate than FACT in U-fiber and crossing-fiber regions.
Tensor Precision
SPD-constrained 3x3 diffusion tensor fitting. FA, MD, and principal eigenvector maps computed at every voxel across the whole brain.
End-to-End
10-step preprocessing through tensor fitting, parcellation, tractography, and 3D visualization in a single YAML-configured run.
Pipeline Architecture
End-to-end data flow from raw diffusion MRI to reconstructed fiber tracts and connectivity matrices.
Core Modules
Preprocessing Module
v2.1B0 extraction, T1-enhanced brain masking via epi_reg, MP-PCA denoising, FUGUE distortion correction, and FSL eddy current/motion correction.
Tensor Estimation Engine
v3.0Log-linear WLS tensor fitting with SPD constraints. Outputs FA, MD, tensor eigenvalues, and principal eigenvector fields.
FACT Tracker
v2.8Fiber Assignment by Continuous Tracking using Euler integration along the principal eigenvector with FA and angle threshold termination.
RK4 / RKF45 Tracker
v1.5High-order Runge-Kutta and adaptive RKF45 fiber tracking with trilinear interpolation for superior accuracy in curved tracts.
Parcellation & Connectomics
v2.3MNI-T1-DWI atlas registration. Schaefer, AAL, and custom atlas support. Region-to-region connectivity matrices.
Validation Suite
v1.8ISMRM 2015 challenge scoring, IronTract workflow, and Tractometer metrics for automated accuracy evaluation.
How It Works
Configure via YAML
Set paths, tracker choice, FA threshold, step size, and seed density in a single config file.
Automated Preprocessing
10-step FSL pipeline runs automatically: BET, epi_reg masking, denoising, distortion and eddy correction.
Tensor Fit & Tracking
SPD tensor fitting at every voxel, then tractography seeded across the whole-brain WM mask.
Parcellation & Export
Atlas registration labels streamline endpoints. Exports .trk fibers, connectivity matrices, and tract-density images.
Technical Specs
Input
Algorithms
Output
Use Cases
Pre-Surgical Planning
Map eloquent white matter tracts prior to tumor resection to minimize post-operative deficits.
Traumatic Brain Injury
Quantify diffuse axonal injury severity from FA reductions along major fiber tracts.
Neurodegeneration Tracking
Monitor tract-specific FA decline that precedes grey matter atrophy by 2-3 years.
Developmental Connectomics
Track myelination and white matter maturation from neonates through adolescence.
Normative Atlas Construction
Population-level connectivity matrices from HCP and UK Biobank datasets.
Tractography Validation
ISMRM and IronTract benchmarks for comparing algorithm accuracy against ground truth.
Ready to Map Every Fiber?
Clone the HINEC pipeline, configure your YAML, and start tracking white matter fiber tracts from your own diffusion MRI data.