Perform a Wiener filter on an N-dimensional array.
Apply a Wiener filter to the N-dimensional array in.
in – an N-dimensional array. kernel_size – A scalar or an N-length list giving the size of themedian filter window in each dimension. Elements of kernel_size should be odd. If kernel_size is a scalar, then this scalar is used as the size in each dimension.
- noise – The noise-power to use. If None, then noise is estimated as
- the average of the local variance of the input.
out – Wiener filtered result with the same shape as in.