Deriving the Inverse Filter of Image Convolution Kernel

后端 未结 5 1093
没有蜡笔的小新
没有蜡笔的小新 2021-01-14 02:08

Does anyone has an idea how to calculate the Inverse of a 2-D filter?

Let\'s say I have a 3x3 filter:
0 1 0
1 1 1
0 1 0
I want to find it\'s inverse.

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-14 02:30

    In practice, one useful solution is Wiener deconvolution http://en.wikipedia.org/wiki/Wiener_deconvolution which basically, in Fourier space, divides by the spectrum of the given filter. Zeros are handled by adding a fudge term: instead of 1/H(w), use H(w)/( abs(H(w))^2 + c) where H(w) is the discrete Fourier transform of the filter h(x) (add a 2nd dimension as you like) and "w" is supposed to be omega. The constant is chosen based on the noise level of the signal or image.

提交回复
热议问题