How to remove glitch artifact from image ?
3 次查看(过去 30 天)
显示 更早的评论
Hi
I removed the criss-cross artifact in this image (below) using the code below. The code i used remves the noise in frequency domain. However, am wondering, can i correct this artifact in the special domain
LS=imread('MRIjpg');
LS=rgb2gray(LS);
figure(1);imshow(LS);title('Original')
f=fft2(LS);
fm=fftshift((f));
sd1=log(abs(fm));
figure(3), imagesc(sd1);title('FFT space')
Fm=fft2(LS);
Fm1=fftshift(Fm);
Fm1(440:460,320:340)=0;
Fm1(380:400,380:400)=0;
figure(2), imagesc(log(abs(Fm1)));title('FFT Filter')
ND=abs(ifft2(Fm1));% adjusting the inverse of the fft image
figure(3), imagesc(ND); title('output')
colormap('gray')%
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!