Wiener deconvolution and psf #176
|
Hi Cris I am trying to understand how to use the More specifically I saw your answer to this post on SO and I want to replicate it with a single call to My Is it the kernel (psf) I have misunderstood? |
Replies: 6 comments
|
@acycliq There's a |
|
You can estimate the parameter if you know the SNR of the image. You could uses K = dip.EstimateNoiseVariance(smooth) / dip.MeanSquareModulus(smooth)[0][0]This doesn't seem to provide the right values though, I'd have to look into it in more detail to see why. |
|
Yes thanks Cris, either way you (ie the user) should somehow come up with some reasonable values for the signal power (or maybe the gaussian blur) or the regularization parameter for the data at hand, Makes sense.. Last question please, these functions like I would find these few lines from your SO answer quite useful in the deconvolution notebook you have written under |
|
Yes, all the deconvolution functions work for any number of dimensions. Note that there are other, better, deconvolution algorithms implemented. The Wiener filter is rather simplistic... |
|
Thanks again Cris for all your help! |


You can estimate the parameter if you know the SNR of the image.
You could uses
dip.EstimateNoiseVariance()to attempt to estimate the noise variance (which is the noise power). The signal power can be estimated from the input image assuming it has little noise:This doesn't seem to provide the right values though, I'd have to look into it in more detail to see why.