fn blur_posteriors<T: Posterior>(
post: &mut [T],
dims: [usize; 3],
n_ch: usize,
sigma: f64,
)Expand description
Per-channel separable Gaussian blur of a [d0, d1, d2, n_ch] posterior map.
Matches lab2im’s GaussianBlur: kernel width 2·ceil(2.5σ)/2 + 1, normalised, applied with
zero padding at the borders (TensorFlow’s SAME) — note that is zero padding, not the
reflection [gaussian_filter_anisotropic] uses.