资源简介
内含Gabor,GMRF,LBP等常用纹理特征提取方法

代码片段和文件信息
%function [opts] = Create_GaborF (ipts par)
%
%
% This function aims to create the argumented Gabor feature.
%
% input
% ipts. input data structure
% dat 3d image data matrix each dat(::i) is an (downsampled)
% image matrix.
% par. input parameter structure
% ds_w the downsample image‘s width in Gabor
% ds_h the downsample image‘s heigth in Gabor
% ke_w Gabor kernel‘s width
% ke_h Gabor kernel‘s heigth
% Kmax Gabor kernel‘s para default(pi/2)
% f Gabor kernel‘s para default(sqrt(2))
% sigma Gabor kernel‘s para default(pi or 1.5pi)
% Gabornum Gabor kernel‘s number
%
% output
% opts. output data structure
% gdat Gabor feature of training data each column is
% the argumented gabor feature vector of a sample
%--------------------------------------------------------------------------
% Note(Zhen Cui): every Gabor kernel spans a
% vector of ds_w*ds_h and then concatenated the
% Gabornum thus vector.
%--------------------------------------------------------------------------
%
% Copyright Mike YANG PolyU Hong Kong
% reference: LiuC.WechslerH.:Gabor Feature based Classification Using the Enhanced Fisher
% Linear Discriminant Model for Face Recognition IEEE IP 11 (2002)467–476.
%
function [opts] = Create_GaborF (ipts par)
if mod(par.ke_w2)~=1 | mod(par.ke_h2)~=1
error(‘The width and height of Gabor kernel should be odd number‘);
end
[ GaborReal GaborImg ] = MakeAllGaborKernal( par.ke_h par.ke_w par.Gabor_numpar.Kmax par.f par.sigma);
radius_w = floor(par.ke_w/2);
radius_h = floor(par.ke_h/2);
center_w = radius_w+1;
center_h = radius_h+1;
ker_ener = [];
% according the par.raT to select a suitable and accurate size of kernel window
for step = 1: (radius_w+radius_h)/2
ratio = 0;
for i = 1 :40
temp_r1 = sum(sum(abs(GaborReal(center_h-radius_h+step:center_h+radius_h-stepcenter_w-radius_w+step:center_w+radius_w-stepi))));
temp_r2 = sum(sum(abs(GaborReal(::i))));
temp_i1 = sum(sum(abs(GaborImg(center_h-radius_h+step:center_h+radius_h-stepcenter_w-radius_w+step:center_w+radius_w-stepi))));
temp_i2 = sum(sum(abs(GaborImg(::i))));
ratio = ratio + temp_r1/temp_r2/80 + temp_i1/temp_i2/80;
end
ker_ener = [ker_ener ratio];
if ratio < par.raT
step = step - 1;
break;
end
end
num = size(ipts.dat3);
for i = 1: num
tic
kel_GR = GaborReal(center_h-radius_h+step:center_h+radius_h-stepcenter_w-radius_w+step:center_w+rad
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3255 2011-08-20 10:55 Gabor Matlab\Create_GaborF.m
文件 738 2011-03-03 17:23 Gabor Matlab\Gaborforfolder.m
文件 981 2015-10-21 15:22 Gabor Matlab\Gaborsetting.m
文件 985 2011-08-20 19:19 Gabor Matlab\Gabor_T_Fast1.m
文件 13078 2011-08-19 19:41 Gabor Matlab\images\Crop1.bmp
I.A.SH. 5120 2015-10-27 15:02 Gabor Matlab\images\Thumbs.db
文件 782 2010-07-09 10:09 Gabor Matlab\MakeAllGaborKernal.m
文件 1037 2010-07-08 22:16 Gabor Matlab\MakeGaborKernal.m
文件 174 2011-08-20 20:01 Gabor Matlab\Readme.txt
文件 6437 2015-10-27 10:20 分形盒维数\boxcount.m
文件 2867 2015-10-13 13:49 灰度共生矩阵GLCM\GLCM.m
文件 731 2015-08-15 14:16 灰度差分统计GLDS\GLDS.m
文件 2512 2015-09-16 15:13 局部二值模式LBP\getmapping.m
文件 5633 2015-09-16 15:15 局部二值模式LBP\LBP.m
文件 2146 2015-10-15 19:42 局部二值模式LBP\lbptest.m
文件 56 2015-09-17 15:55 局部二值模式LBP\参考网站.txt
文件 262 2015-10-26 21:47 GMRF\GMRF\TestGMRF.m
文件 963 2015-10-26 21:47 GMRF\GMRF\X_GmrfPara_5Order_Estimat.m
文件 2114 2015-10-26 21:42 GMRF\GMRF\X_Gmrf_ParaG.m
文件 104006 2015-10-26 16:38 GMRF\MRFFeature.rar
文件 111945 2009-03-16 21:56 GMRF\texture.jpg
文件 956 2015-10-26 21:27 GMRF\X_GmrfPara_2Order_Estimat.m
文件 948 2015-10-26 21:10 GMRF\X_GmrfPara_4Order_Estimat.m
目录 0 2015-06-01 09:33 Gabor Matlab\images
目录 0 2015-10-26 21:49 GMRF\GMRF
目录 0 2015-08-19 20:58 Gabor Matlab
目录 0 2015-10-27 15:06 分形盒维数
目录 0 2015-10-27 15:06 灰度共生矩阵GLCM
目录 0 2015-10-27 15:06 灰度差分统计GLDS
目录 0 2015-10-27 15:03 局部二值模式LBP
............此处省略4个文件信息
相关资源
- MATLAB 提取Gabor特征
- 提取图片纹理特征能量、熵、惯性矩
- matlab纹理特征提取源代码
- Gabor滤波后的GIST特征提取matlab代码
- CBIR(MATLABHSV直方图,Haar纹理特征,
- gabor提取图像特征原理及其matlab实现
- Gabor二维滤波器——最全
- Matlab提取图像的形状、纹理、颜色特
- matlab常用纹理特征提取方法GLCM,GLD
- 基于gabor的原子时频分析程序
- 时频分析 Gabor 变换 Matlab程序
- Gaborfilter matlab
- 2DPCA人脸识别提取Gabor特征,用2DPCA进
- 指纹识别程序Gabor滤波+详细注释+代码
- 在MATLAB下的gist特征提取及傅里叶变换
- siltp 纹理特征提取代码 matlab
- 常见纹理特征提取的MATLAB代码
- Matlab实现Gabor提取图片纹理
- gabor滤波器的matlab源代码
- gabor滤波二值化.rar
- Gabor特征提取MATLAB代码
- Gabor原子的构造
- Gabor的matlab程序,Gabor滤波是一种不错
- MATLAB灰度共生矩阵纹理特征提取
- 基于matlab的图像纹理特征提取
- 基于Gabor小波变换和人工神经网络的人
- Gabor小波变换
- 时频Gabor变换
- matlab使用gabor变换和神经网络实现人脸
- gabormatlab
评论
共有 条评论