|
Solved by zero padding
|
|
If f(x) and h(x) are A and B samples respectively, pad f(x) and h(x) with zeros so both have length P>=A+B-1
|
|
If not zero, creates discontinuity called "frequency leakage", equivalent to convolving with sinc() function
|
|
Reduced by multiplying with function that tapers smoothly to zero (windowing or apodizing)
|
|
1 + 2. Given f(x,y) is MxN, zero pad to 2Mx2N (PxQ)
|
|
3. Multiply by (-1)x+y to center
|
|
4. Take DFT of f(x,y) to get F(u,v)
|
|
5. Generate symmetric filter H(u,v) of size PxQ
|
|
6. Get processed image gp(x,y)={real[
F-1{G(u,v)}} * (-1)x+y |
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.