当前注册人数107774人 邮箱: 密码: 注册新用户 忘记密码
首页 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个附件,已经成功下载1262次)

最值得关注的外文源代码

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

jjq  2010年03月11日
谢谢,学习
jjq  2010年03月11日
初学者,很受用,谢谢!
jhhcy  2010年03月11日
好东西,学习
衡芟  2010年03月10日
谢谢了,不错
shirely0719  2010年03月10日
很好的 初学者 受益匪浅
国风  2010年03月06日
谢谢了呵呵,不错
wolf_killer  2010年02月27日
受用
zhiqingfly  2010年01月24日
希望这个能有详细一点的注释
liner44  2010年01月16日
真好
gfly  2010年01月06日
en 不错
臭丫丫  2009年12月04日
好东西
国风  2009年11月16日
谢谢,学习中呵呵
jasmine__911  2009年11月16日
好东西啊,谢谢
  2009年10月27日
多点注释就好了
boboplayer01  2009年10月16日
学习一下!
gaopan  2009年10月09日
Thanks very much for your sharing!
wfb2313  2009年10月01日
good
tfgu  2009年09月26日
missyzhangman  2009年09月04日
谢谢了啊
麓山梧桐  2009年09月04日
很好,但是和我原来下的一样
字数在300字内
请如实评论
CopyRight (C) codesoso.com 2007-2009 All Rights Reserved   免责声明
京ICP备08011023号