文件名称:gaborfilter.tar
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Linux] [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 郑**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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))
代码使用如下:
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))
(系统自动生成,下载前可以参看下载内容)
下载文件列表
37724081gaborfilter.tar