Skip to main content

qsmnetme_in_frame

Function qsmnetme_in_frame 

Source
pub(crate) fn qsmnetme_in_frame(
    field_ppm: &[f64],
    mask: &[u8],
    dims: (usize, usize, usize),
    model: &OnnxModel,
    norm: &QsmnetmeNorm,
    patch: Option<(usize, usize, usize)>,
) -> Result<(Vec<f64>, Vec<f32>), OnnxError>
Expand description

QSMnetME in the training frame (steps 2-4 of the module docs, ppm in): the frame QSM (ppm, masked) and the z-scored field channel, which χ-sepnet takes too.