pub fn atrous_denoise(
color: &[[f64; 3]],
normal: &[[f64; 3]],
position: &[[f64; 3]],
width: usize,
height: usize,
step_width: usize,
sigma_color: f64,
sigma_normal: f64,
sigma_position: f64,
) -> Vec<[f64; 3]>Expand description
A-trous wavelet denoising pass for progressive path traced images.
color is a flat buffer of (r, g, b) triples in row-major order.
width and height are the image dimensions.
step_width is the kernel step (power of two: 1, 2, 4, 8, …).