MATLAB Answers

How much should you zero pad an image before taking the fft ?

10 views (last 30 days)
raheem mian
raheem mian on 25 Mar 2020
Commented: raheem mian on 31 Mar 2020
If i have an image that is 200x200 and I want to take the FFT how much zero padding is required ?

Answers (1)

Bhargavi Maganuru
Bhargavi Maganuru on 31 Mar 2020
Edited: Bhargavi Maganuru on 31 Mar 2020
If input signal of fft is not in the powers of 2, which is 200 in your case so, you can do zero padding till length is 256.

  1 Comment

David Goodmanson
David Goodmanson on 31 Mar 2020
HI Bhargavi,
could you explain why going to a power of 2 is a good idea, or not?

Sign in to comment.