Skip to main content

convolve_1d_direction_masked

Function convolve_1d_direction_masked 

Source
fn convolve_1d_direction_masked(
    data: &[f64],
    _mask: &[u8],
    nx: usize,
    ny: usize,
    nz: usize,
    sigma: f64,
    direction: char,
) -> Vec<f64>
Expand description

1D convolution with Gaussian kernel along specified axis Uses replicate padding to match MATLAB’s imgaussfilt3 behavior