fn apply_laplacian_inplace(
output: &mut [f32],
input: &[f32],
mask: Option<&[u8]>,
nx: usize,
ny: usize,
nz: usize,
vsx: f32,
vsy: f32,
vsz: f32,
)Expand description
Apply the Laplacian (Neumann boundary). With mask, the output is zero outside it;
without, it is computed at every voxel.