91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

內含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???????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個文件信息

評論

共有 條評論