资源简介
六种主要常用的纹理特征提取方法(GM,GMRF,BC,GLDS,GLCM,LBP),matlab编写,有学习需要的可以参考参考

代码片段和文件信息
%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 六种常用纹理特征提取方法MATLAB\Gabor Matlab\Create_GaborF.m
文件 738 2011-03-03 17:23 六种常用纹理特征提取方法MATLAB\Gabor Matlab\Gaborforfolder.m
文件 981 2015-10-21 15:22 六种常用纹理特征提取方法MATLAB\Gabor Matlab\Gaborsetting.m
文件 985 2011-08-20 19:19 六种常用纹理特征提取方法MATLAB\Gabor Matlab\Gabor_T_Fast1.m
文件 13078 2011-08-19 19:41 六种常用纹理特征提取方法MATLAB\Gabor Matlab\images\Crop1.bmp
I.A.SH. 5120 2015-10-27 15:02 六种常用纹理特征提取方法MATLAB\Gabor Matlab\images\Thumbs.db
文件 782 2010-07-09 10:09 六种常用纹理特征提取方法MATLAB\Gabor Matlab\MakeAllGaborKernal.m
文件 1037 2010-07-08 22:16 六种常用纹理特征提取方法MATLAB\Gabor Matlab\MakeGaborKernal.m
文件 174 2011-08-20 20:01 六种常用纹理特征提取方法MATLAB\Gabor Matlab\Readme.txt
文件 262 2015-10-26 21:47 六种常用纹理特征提取方法MATLAB\GMRF\GMRF\TestGMRF.m
文件 963 2015-10-26 21:47 六种常用纹理特征提取方法MATLAB\GMRF\GMRF\X_GmrfPara_5Order_Estimat.m
文件 2114 2015-10-26 21:42 六种常用纹理特征提取方法MATLAB\GMRF\GMRF\X_Gmrf_ParaG.m
文件 104006 2015-10-26 16:38 六种常用纹理特征提取方法MATLAB\GMRF\MRFFeature.rar
文件 111945 2009-03-16 21:56 六种常用纹理特征提取方法MATLAB\GMRF\texture.jpg
文件 956 2015-10-26 21:27 六种常用纹理特征提取方法MATLAB\GMRF\X_GmrfPara_2Order_Estimat.m
文件 948 2015-10-26 21:10 六种常用纹理特征提取方法MATLAB\GMRF\X_GmrfPara_4Order_Estimat.m
文件 6437 2015-10-27 10:20 六种常用纹理特征提取方法MATLAB\分形盒维数\boxcount.m
文件 2512 2015-09-16 15:13 六种常用纹理特征提取方法MATLAB\局部二值模式LBP\getmapping.m
文件 5633 2015-09-16 15:15 六种常用纹理特征提取方法MATLAB\局部二值模式LBP\LBP.m
文件 2146 2015-10-15 19:42 六种常用纹理特征提取方法MATLAB\局部二值模式LBP\lbptest.m
文件 56 2015-09-17 15:55 六种常用纹理特征提取方法MATLAB\局部二值模式LBP\参考网站.txt
文件 2867 2015-10-13 13:49 六种常用纹理特征提取方法MATLAB\灰度共生矩阵GLCM\GLCM.m
文件 731 2015-08-15 14:16 六种常用纹理特征提取方法MATLAB\灰度差分统计GLDS\GLDS.m
目录 0 2015-06-01 09:33 六种常用纹理特征提取方法MATLAB\Gabor Matlab\images
目录 0 2015-10-26 21:49 六种常用纹理特征提取方法MATLAB\GMRF\GMRF
目录 0 2015-08-19 20:58 六种常用纹理特征提取方法MATLAB\Gabor Matlab
目录 0 2015-10-26 21:49 六种常用纹理特征提取方法MATLAB\GMRF
目录 0 2015-10-27 15:06 六种常用纹理特征提取方法MATLAB\分形盒维数
目录 0 2015-10-27 15:03 六种常用纹理特征提取方法MATLAB\局部二值模式LBP
目录 0 2015-10-27 15:06 六种常用纹理特征提取方法MATLAB\灰度共生矩阵GLCM
............此处省略5个文件信息
- 上一篇:MATLAB彩色图片对比度增强直方图均衡
- 下一篇:forstner角点检测
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论