freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于圖像處理的汽車牌照的自動識別系統(tǒng)(2)-閱讀頁

2025-05-27 19:07本頁面
  

【正文】 =qiege(d)。 [m,n]=size(temp)。 two_thirds=sum(sum(temp([round(m/3):2*round(m/3)],:)))。word1=temp。d=qiege(d)。 % 分割出第三個字符 [word3,d]=getword(d)。 % 分割出第五個字符 [word5,d]=getword(d)。 % 分割出第七個字符 [word7,d]=getword(d)。139。 figure(10),imshow(word2),title(39。)。339。 figure(12),imshow(word4),title(39。)。539。 figure(14),imshow(word6),title(39。)。739。 [m,n]=size(word1)。其中 m中存儲的是行數(shù), n中存儲的是列數(shù) word1=imresize(word1,[40 20])。 %對圖像做縮放處理,高 40,寬 20 word3=imresize(word3,[40 20])。 word5=imresize(word5,[40 20])。 word7=imresize(word7,[40 20])。139。 subplot(3,7,9),imshow(word2),title(39。)。339。 subplot(3,7,11),imshow(word4),title(39。)。539。 subplot(3,7,13),imshow(word6),title(39。)。739。 imwrite(word1,39。)。39。 imwrite(word3,39。)。39。 imwrite(word5,39。)。39。 imwrite(word7,39。)。039。939。A39。Z39。蘇豫陜魯 39。 %建立自動識別字符代碼表,將 t39。:39。 39。:39。 39。多個字符串組成一個字符數(shù)組,每行對應(yīng)一個字符串,字符數(shù) 不足的自動補空格 SubBw2=zeros(40,20)。 for I=1:7 ii=int2str(I)。.jpg39。 %讀取圖片文件中的數(shù)據(jù) SegBw2=imresize(t,[40 20],39。)。nearest39。 kmax=40。 kmax=36。 kmax=36。文符模板 \39。.jpg39。 %把一個行向量轉(zhuǎn)化成字符串 SamBw2 = imread(fname)。 end end % 以上相當于兩幅圖相減得到第三幅圖 Dmax=0。 end end end Error(k2)=Dmax。 MinError=min(Error1)。 l=l+1。車牌號碼:京 A 8280639。 1 3 4 5 6 7 1234 5 67 %子程序:( getword子程序) function [word,result]=getword(d) word=[]。y1=8。 while flag==0 [m,n]=size(d)。 while sum(d(:,wide+1))~=0 amp。 wide=n2 wide=wide+1。 [m1,n1]=size(temp)。amp。 if sum(sum(d))~=0 d=qiege(d)。flag=1。 d(:,[1:wide])=0。 d=qiege(d)。 else d=[]。 % ( qiege子程序) function e=qiege(d) [m,n]=size(d)。bottom=m。right=n。amp。 end while sum(d(bottom,:))==0 amp。 bottom1 bottom=bottom1。amp。 end while sum(d(:,right))==0 amp。 right=1 right=right1。 hh=bottomtop。 %返回圖像的一個裁剪區(qū)域 close all。 %%%%歸一化訓練樣本 %%%%%% I0=pretreatment(imread(39。))。39。 I2=pretreatment(imread(39。))。39。 I4=pretreatment(imread(39。))。39。 I6=pretreatment(imread(39。))。39。 I8=pretreatment(imread(39。))。39。 I10=pretreatment(imread(39。))。39。 I12=pretreatment(imread(39。))。39。 I14=pretreatment(imread(39。))。39。 I16=pretreatment(imread(39。))。39。 P=[I039。,I239。,I439。,I639。,I839。,I1039。,I1239。,I1439。,I1639。]。 %%bp神經(jīng)網(wǎng)絡(luò)參數(shù)設(shè)置 =newff(minmax(P),[1000,32,18],{39。,39。,39。},39。)。randnr39。randnr39。 =50。 =。 %%%訓練樣本 %%%% [,tr]=train(,P,T)。39。 I=imread(39。)。%車牌定位 [PIN0,PIN1,PIN2,PIN3,PIN4,PIN5,PIN6]=StringSplit(dw)。 PIN1=pretreatment(PIN1)。 PIN3=pretreatment(PIN3)。 PIN5=pretreatment(PIN5)。 P0=[PIN039。,PIN239。,PIN439。,PIN639。 for i=2:7 T0= sim( ,P0(:,i))。 d =find(T1 == 1) 1 if (d==10) str=39。 elseif (d==11) str=39。 elseif (d==12) str=39。 elseif (d==13) str=39。 elseif (d==14) str=39。 elseif (d==15) str=39。 elseif (d==16) str=39。 elseif (d==17) str=39。 else str=num2str(d)。 case 3 str2=str。 case 5 str4=str。 otherwise str6=str。京 39。 figure()
點擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1