gabor wavelet 初步代码 已修改

本文介绍了一种Gabor小波变换的MATLAB实现,详细讲解了函数`gabor_wt`的参数及其作用,并给出了不同尺度、方向的Gabor滤波器图像及其傅里叶变换结果。通过调整参数`a`、`m`和`theta`,可以观察到Gabor滤波器在不同条件下的变化。
摘要由CSDN通过智能技术生成

function [gb_R,gb_I]=gabor_wt(lambda,theta,m,gamma,a,psi,b,delta)
%[gb_R,gb_I]==gabor_wt(lambda,theta,m,gamma,a,psi,b,delta)
%lambda 为函数波长
%theta  为gabor 核函数的方向
%psi    为相位偏移
%sigma  为高斯函数的标准差
%gamma  This parameter, called more precisely the spatial aspect ratio, specifies the ellipticity of the support of the Gabor function. 
% For γ = 1, the support is circular. For γ < 1 the support is elongated in orientation of the parallel stripes of the function. 
%Default value is γ = 0.5
%m      尺度参数
%a      尺度参数 默认为2
%以h(x,y)=exp(-.5*(x_theta.^2/sigma_x^2+y_theta.^2/sigma_y^2)).*exp(1i*(2*pi/lambda*x_theta+psi));
% 为母小波,对它进行尺度收缩和旋转 hmn(x,y)=a^(-m).*h(x_theta,y_theta);a >1  
%a^(-m) 为尺度因子 x_theta=a^(-m)*(x*cos(theta)+y*sin(theta));
% y_theta=-a^(-m)*(x*sin(theta)+y*cos(theta)); theta=n*pi/k; S,K 为尺度和方向的数目,m=0,1,…,S?1,n=0,1,…,K
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值