Skip to content

UK Biobank

Terminal window
qsmxt run study/bids --pipeline uk-biobank

In the TUI: the Pipeline tab, UK Biobank.

Based on: UK Biobank’s QSM pipeline (UKBiobank_QSM.m) · Wang et al. 2022.

Parity: parity QSM-CI’s parity check against the original toolbox, for the latest QSMxT release (how parity is checked).

You want results comparable with UK Biobank’s released susceptibility maps, from the SWI scan alone.

Choosing it resets every reconstruction stage to QSMxT’s defaults, then sets these. Every other setting keeps its default.

Stage Setting This pipeline QSMxT default Why
Masking Mask magnitude,hd-bet:window,signal-erode phase-quality,threshold:otsu,dilate:1,fill-holes:0,erode:1 UK Biobank’s own mask comes from its T1 scan, which an SWI run does not have; HD-BET on the magnitude came closest to it. HD-BET runs in sliding windows, as in the comparison that chose it.
Field map Phase unwrapping (--unwrapping-algorithm) Laplacian ROMEO UK Biobank unwraps each echo with STI Suite’s Laplacian unwrapping.
Laplacian solver (--laplacian-solver) FFT DCT UK Biobank’s Laplacian unwrapping is FFT-based, with 64 voxels of padding.
Laplacian field kept outside the mask (--laplacian-keep-outside) on off UK Biobank gives V-SHARP the unwrapped field over the whole volume, and V-SHARP reads it outside the mask.
Phase offset removal (--phase-offset-removal) off, for scans with two or more echoes on UK Biobank removes phase offsets when it combines the coils, and unwraps the combined echoes with no further offset removal.
Echo weighting (--b0-weight-type) Assumed decay, for scans with two or more echoes Phase SNR UK Biobank weights the echoes by TE·exp(−TE/T2*) with T2* = 40 ms.
Background UK Biobank mask trim (--bf-ukb-mask-trim) on off UK Biobank trims its mask to voxels with reliable phase, before and after background removal.
Inversion Padding (--ilsqr-pad-mm) 64 mm 12 mm UK Biobank pads iLSQR’s grid by 64 mm per side.
Precision (--ilsqr-precision) Single Double STI Suite’s iLSQR runs its least-squares solves in single precision.
Reference QSM reference (--qsm-reference) None Mean UK Biobank keeps iLSQR’s susceptibility as it is, without referencing it.
  • Where the original toolbox converts phase to ppm with the nominal field strength (such as 3 T), this pipeline uses the scanner’s centre frequency (ImagingFrequency) whenever the scan’s metadata records it. The centre frequency is the field the scanner actually ran at, while the nominal value can be several per cent off (Siemens’ 3 T systems run at about 2.89 T), and every susceptibility value scales with it.
  • The brain mask is HD-BET on the magnitude, in 192×192×96 sliding windows, followed by signal-gated erosion. UK Biobank masks with its T1 structural brain mask registered to the SWI, which a run from the SWI alone does not have; on UK Biobank data HD-BET came closest to it of the masks an SWI alone can give (about 3.4 mm higher at the brain’s inferior edge, otherwise close).

On UK Biobank’s own scans (3 mm slices, oblique), V-SHARP’s local field differs slightly from STI Suite’s, which iLSQR amplifies to about 0.3-0.4 % of the susceptibility map (QSM.rs#491).