1.24位真彩色->256色灰度圖。 2.預處理:中值濾波。 3.二值化:用一個初始閾值T對圖像A進行二值化得到二值化圖像B。 初始閾值T的確定方法是:選擇閾值T=Gmax-(Gmax-Gmin)/3,Gmax和Gmin分別是最高、最低灰度值。 該閾值對不同牌照有一定的適應性,能夠保證背景基本被置為0,以突出牌照區(qū)域。 4.削弱背景干擾。對圖像B做簡單的相鄰像素灰度值相減,得到新的圖像G,即Gi,j=|Pi,j-Pi,j-1|i=0,1,…,439 j=0,1,…,639Gi,0=Pi,0,左邊緣直接賦值,不會影響整體效果。 5.用自定義模板進行中值濾波 區(qū)域灰度基本被賦值為0。考慮到文字是由許多短豎線組成,而背景噪聲有一大部分是孤立噪聲,用模板(1,1,1,1,1)T對G進行中值濾波,能夠得到除掉了大部分干擾的圖像C。 6.牌照搜索:利用水平投影法檢測車牌水平位置,利用垂直投影法檢測車牌垂直位置。 7.區(qū)域裁剪,截取車牌圖像。
上傳時間: 2014-01-08
上傳用戶:songrui
編制函數(shù)prime,用來判斷整數(shù)n是否為素數(shù):bool prime(int n); 而后編制主函數(shù),任意輸入一個大于4的偶數(shù)n,找出滿足n=i+j的所有數(shù)對,其中要求i與j均為素數(shù)(通過調用prime來判斷素數(shù))。如偶數(shù)18可以分解為11+7以及13+5;而偶數(shù)80可以分解為:43+37、61+19、67+13、73+7。
上傳時間: 2015-09-09
上傳用戶:jennyzai
OpenSG is a scenegraph system for realtime rendering, e.g. for Virtual Reality applications. It is just a library, not a full application. This documentation contains descriptions of the internal classes and concepts, as well as a tutorial that explains how to use the system.
標簽: e.g. applications scenegraph for
上傳時間: 2015-09-13
上傳用戶:bruce
本書介紹了JavssciPt的程序設計技術。書中從最基本的Javascr加編程概念談起, 詳細介紹了J帥她的中可使用的各種對象,討論了如何用J帥SciPt操作HTML文檔 中的各個元素,從而獲得更靈活、交互性更強的web頁,接著說明了多媒體的處理技術, 最后介紹了Javascdpt與JaM、cGI、肋等工具的結合技術以及JsMscr加的未來。本書 循序漸進,幾乎覆蓋了Ja陰scr加編程的各個細節(jié),并且包含大量新穎實用的示例,以及 Jav:sc6pt中各種結構、對象和函數(shù)的詳細說明,具有很好的參考價值。
上傳時間: 2015-09-13
上傳用戶:wanqunsheng
文件名 :Calender.c // 描述 :日歷時鐘模塊,用于不帶時鐘芯片的系統(tǒng) // 語言 :C 作者 :Jean J. Labrosse 日期 :2002-05-17 // 說明 :原來的程序用于
上傳時間: 2015-09-16
上傳用戶:zhangliming420
subtitlesync這是我寫的一個小程序, 用于將下載的電影的字幕同步,因為很多時候字幕跟聲音有不同步現(xiàn)象.現(xiàn)在只能處理SRT.格式的字幕. 開發(fā)平臺是eclipse,使用方法是運行Main.java
標簽: subtitlesync eclipse Main 字幕
上傳時間: 2014-01-17
上傳用戶:cursor
二維FDTD程序,采用PML邊界s 用pml和mur分別計算j=1處的Hz(i,1).計算空間擴大到400*400,不加邊界,運行相同的時間步
上傳時間: 2013-12-22
上傳用戶:talenthn
palm編成,這種書很少,有興趣看看 Title: Palm Programming: The Developer s Guide URL: http://safari.oreilly.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=1-56592-525-4&open=false&srchText=palm+programming&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&page=0 ISBN: 1-56592-525-4 Author: Julie McKeehan/ Neil Rhodes Publisher: O Reilly Page: 478 Edition: 1st edition (December 1998) Catalog: PDA programming / Palm Format: pdf Size: 2.06M Supplier: Summary: Emerging as the bestselling hand-held computers of all time, PalmPilots have spawned intense developer activity and a fanatical following. Used by Palm in their developer training, this tutorial-style book shows intermediate to experienced C programmers how to build a Palm application from the ground up. Includes a CD-ROM with source code and third-party developer tools
標簽: Programming Developer oreilly safari
上傳時間: 2013-12-10
上傳用戶:litianchu
考察例1 4 - 8中的1 4個點。A中的最近點對為(b,h),其距離約為0 . 3 1 6。B中最近點對為 (f, j),其距離為0 . 3,因此= 0 . 3。當考察 是否存在第三類點時,除d, g, i, l, m 以外 的點均被淘汰,因為它們距分割線x= 1的 距離≥ 。RA ={d, i, m},RB= {g, l},由 于d 和m 的比較區(qū)中沒有點,只需考察i 即可。i 的比較區(qū)中僅含點l。計算i 和l 的距離,發(fā)現(xiàn)它小于,因此(i, l) 是最近
標簽:
上傳時間: 2013-12-03
上傳用戶:66666
Java Regex Primer Since version 1.4, Java has had support for Regular Expressions in the core API. Java Regex follows the same basic principles used in other languages, just withdi erent access methods, and some subtledi erences with the patterns. This primer is aimed towards developers already familiar with regex in other languages wanting a brief outline of its support in Java. It may also be beneficial to developers learning regex if used in conjunction with detailed documentation explaining the construction of regex patterns. Reading the javadoc forjava.util.regex. Pattern is a must to see how the Java regex patterns aredi erent from other languages such as Perl. Most of the functions discussed herin are from thejava.util.regex. Matcher class with a few fromjava.util.regex. Pattern. Reading this text in conjunction with the javadoc of those classes is advised.
標簽: Java Expressions Regular version
上傳時間: 2013-12-18
上傳用戶:lanhuaying