Skip to main content

gibbs_unring_volume

Function gibbs_unring_volume 

Source
pub fn gibbs_unring_volume(
    vol: &[f64],
    dims: (usize, usize, usize),
    mode: GibbsMode,
) -> Vec<f64>
Expand description

Gibbs-unring a single 3-D volume with mode (GibbsMode::default is Bautista et al.’s 3-D unringing).

The output is never negative: DIPY’s 2-D combination is a magnitude, and the MRtrix modes’ negative values are set to 0.

§Panics

If vol is not nx·ny·nz long or a slice axis is not 0, 1 or 2.