Skip to main content

gaussian_kernel_weights

Function gaussian_kernel_weights 

Source
pub fn gaussian_kernel_weights(sigma_physical: f32) -> Vec<f32>
Expand description

A normalized, symmetric one-dimensional Gaussian kernel represented in order [-radius, ..., 0, ..., +radius]. The cutoff is exactly three physical sigma, and sigma zero is the identity kernel.