Skip to main content

Module romeo

Module romeo 

Source
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§

RomeoParams
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 [-π, π]