How to improve the result of the performance of the gabor filter
2 次查看(过去 30 天)
显示 更早的评论
feats=gabfilter(fn1,25,[0.05 0.1],[6 6]);
0 个评论
回答(1 个)
Yusuf Suer Erdem
2021-11-20
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!