pub fn wavelet_denoise<T>(
image: &ArrayBase<ViewRepr<&T>, Dim<[usize; 2]>>,
wavelet: &WaveletFilter<T>,
threshold: T,
levels: usize,
mode: BorderMode,
) -> Result<ArrayBase<OwnedRepr<T>, Dim<[usize; 2]>>, NdimageError>Expand description
Wavelet-based denoising using soft thresholding
This function performs denoising using the following steps:
- Multi-level wavelet decomposition
- Soft thresholding of detail coefficients
- Wavelet reconstruction