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

6 vues (au cours des 30 derniers jours)
raheem mian
raheem mian le 25 Mar 2020
Commenté : raheem mian le 31 Mar 2020
If i have an image that is 200x200 and I want to take the FFT how much zero padding is required ?
  2 commentaires
David Goodmanson
David Goodmanson le 30 Mar 2020
Hi raheem, for what purpose might you want to use zero padding?
raheem mian
raheem mian le 31 Mar 2020
To calculate a phase correlation

Connectez-vous pour commenter.

Réponses (1)

Bhargavi Maganuru
Bhargavi Maganuru le 31 Mar 2020
Modifié(e) : Bhargavi Maganuru le 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 commentaire
David Goodmanson
David Goodmanson le 31 Mar 2020
Modifié(e) : David Goodmanson le 31 Mar 2020
HI Bhargavi,
could you explain why going to a power of 2 is a good idea, or not?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by