Standard Model Imaging
Table of contents
- Standard Model Imaging (SMI)
- Overview: The Standard Model of diffusion in white matter
- SMI input data
- SMI outputs
- Parameter estimation
Standard Model Imaging (SMI)
In addition to the python implementation as a part of TMI, SMI is offered as a standalone matlab toolbox. This MATLAB toolbox contains all necessary functions for parameter estimation of the Standard Model (SM) of diffusion in white matter. Check our recent paper for details on this implementation and on the Standard Model in general. Below we provide instructions on how to run the toolbox. See the example.m script that performs the parameter estimation in an example dataset.
TMI’s -SMI mode estimates signal rotational invariants and then fits the Standard Model parameters. To estimate invariants alone, see the standalone Signal rotational invariants (SH) page. SMI uses linear least squares for SH fitting by default. For Rician bias correction, we recommend -RicianExp -sigma sigma.nii when the data include $b\geq3000\,\mathrm{s/mm^2}$, fitting the expected Rician magnitude. For data entirely below this threshold, use -RicianClipAbs -sigma sigma.nii. Rician expectation fitting is slower because it requires nonlinear optimization; below this threshold, its additional benefit generally does not justify the extra runtime for typical datasets. The selected estimator applies to all shells in the call, including in mixed-shell data. SH fits are unconstrained by default; add -nonNeg with -RicianExp to constrain the underlying SH signal. Alternatively, choose -RicianClipMax or -RicianClipAbs, with -sigma sigma.nii, to fit corrected measurements with ordinary LLS. -RicianExp takes precedence over either clipping choice. See Rician bias for all alternatives and their assumptions.
Choosing an estimation mode
Recommended examples for data with a retained Rician noise floor:
| Requested output | Example command |
|---|---|
| SMI maps and SH invariants, all shells below $3000\,\mathrm{s/mm^2}$ | tmi dwi.nii smi_abs -SMI -RicianClipAbs -sigma sigma.nii |
| SMI maps and SH invariants, including $b\geq3000\,\mathrm{s/mm^2}$ | tmi dwi.nii smi_exp -SMI -RicianExp -sigma sigma.nii |
| SMI maps and SH invariants, with nonnegative SH signals | tmi dwi.nii smi_positive -SMI -RicianExp -sigma sigma.nii -nonNeg |
-SMI saves invariants in rotinvs_smi.nii. For separate S0.nii, S2.nii, … files, run standalone -SH in a separate call; do not combine -SMI and -SH.
Add -mask brain_mask.nii to restrict fitting to a brain mask. With -SMI, -lmax selects a single invariant order for model regression; SH fitting orders remain automatic per shell. To set SH fitting orders directly, use standalone -SH -lmaxSH. Correction options require an aligned noise map in the same signal units as the DWI and data whose Rician noise floor has not already been removed; see parameter estimation.
Overview: The Standard Model of diffusion in white matter
Over the last 15-20 years, multiple approaches aimed to model the physics of water diffusion in white matter have relied on similar assumptions. This led to the unifying framework dubbed Standard Model (SM) of diffusion in WM as formulated in (Novikov et al., 2018). In a nutshell, this model disentangles signal contributions from different structures, i.e. compartments, present in a white matter voxel.

