当前注册人数423093人 邮箱: 密码: 注册新用户 忘记密码
首页 C/C++/MFC C# ASP.NET VB.NET MATLAB Android   站内搜索 下载代码说明/积分规则
为什么要注册?

1. 可以直接免费从本站下载代码,防止邮件发送不到您的邮箱,或登录不了国外网站

2. 可以设定关键字,当有您关心的代码收录时,邮件通知您

3. 对这里的代码进行评分和评论

4. 可以和大家一起分享你的源代码,得到更多的建议

2D Gabor Filter(Ver1,2,3)

二维图像Gabor滤波源代码

2007年12月04日
matlab, image toolbox, Filter Design Toolbox
Gabor滤波器经常被用于形状检测和特征提取,比如增强指纹图像。本代码用matlab实现了一个二维Gabor滤波器。
相关知识

代码使用如下:

 function [G,gabout] = gaborfilter1(I,Sx,Sy,f,theta);
from 'gaborfilter1' with different f(Frequency) and theta(Angle).
for example

f:0,2,4,8,16,32
theta = 0,pi/3,pi/6,pi/2,3pi/4

then for any input image like(eg. stereo.jpg)

you have 6x5 = 30 filtered images.

You can choose your desired angles or frequencies.

You can put nominaly Sx & Sy = 2,4 or some one else.

For instance I tested above example on ('cameraman.tif')(in MATLAB pictures)

I = imread('cameraman.tif');
[G,gabout] = gaborfilter1(I,2,4,16,pi/3);
figure,imshow(uint8(gabout));

源代码原文下载:
2D Gabor Filter(Ver1,2,3) Recent studies on Mathematical modeling of visual cortical cells [Kulikowski/Marcelja/Bishop:1982] suggest a tuned band pass filter bank structure. These filters are found to have Gaussian transfer functions in the frequency domain. Thus, taking the Inverse Fourier Transform of this transfer function we get a filter characteristics closely resembling to the Gabor filters. The Gabor filter is basically a Gaussian (with variances sx and sy along x and y-axes respectively) modulated by a complex sinusoid (with centre frequencies U and V along x and y-axes respectively). Gabor filters are used mostly in shape detectin and feature extractin in image processing.

源码图片

从本站下载附件及源代码(1个附件,已经成功下载3983次)

最值得关注的外文源代码

Free Source Code for Image segmentation and Extraction
Finger Print Verification System
Face Detection System
Ideal Low Pass Filter
评论(评论是增加积分的一个有效途径)
字数在300字内
请如实评论
本源代码共评论1015次,此处显示最近20次评论! 查看所有评论

  2023年02月06日
1202qianqian  2021年04月19日
不错不错
lulala  2021年01月04日
谢谢
喝咖啡不掉头发  2020年10月12日
不错不错
风非云开  2019年12月14日
不错哦
风非云开  2019年12月14日
很好的代码
none  2018年10月01日
很好的代码
123  2018年09月13日
谢谢
浮云浮云l  2018年08月19日
谢谢分享
kongcheng  2018年07月25日
图像处理不错
zuimengtianya  2018年07月21日
在我进行运行后,增强了我原来模糊图像的特征。
tenjure  2018年07月19日
好好好好好好好
tenjure  2018年07月19日
好好好好好好好好
ahha  2018年06月21日
谢谢分享
九月晴空  2018年04月30日
6666666666666
lina  2018年04月10日
好棒
lina  2018年04月10日
厉害了
小哈哈  2018年03月30日
谢谢
layer  2018年01月21日
谢谢
gaofei  2018年01月11日
不错啊
字数在300字内
请如实评论
200万国内源码搜索
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved zhihuishi   免责声明