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

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个附件,已经成功下载1725次)

最值得关注的外文源代码

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

nbweiwei  2010年08月21日
好东西,支持一下,学习中
黄建筑  2010年07月21日
很好,谢谢
meimei  2010年07月14日
我还没有用,刚下载下来。不过看以前的评论,应该是挺好的。非常感谢!
hanggang1109  2010年06月03日
初学者,很受用,谢谢!
kaixin365335  2010年06月02日
谢谢
taxuexuunmei  2010年05月18日
不错 支持一下
hero  2010年05月17日
真的太及时了!不错,支持
campus  2010年05月02日
df
cctian  2010年04月29日
谢谢!
ruiyu1985  2010年04月29日
很好,谢谢啦!
fang  2010年04月18日
学习中 很感谢!!!!!
jiang1st  2010年04月16日
很不错啊,赞一个!!!
开源居士  2010年04月10日
一共三个版本对应三个公式,虽然不是我想要的那个公式的,但是还是很不错的,赞一个
wolf  2010年03月20日
初学者,很受用,谢谢!
新手上路  2010年03月17日
thank you very much
NFS_kim  2010年03月17日
正好用到
gaochong2987  2010年03月17日
正好用到,谢谢分享
jack  2010年03月15日
很好的 初学者 受益匪浅
jjq  2010年03月11日
谢谢,学习
jjq  2010年03月11日
初学者,很受用,谢谢!
字数在300字内
请如实评论
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved   免责声明