Home > OS >  Why does the ifft2 image split in 4?
Why does the ifft2 image split in 4?

Time:06-12

After doing a two-dimensional inverse Fourier transform in MATLAB, I got the 4-part split image of MRI. How can I solve this problem?

raw_i = ifft2(kspace(:,:,i));
imshow(abs(raw_i),[]);

result

CodePudding user response:

Use fftshift to rearrange the result; it shifts the zero frequency parts to the center of the image.

imshow(fftshift(abs(raw_i)),[]);
  • Related