talkingPotato
talkingPotato

Reputation: 13

Why does the ifft2 image split in 4?

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?

for i =1:8
raw_i = ifft2(kspace(:,:,i)); %kspace contains the 8-coil wise MRI data w.o undersampling , 160*160*8 matrix
imshow(abs(raw_i),[]);

result

Upvotes: 1

Views: 202

Answers (1)

naszy
naszy

Reputation: 511

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

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

Upvotes: 1

Related Questions