Expand description
ROMEO weight calculation for phase unwrapping
Calculates edge weights for region-growing phase unwrapping based on:
- Phase coherence
- Phase gradient coherence (multi-echo)
- Magnitude coherence
- Magnitude weights
Reference: Dymerska, B., Eckstein, K., Bachrata, B., Siow, B., Trattnig, S., Shmueli, K., Robinson, S.D. (2021). “Phase unwrapping with a rapid opensource minimum spanning tree algorithm (ROMEO).” Magnetic Resonance in Medicine, 85(4):2294-2308. https://doi.org/10.1002/mrm.28563
Reference implementation: https://github.com/korbinian90/MriResearchTools.jl
Structs§
- Romeo
Params - Parameters for ROMEO weight calculation.
Constants§
- TWO_PI 🔒
Functions§
- calculate_
weights_ romeo - Calculate ROMEO edge weights for phase unwrapping
- calculate_
weights_ romeo_ configurable - Calculate ROMEO edge weights with configurable weight components
- calculate_
weights_ single_ echo - Simplified weight calculation for single-echo data (no phase2)
- idx3d 🔒
- Index into a 3D array in Fortran order (column-major, matches NIfTI)
- voxel_
quality_ romeo - Calculate per-voxel quality map from ROMEO edge weights
- wrap_
angle 🔒 - Wrap angle to [-π, π]