pub fn gaussian_box_sizes(sigma: f64, n: usize) -> Vec<usize>Expand description
Box-filter widths approximating a Gaussian of sigma (voxels) with n passes — the
getboxsizes of MriResearchTools.jl (Kovesi’s “fast almost-Gaussian” construction).
Returns all-ones (i.e. no smoothing) when sigma is not positive.