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 Comments

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

Sign in to comment.

Answers (1)

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

HI Bhargavi,
could you explain why going to a power of 2 is a good idea, or not?

Sign in to comment.

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 25 Mar 2020

Commented:

on 31 Mar 2020

Community Treasure Hunt

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

Start Hunting!