The problem of noise removal after FFT of polygon mask

1 visualización (últimos 30 días)
zzzj1208
zzzj1208 el 14 de Abr. de 2023
Comentada: zzzj1208 el 19 de Abr. de 2023
I want to perform FFT on the polygon mask. The polygon mask data is `hexagon.mat`, and the image `star` is obtained after the following operation.
Y_starburst = abs(fftshift(fft2(hexagon))).^1.2;
Y_starburst = Y_starburst/255;
figure;
imshow(Y_starburst);
How to operate to get only six bright stripes and delete the surrounding messy stripes? Any help would be greatly appreciated.

Respuesta aceptada

Matt J
Matt J el 14 de Abr. de 2023
Editada: Matt J el 15 de Abr. de 2023
If you increase the sampling fineness, I expect the artifacts will diminish.
  3 comentarios
Matt J
Matt J el 17 de Abr. de 2023
load hexagon
Y_starburst = abs(fftshift(fft2(X))).^1.2;
Y_starburst = Y_starburst/255;
figure;
imshow(Y_starburst); caxis([0,255]); axis([181.8347 339.7194 181.5928 339.4775])
zzzj1208
zzzj1208 el 19 de Abr. de 2023
Thanks again for your answer, looks closer to what I was looking for!
Because I want to approximate the diffraction pattern of light with a hexagonal FFT, using your above code can get `star pattern`.
But the constant problem is that there is some 'noise' that I don't want to think about (circled in red, sorry, I'm not sure how to say it in technical terms). Perhaps there is some way you can remove this noise so that it looks smoother and more like real world beams? as the `input_000042.png` shows. Any help would be greatly appreciated.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by