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

If i have an image that is 200x200 and I want to take the FFT how much zero padding is required ?

2 Kommentare

Hi raheem, for what purpose might you want to use zero padding?
To calculate a phase correlation

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Bhargavi Maganuru
Bhargavi Maganuru am 31 Mär. 2020
Bearbeitet: Bhargavi Maganuru am 31 Mär. 2020

0 Stimmen

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 Kommentar

David Goodmanson
David Goodmanson am 31 Mär. 2020
Bearbeitet: David Goodmanson am 31 Mär. 2020
HI Bhargavi,
could you explain why going to a power of 2 is a good idea, or not?

Melden Sie sich an, um zu kommentieren.

Produkte

Version

R2019b

Gefragt:

am 25 Mär. 2020

Kommentiert:

am 31 Mär. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by