pub fn ir2qsm_tiled(
local_field_ppm: &[f64],
mask: &[u8],
grid: &Grid,
onnx: &[u8],
cfg: &TileConfig,
progress: impl FnMut(usize, usize),
) -> Result<Vec<f64>, OnnxError>Expand description
Memory-bounded IR2QSM via overlap-tiling — the IR2U-net run patch-by-patch (for 32-bit WASM,
where whole-volume ir2qsm overflows the heap on clinical data). No normalization; the
net’s 3 pool levels require a /8 patch. Approximates whole-volume up to tile-boundary
error; see crate::inversion::tiled.