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

  • 大小: 492KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-11
  • 語(yǔ)言: Matlab
  • 標(biāo)簽:

資源簡(jiǎn)介

基于MATLAB指紋識(shí)別的代碼可直接用內(nèi)有部分注釋和使用方法

資源截圖

代碼片段和文件信息

function?[OutputprintXofCenterYofCenter]?=?centralizing(fingerprintctrl)
% ?modified?by?PRTsinghua@hotmail.com

imgN=size(fingerprint1);
imgM=size(fingerprint2);

image?=?wiener2(fingerprint[3?3]);
[GxGy]?=?gradient(image);
orientnum?=?wiener2(2.*Gx.*Gy[3?3]);
orientden?=?wiener2((Gx.^2)?-?(Gy.^2)[3?3]);
W?=?8;
ll?=?9;
orient?=?zeros(imgN/WimgM/W);
%-----------------------------------------------
points=(imgN/W)*(imgM/W);
for?i?=?1:1:points
????x?=?floor((i-1)/(imgM/W))*W+1;
????y?=?mod(i-1(imgN/W))*W+1;
????numblock?=?orientnum(y:y+W-1x:x+W-1);
????denblock?=?orientden(y:y+W-1x:x+W-1);
????
????somma_num=sum(sum(numblock));
????somma_denom=sum(sum(denblock));
????
????if?somma_denom?~=?0
????????inside?=?somma_num/somma_denom;
????????angle?=?0.5*atan(inside);
????else
????????angle?=?pi/2;
????end
????%?each?block
????if?angle?????????if?somma_num?????????????angle?=?angle?+?pi/2;
????????else
????????????angle?=?angle?+?pi;
????????end
????else
????????if?somma_num?>?0
????????????angle?=?angle?+?pi/2;
????????end
????end
????orient(1+(y-1)/W1+(x-1)/W)?=?angle;???
end

binarize?=?(orient?[bibj]?=?find(binarize);
xdir?=?zeros(WW);
ydir?=?zeros(WW);
for?k?=?1:1:size(bj1)
????i?=?bj(k);
????j?=?bi(k);
????if?orient(ji)?????????x?=?fix(ll*cos(orient(ji)-pi/2)/(W/2));
????????y?=?fix(ll*sin(orient(ji)-pi/2)/(W/2));
????????xdir(ji)?=?i-x;
????????ydir(ji)?=?j-y;
????????
????end
end

binarize2?=?zeros(imgN/WimgM/W);
for?i?=?1:1:size(bj1)
????x?=?bj(i);
????y?=?bi(i);
????if?~(xdir(yx)??imgM/W?|?ydir(yx)?>?imgN/W)
????????while?binarize(ydir(yx)xdir(yx))?>?0
????????????xtemp?=?xdir(yx);
????????????ytemp?=?ydir(yx);
????????????if?xtemp??imgM/W?|?ytemp?>?imgN/W
????????????????break;
????????????end
????????????x?=?xtemp;
????????????y?=?ytemp;
????????????if?xdir(yx)??imgM/W?|?ydir(yx)?>?imgN/W
????????????????if?x-1?>?0
????????????????????while?binarize(yx-1)?>?0
????????????????????????x?=?x-1;
????????????????????????if?x-1?????????????????????????????break;
????????????????????????end
????????????????????end
????????????????end
????????????????break;
????????????end
????????end
????end
????binarize2(yx)?=?binarize2(yx)+1;
end

[tempy]?=?max(binarize2(1:end-7:));
[temp2x]?=?max(temp);
angle?=?orient(y(x)x)-pi/2;
XofCenter=round(x*W-(W/2)-(ll/2)*cos(angle));
YofCenter=round(y(x)*W-(W/2)-(ll/2)*sin(angle));
Outputprint=binarize2;

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件??????11715??2009-09-20?13:02??指紋識(shí)別程序\1.jpg

?????文件??????66614??2001-01-11?11:56??指紋識(shí)別程序\19_7.bmp

?????文件??????11667??2009-09-20?13:06??指紋識(shí)別程序\2.jpg

?????文件?????132118??2000-08-21?00:28??指紋識(shí)別程序\22443.bmp

?????文件??????11373??2009-09-20?13:05??指紋識(shí)別程序\3.jpg

?????文件??????66614??2001-01-11?11:56??指紋識(shí)別程序\37_3.bmp

?????文件??????66614??2001-01-11?11:56??指紋識(shí)別程序\37_5_2.bmp

?????文件??????66614??2001-01-11?11:56??指紋識(shí)別程序\37_7.bmp

?????文件???????9617??2009-09-20?13:05??指紋識(shí)別程序\4.jpg

?????文件???????8443??2009-09-20?13:05??指紋識(shí)別程序\5.jpg

?????文件???????9426??2009-09-20?13:05??指紋識(shí)別程序\6.jpg

?????文件??????11100??2009-09-20?13:04??指紋識(shí)別程序\7.jpg

?????文件??????11801??2009-09-20?13:06??指紋識(shí)別程序\8.jpg

?????文件???????2627??2004-03-05?03:41??指紋識(shí)別程序\centralizing.m

?????文件???????1489??2004-03-05?05:10??指紋識(shí)別程序\cropping.m

?????文件??????30135??2009-10-02?21:22??指紋識(shí)別程序\fpextractdemo.m

?????文件???????4702??2018-04-13?13:45??指紋識(shí)別程序\fp_database.dat

?????文件????????675??2009-10-02?21:29??指紋識(shí)別程序\gabor2d_sub.m

?????文件??????49673??2018-04-18?22:43??指紋識(shí)別程序\informations.dat

?????文件??????31878??2018-04-18?22:24??指紋識(shí)別程序\n5.bmp

?????文件??????66614??2018-04-18?22:43??指紋識(shí)別程序\pippo.bmp

?????文件?????????81??2004-06-30?00:52??指紋識(shí)別程序\readme.txt

?????文件???????1717??2004-03-05?05:13??指紋識(shí)別程序\sector_norm.m

????..A.SH.?????35840??2007-08-22?09:45??指紋識(shí)別程序\Thumbs.db

?????文件????????572??2004-03-05?05:12??指紋識(shí)別程序\vedicentro.m

?????文件????????929??2004-03-05?05:14??指紋識(shí)別程序\whichsector.m

?????目錄??????????0??2018-04-18?22:42??指紋識(shí)別程序

-----------?---------??----------?-----??----

???????????????710648????????????????????27



............此處省略0個(gè)文件信息

評(píng)論

共有 條評(píng)論