Skip to main content

modl_qsm_tiled

Function modl_qsm_tiled 

Source
pub fn modl_qsm_tiled(
    local_field_ppm: &[f64],
    mask: &[u8],
    grid: &Grid,
    bdir: (f64, f64, f64),
    prior_onnx: &[u8],
    cfg: &TileConfig,
    progress: impl FnMut(usize, usize),
) -> Result<Vec<f64>, OnnxError>
Expand description

Memory-bounded MoDL-QSM via whole-algorithm overlap-tiling — the full unrolled net runs on each patch sub-volume. MoDL’s data-consistency step is a global k-space operation, so tiling is strongly off-design and approximate; prefer a whole-volume run (e.g. QSMxT). See crate::inversion::tiled::tiled_volume_algorithm.