gaborfilter.tar

所属分类:图形图像处理
开发工具:matlab
文件大小:1KB
下载次数:103
上传日期:2011-03-10 18:15:18
上 传 者bibofun
说明:  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))
(Gabor filters are often used for shape detection and feature extraction, such as the enhanced fingerprint image. Matlab implementation of the code is a two-dimensional Gabor filter. Use the following code: 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,3 pi/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)) )

文件列表:
gaborfilter (0, 2011-03-10)
gaborfilter\gaborfilter1.m (1553, 2004-06-14)
gaborfilter\gaborfilter2.m (1860, 2004-06-14)
gaborfilter\gaborfilter.m (1307, 2004-06-14)

近期下载者

相关文件


收藏者