GradLint: a fast, open-source Rust tool for b-vector flip detection, gradient-scheme QC, and auto-repair in diffusion MRI.
Marco Tagliaferri, Luigi Cattaneo
(Un)iversity of Trento - Center for Mind/Brain Sciences. Electronic address: marco.tagliaferri@unitn.it. · (Un)iversity of Trento - Center for Mind/Brain Sciences; University of Trento - Center for Medical Sciences. Electronic address: luigi.cattaneo@unitn.it.
Key points
From the paper's conclusion- GradLint is a fast, open-source Rust tool that acts as a quality-control gate, guarding dMRI preprocessing pipelines against silent orientation errors.
Abstract
BACKGROUND: Diffusion MRI (dMRI) infers white-matter tracts using stored gradient tables. If a table is flipped or permuted relative to the image coordinates during conversion or transfer, downstream tractography is silently corrupted. NEW METHOD: GradLint is a fast, open-source tool that detects gradient flips, audits acquisition schemes, and repairs corrupted tables. It evaluates all 48 signed-permutation candidate conventions from a single DTI fit using an analytic matrix transformation, ranking them with an anatomy-anchored, directional-stepping fiber-coherence index. RESULTS: On 1106 corrupted cases (HCP, single-site, and clinical datasets), GradLint ranked the correct convention first in every case and retained antipode-aware agreement with the field reference dwigradcheck. At the default 2% relative-margin threshold, --apply-repair yielded 1022 correct FLAG repairs; 84 L5 WARN cases required additional --force-repair authorization. Without authorization, corrections were withheld. It successfully resolved acquisition obliquity in voxel space. The frame-aware writer verified correctness on 190 subjects. With eight threads per tool, the median within-subject speed-up was 12.90-23.25× across the three timing groups; with automatic/default threading it was 5.27-8.91×. GradLint's eight-thread median check times were 2.85-14.07s. COMPARISON WITH EXISTING METHODS: Unlike tools that repeat expensive tracking or DTI fitting for every candidate, GradLint obtains all candidate eigenvector fields analytically from one fit. It integrates a scheme quality-control audit, outputs machine-readable provenance, returns exit codes for CI/CD integration, and generates optional DTI principal-direction glyph figures. CONCLUSIONS: GradLint is a fast, open-source Rust tool that acts as a quality-control gate, guarding dMRI preprocessing pipelines against silent orientation errors.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TractEdit: An open-source interactive tool for virtual dissection and manual refinement of diffusion MRI tractographyJournal of Neural Engineering · 2026
- High-spatial resolution, high-quality white matter tractography using DTI with dynamic slice-by-slice B0 shimming in a head-only high-gradient performance 3T MRI scannerarXiv · 2026
- Impact of Diffusion Magnetic Resonance Imaging Preprocessing Steps on the DTI-ALPS Index.Journal of clinical medicine · 2026
- GPU-accelerated spherical-deconvolution informed filtering of tractograms for quantitative diffusion MRI connectomics.Medical engineering & physics · 2026
- Deep Learning-Based Distortion Correction for Brain Diffusion-weighted Imaging: A Prospective Comparison With Single-shot and Readout-segmented Echo-planar Imaging.Investigative radiology · 2026
- Longitudinal quantitative streamline tractography: Robust estimation of white matter connectivity differences.Imaging neuroscience (Cambridge, Mass.) · 2026