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

조회 수: 1 (최근 30일)
JM
JM 2020년 8월 27일
댓글: JM 2020년 8월 27일
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
Image Analyst
Image Analyst 2020년 8월 27일
Attach your input image as a PNG file, and attach your script as you have it so far.
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