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

1 次查看(过去 30 天)
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 个评论
JM
JM 2020-8-27
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');

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by