Help with creating an image like this? (Letter E with flanks and Gabor filter)

1 visualización (últimos 30 días)
JM
JM el 27 de Ag. de 2020
Comentada: JM el 27 de Ag. de 2020
I'm trying to create image like some of those attached below (picture titled Gabor Es), but I'm having a lot of difficulty.
My thought was to create a standard "E" with flanks in Adobe illustrator and use Matlabs built in imgaborfilt to it, but the output is nothing like below.
Anyone have an idea of how I can create something like this?
  2 comentarios
Image Analyst
Image Analyst el 27 de Ag. de 2020
Attach your input image as a PNG file, and attach your script as you have it so far.
JM
JM el 27 de Ag. de 2020
Thanks for the quick response!
I've attached both.
I essentially just used the prebuilt example from Matlab and tried out different wavelength and orientation settings, but was unable to produce anything close to what I was looking for. The paper I found those in did not use Matlab, and is older, so it was hard to translate exactly what they did into Matlabs prebuilt code. Admittedly I have no experience image processing so I could be making some very simple errors.
Appreciate any help you could offer!
I = imread('Artboard 1.png');
%%
I = rgb2gray(I);
%%
wavelength = 4;
orientation = 90;
[mag,phase] = imgaborfilt(I,wavelength,orientation);
%%
figure
subplot(1,3,1);
imshow(I);
title('Original Image');
subplot(1,3,2);
imshow(mag,[])
title('Gabor magnitude');
subplot(1,3,3);
imshow(phase,[]);
title('Gabor phase');

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image 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