matlab实现gabor filter (9) 效果很好

本文介绍了如何在MATLAB中实现Gabor滤波器,并提供了调用代码示例,展示了生成的滤波器组图像,效果显著。
摘要由CSDN通过智能技术生成

gabor filter:

 

function result = gaborkernel2d(lambda, sigma, theta, phi, gamma, bandwidth)
% VERSION 2004-04-05
% CREATED BY: N. Petkov and M.B. Wieling, Groningen University
%
% GABORKERNEL2D(LAMBDA, SIGMA, THETA, PHI, GAMMA, BANDWIDTH) 
%   fills a (2N+1)*(2N+1) matrix with the values of a 2D Gabor function. N is computed from SIGMA.
%     LAMBDA - preferred wavelength (period of the cosine factor) [in pixels]
%     SIGMA - standard deviation of the Gaussian factor [in pixels]
%     THETA - preferred orientation [in radians]; can be a 1D array 
%     PHI   - phase offset [in radians] of the cosine factor; can be a 1D array
%     GAMMA - spatial aspect ratio (of the x- and y-axis of the Gaussian elipse)
%     BANDWIDTH - spatial frequency bandwidth at half response,
%       BANDWIDTH, SIGMA and LAMBDA are interdependent. To use BANDWIDTH, 
%       the input value of one of SIGMA or LAMBDA must be 0. Otherwise BANDWIDTH i
  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值