How to improve the result of the performance of the gabor filter

1 view (last 30 days)
ASMA MOHAMMAD
ASMA MOHAMMAD on 20 Nov 2021
Commented: yanqi liu on 22 Nov 2021
feats=gabfilter(fn1,25,[0.05 0.1],[6 6]);

Answers (1)

Yusuf Suer Erdem
Yusuf Suer Erdem on 20 Nov 2021
Example below is a gabor filter example. When you change the wavelength and the orientation. You ll get images with different qualities.
.tif file
clc; clear; close all;
I = imread('board.tif');
I = rgb2gray(I);
wavelength = 4;
orientation = 90;
[mag,phase] = imgaborfilt(I,wavelength,orientation);
tiledlayout(1,3)
nexttile
imshow(I)
title('Original Image')
nexttile
imshow(mag,[])
title('Gabor Magnitude')
nexttile
  4 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!