fn convolve_1d_direction(
data: &[f64],
nx: usize,
ny: usize,
nz: usize,
kernel: &[f64],
direction: char,
) -> Vec<f64>Expand description
1D convolution along specified axis with replicate padding Matches MATLAB’s imgaussfilt3 default behavior