Skip to content

Question concerning fftshift in FFT operations. #301

Answered by mmuckley
veritas9872 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @veritas9872, I think there should be some clarifications of what is going on with FFT. The FFT is well-defined to apply the Discrete Fourier Transform, which by convention always starts at 0 and goes to N-1. Effectively, this means the 0-phase is the first element and the middle element is the highest phase offset (or frequency in Fourier space). Conventionally with images, we don't usually think of the left side of the image as being the 0-phase position, so we use FFT shifts because they're more intuitive and they match our point-of-reference for how complex phase works across MRIs.

I think the reason you're getting an incorrect result here is due to the s=(34, 34), which applies…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by veritas9872
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants