How to remove glitch artifact from image ?

3 visualizaciones (últimos 30 días)
Ahmad Alenezi
Ahmad Alenezi el 19 de Oct. de 2019
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')%
gggg.png

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by