Expand description
Susceptibility Weighted Imaging (SWI)
SWI enhances susceptibility contrast by combining magnitude and phase information. Phase is high-pass filtered, converted to a [0, 1] mask, and multiplied with magnitude.
Reference: Eckstein, K., et al. (2021). “Computationally efficient combination of multi-channel phase data from multi-echo acquisitions (ASPIRE).” Magnetic Resonance in Medicine, 79:2996-3006. https://doi.org/10.1002/mrm.26963
Reference implementation: https://github.com/korbinian90/CLEARSWI.jl
Structs§
- SwiParams
- SWI algorithm parameters
Enums§
- Phase
Scaling - Phase mask scaling type
Functions§
- calculate_
swi - Calculate SWI from unwrapped phase and magnitude
- calculate_
swi_ default - Calculate SWI with default parameters
- create_
mip - Minimum intensity projection along the z-axis
- create_
mip_ default - Minimum intensity projection with default window of 7 slices
- create_
phase_ mask - Create phase mask from filtered phase values
- highpass_
filter - High-pass filter by subtracting Gaussian-smoothed version
- negative_
range 🔒 - Get min/max of non-positive values within mask
- positive_
range 🔒 - Get min/max of positive values within mask
- rescale 🔒
- Linear rescale from [old_min, old_max] to [new_min, new_max]
- softplus_
scaling - Softplus magnitude scaling for enhanced contrast