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

1 view (last 30 days)
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 Comments
JM
JM on 27 Aug 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');

Sign in to comment.

Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!