Briefly, axons (and possibly glial processes) are represented by impermeable zero-radius cylinders (the so-called “sticks”) arranged in locally coherent fiber fascicles. The diffusion in the extra-axonal space of each fascicle is assumed to be Gaussian and described by an axially symmetric diffusion tensor. The third, optional tissue compartment is the cerebro-spinal fluid. Such multicomponent fascicles (also called kernel) are distributed in a voxel according to an arbitrary fiber orientation distribution function (ODF). All fascicles in a voxel are assumed to have the same compartment fractions and diffusivities, and differ from each other only by orientation.
The SM encompasses a number of WM models made of anisotropic Gaussian compartments with axons represented by sticks (Kroenke et al., 2004; Jespersen et al., 2007, 2010; Fieremans et al., 2011; Zhang et al., 2012; Sotiropoulos et al., 2012; Jensen et al., 2016; Jelescu et al., 2016a; Kaden et al., 2016; Reisert et al., 2017; Novikov et al., 2018; Veraart et al., 2018, to mention a few). From the SM point of view, earlier models impose constraints either on compartment parameters or the functional form of the fiber ODF; such constraints improve robustness but may introduce biases into the estimation of remaining parameters.
For more details please look at our recent publication: Reproducibility of the Standard Model of diffusion in white matter on clinical MRI systems, Volume 257, 15 August 2022, 119290, (2022), NeuroImage, or Section 3 in this review by Novikov et al. (2019).
Assumptions in a nutshell
- Sufficient coarse-graining for Gaussian diffusion at the fiber bundle level (thus, no time-dependence)
- All fiber bundles inside a voxel have the same microstructural properties
- Negligible water exchange between compartments in a bundle
- No assumptions on the fibre bundle’s diffusivities
- No assumptions on the functional form of the ODF
Note that this model does not apply to gray matter, where exchange and the presence of soma cannot be ignored.
SMI input data
Minimal requirements for linear tensor encoding (LTE)
- A noise map, this must be a 3D array of size [nx x ny x nz]. This can be previously estimated using MPPCA, see this Matlab implementation. Or by using the
sigmaoutput from the designer pipeline.
On the b-value units: We recommend microstructural units [milliseconds / (squared micrometers)]. Note that typical scanner units are b=1000 [seconds / (squared millimeters)] which equal 1 [milliseconds / (squared micrometers)], thus to convert from scanner units to microstructural units one should divide by 1000. This is done automatically as part of the TMI toolbox.
Data with non-LTE encodings and variable echo times (TE)
Input data can also have:
- Multiple B-tensor shapes (specified by β). This input must be a [1 x N] vector. Only axially symmetric b-tensors are supported. β is a unitless scalar between -0.5 and 1 that indicates the B-tensor shape (see figure below).
- Multiple echo times (TE, assumed to be in [milliseconds]). This input must be a [1 x N] vector.
In this general scenario, each measurement is thus fully specified by: a b-value (b), a unit direction (u) (axis of symmetry of B), a b-tensor shape (β), and TE. See the figure and equation below to understand how these parameters make a b-tensor B:
- If no β is supplied the code assumes β=1 (linear tensor encoding, LTE, measurements).
- If no TE is supplied, the code assumes that the TE is the same across all measurements. In this case compartmental T2 values will not be outputted and water fractions will be T2-weighted.
SMI outputs
Standard Model parameters (diffusion) + compartmental T2 values (only if multiple TE data was provided). See figure below for some examples: 
- Fractions (f, fw) and anisotropy (p2, p4) are adimensional.
- Diffusivities are returned in microstructural units [squared micrometers / milliseconds] (independently of input units).
- Compartmental T2 values are returned in [milliseconds].
- Note that compartmental T2 maps will only be outputted if variable TE data was used.
- Rotational invariants for each diffusion shell will also be an output. To normalize them and remove T2 contrast, simply divide by b0 for fixed TE data or by proton density for variable TE data.
Signal rotational invariants without SMI
Standalone -SH fitting now has its own TMI page: Signal rotational invariants (SH). It covers commands, output files, per-shell fitting orders, and signal normalization without SMI priors or model regression.
Parameter estimation
SMI first estimates signal rotational invariants using the same SH fitting methods as standalone -SH. Ordinary linear least squares is the default; supplying a noise map alone does not enable Rician correction. See the SH fitting and noise correction guide for the Rician expectation objective, clipping alternatives, optional nonnegativity, iteration limits and diagnostics, and parallel workers. The DTI/DKI documentation describes the corresponding tensor estimators.
Standard Model parameter fitting
Then, the SM parameters are estimated from the rotational invariants of the signal (up to L=4 as default option). Unlike conventional parameter estimation approaches which rely on an analytical forward model, e.g. maximum likelihood, here we use data-driven machine learning (ML) regression. This is done by applying a sufficiently flexible nonlinear regression to training data generated with the forward model of interest, considering a wide distribution of model parameters, the noise level, and the protocol that was used. Then, such regression is applied to the data of interest.
For typical SNR values found in clinical dMRI experiments, the optimal regression, i.e. minimizing MSE of the training data, can be achieved already by a cubic polynomial, as it captures all relevant degrees of freedom in the data represented by the set of rotational invariants.
Prior distributions and parameter sensitivity
The parameter distributions used to generate the training data act as priors in Bayesian estimation. As measurement information decreases, MSE-minimizing estimates rely increasingly on these priors and, in the limit of vanishing information, approach their mean values. This gradual shift toward the prior mean is a well-studied feature of Bayesian estimation (see Gelman et al., Bayesian Data Analysis, 3rd ed., Section 2.5); it is a continuous effect rather than an on/off transition at a particular SNR. This behavior is described analytically for polynomial regressions in Coelho, Fieremans and Novikov, How do we know we measure tissue parameters, not the prior?, ISMRM 2021, abstract 0397. What constitutes low SNR depends on both the experimental acquisition and the parameter or parameter combination being estimated; no single image-SNR threshold applies to all parameters. Changes in some parameter combinations produce signal differences that can be distinguished from noise, whereas others have little effect on the signal and are therefore more strongly influenced by the prior. Conventional two-shell acquisitions (e.g. b = 1000 and 2000 s/mm²) generally constrain the axonal fraction f and fODF anisotropy p2 better than the compartment diffusivities, as discussed by Liao et al. (2024). Diffusivity estimates can thus remain strongly influenced by the prior at conventional SNR levels where f and p2 are robust.
For reduced datasets, such as two-shell acquisitions, narrower, biologically plausible priors may help detect group differences by reducing estimation variance, provided they preserve sensitivity to the differences of interest; see Liao et al. (2024). This reflects a bias-variance trade-off. It is crucial to use the same priors across groups, ensure that they cover plausible values in both groups, and assess the robustness of the findings to prior choices through simulations matched to the acquisition and SNR.
Default training priors
By default, tmi -SMI loads SMI_Gaussian_noFWPrior.mat for IAS + EAS or SMI_Gaussian_wFWPrior.mat when FW is enabled. Each file contains 100,000 training samples with columns [f, Da, Depar, Deperp, fw, T2a, T2e, p2, p4]. The MATLAB SMI toolbox uses identical copies of these files. Both default to IAS + EAS; add FW explicitly to fit free water.
These defaults describe the tmi command. When calling Python’s SMI class directly, supply the matching training_prior array and compartments explicitly to reproduce them.
Gaussian draws are truncated to parameter-specific bounds. The FW prior additionally conditions the fraction pair on f + fw <= 1, with the extra-axonal fraction defined as 1 - f - fw; the noFW prior sets fw = 0. The ODF invariants follow p4 = U * 0.9 * p2, with U uniform on [0, 1].

The histograms show the actual saved samples after the sampling constraints, so their means and widths can differ from those of the underlying Gaussians. The joint panels show the fraction constraint and the relationship between p2 and p4. These are the primary training priors; when FW is enabled, the second fit for high-free-water voxels uses wider fraction priors.
Use -select_prior to select a different bundled prior or -load_prior to supply your own .mat file. Download the saved prior files or the SVG figure.