Skip to main content

run_lpcnn

Function run_lpcnn 

Source
fn run_lpcnn(
    local_field_ppm: &[f64],
    mask: &[u8],
    grid: &Grid,
    bdir: (f64, f64, f64),
    tile: Option<(usize, usize)>,
    progress: &mut dyn FnMut(usize, usize),
) -> Result<Vec<f64>, PipelineError>
Expand description

Source the LPCNN proximal-CNN weights and run inference (requires the onnx feature). LPCNN’s k-space data-consistency step uses the B0 direction.