CN100414560C - License Plate Extraction Method Based on Wavelet Transform and Wright Transform - Google Patents
License Plate Extraction Method Based on Wavelet Transform and Wright Transform Download PDFInfo
- Publication number
- CN100414560C CN100414560C CNB200510021651XA CN200510021651A CN100414560C CN 100414560 C CN100414560 C CN 100414560C CN B200510021651X A CNB200510021651X A CN B200510021651XA CN 200510021651 A CN200510021651 A CN 200510021651A CN 100414560 C CN100414560 C CN 100414560C
- Authority
- CN
- China
- Prior art keywords
- matrix
- image
- license plate
- value
- car plate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000605 extraction Methods 0.000 title claims description 14
- 230000009466 transformation Effects 0.000 claims abstract description 72
- 238000000034 method Methods 0.000 claims abstract description 34
- 239000011159 matrix material Substances 0.000 claims description 87
- 238000001914 filtration Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000010606 normalization Methods 0.000 claims description 12
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000004422 calculation algorithm Methods 0.000 claims description 2
- 238000012217 deletion Methods 0.000 claims 1
- 230000037430 deletion Effects 0.000 claims 1
- 239000004744 fabric Substances 0.000 claims 1
- 229910052704 radon Inorganic materials 0.000 abstract description 8
- SYUHGPGVQRZVTB-UHFFFAOYSA-N radon atom Chemical compound [Rn] SYUHGPGVQRZVTB-UHFFFAOYSA-N 0.000 abstract description 8
- 239000003086 colorant Substances 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 6
- 238000002474 experimental method Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000011160 research Methods 0.000 description 4
- 230000011218 segmentation Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005520 cutting process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000003912 environmental pollution Methods 0.000 description 1
- 230000003628 erosive effect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Images
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
Description
技术领域 technical field
本发明属于智能交通技术领域,特别涉及车牌识别技术中的复杂背景中的车牌提取方法。The invention belongs to the technical field of intelligent transportation, in particular to a license plate extraction method in a complex background in the license plate recognition technology.
背景技术 Background technique
智能交通系统是目前世界交通运输领域的前沿研究课题,发达国家提出并执行了一系列研究计划,其核心是针对日益严重的交通需求和环境保护压力,采用信息技术、通信技术、计算机技术、控制技术等对传统交通运输系统进行深入的改造,以提高系统资源的使用效率、系统安全性,减少资源的消耗和环境污染,在此方面我国也不例外。智能交通系统中的车牌识别技术主要实现对行驶车辆牌照进行自动识别,从而完成自动收费,无人停车管理,重要路口的交通管制以及违章车辆的追踪等等功能,以此来节省了人力、资金,同时提高交通管理的效率。如今,随着计算机性能的提高和图像处理技术的发展,车牌识别系统已经日趋成熟。详见文献:Da-Shan Gao,Jie Zhou,Car license plates detection from complexscene,Signal Processing Proceedings,5th International Conference,21-25 Aug.2000和文献:Shyang-Lih Chang,Li-Shien Chen,YunChung Chung,Sci-Wan Chen,Automatic license platerecognition,Intelligent Transportation Systems,IEEE Transactions on,March 2004所述。Intelligent transportation system is currently a frontier research topic in the field of transportation in the world. Developed countries have proposed and implemented a series of research plans, the core of which is to use information technology, communication technology, computer technology, control In-depth transformation of traditional transportation systems, such as technology, to improve the efficiency of system resource use, system security, reduce resource consumption and environmental pollution, and my country is no exception in this respect. The license plate recognition technology in the intelligent transportation system mainly realizes automatic recognition of driving vehicle license plates, thereby completing functions such as automatic toll collection, unmanned parking management, traffic control at important intersections, and tracking of illegal vehicles, so as to save manpower and funds , while improving the efficiency of traffic management. Today, with the improvement of computer performance and the development of image processing technology, the license plate recognition system has become increasingly mature. See literature: Da-Shan Gao, Jie Zhou, Car license plates detection from complex scene, Signal Processing Proceedings, 5th International Conference, 21-25 Aug.2000 and literature: Shyang-Lih Chang, Li-Shien Chen, YunChung Chung, Sci -Wan Chen, Automatic license plate recognition, Intelligent Transportation Systems, IEEE Transactions on, March 2004.
在车牌识别系统中,车牌提取是一项关键技术,其目的就是从一幅复杂背景的数字图像中分割出车牌图像,要求具有较高的识别率和较强的环境适应性。但是由于车牌背景的复杂性与车牌特征的多样性,迄今为止,仍没有一个完全通用的智能化车牌定位方法。大多数定位方法局限于某个侧面问题的解决,如牌照的倾斜、光照的干扰、噪声的影响等,离实际应用尚有比较大的距离。因此,如何把现有的研究成果结合起来,同时考虑到现有设备的工作能力,使我们的车牌识别系统具有良好的性能和识别速度是我们当前研究的方向。详见文献Zhi-Bin Huang,Yan-Feng Guo,Classifier fusion-based vehicle license plate detectionalgorithm,Machine Learning and Cybernetics,2003 International Conference on,2-5 Nov.2003和文献Yoshimori,S.Mitsukura,Y.Fukumi,M.Akamatsu,N.Khosal,R.License plate detection system in rainydays,Computational Intelligence in Robotics and Automation.,16-20 July 2003。In the license plate recognition system, license plate extraction is a key technology. Its purpose is to segment the license plate image from a digital image with a complex background, which requires high recognition rate and strong environmental adaptability. However, due to the complexity of the license plate background and the diversity of license plate features, there is still no completely general intelligent license plate location method so far. Most of the positioning methods are limited to the solution of a certain side problem, such as the tilt of the license plate, the interference of light, the influence of noise, etc., and there is still a relatively large distance from practical application. Therefore, how to combine the existing research results and take into account the working ability of the existing equipment, so that our license plate recognition system has good performance and recognition speed is the direction of our current research. For details, see Zhi-Bin Huang, Yan-Feng Guo, Classifier fusion-based vehicle license plate detection algorithm, Machine Learning and Cybernetics, 2003 International Conference on, 2-5 Nov.2003 and Yoshimori, S. Mitsukura, Y. Fukumi, M. Akamatsu, N. Khosal, R. License plate detection system in rainy days, Computational Intelligence in Robotics and Automation., 16-20 July 2003.
而基于小波变换和雷登变换(简称:Radon变换)的车牌提取方法,有可能解决这个问题,因为车牌区域在整幅图像中的高频信息明显且集中,采用小波变换可以有效的提取并且突出这些高频信息,但此时被提取的车牌还包含有车牌边框,车牌边框的存在将会加大后续的车牌字符分割和识别的难度,为使后续的字符分割和识别处理的难度能在最大程度上降到最低,对采用小波变换后所定位出的车牌图像进行雷登变换,可以把车牌的四个边框定位出来,从而把四个边框删除,只留下可识别的字符区域,使得后续的字符分割和识别变得相对容易。The license plate extraction method based on wavelet transform and Radon transform (abbreviation: Radon transform) may solve this problem, because the high-frequency information in the license plate area in the whole image is obvious and concentrated, and wavelet transform can be used to effectively extract and highlight These high-frequency information, but the license plate extracted at this time also includes the license plate frame, the existence of the license plate frame will increase the difficulty of the subsequent license plate character segmentation and recognition, in order to make the subsequent character segmentation and recognition process The difficulty can be maximized To minimize the extent, Wrighten transform is performed on the license plate image located after wavelet transform, and the four borders of the license plate can be located, so that the four borders are deleted, leaving only the recognizable character area, so that the subsequent character segmentation and recognition becomes relatively easy.
其中,所谓的小波指的是基于一些称为小波的小型波,具有变化的频率和有限的持续时间,而小波变换即是指把这些小型波和待处理的信号进行一些数学运算。雷登变换是一种几何变换,对一幅图像的雷登变换的结果进行一系列数学判断便可检测图像中是否含有直线以及直线的位置。最后车牌指的是每辆车牌安装的用于标识车辆身份的号码,制作标准化,一般悬挂于车辆的前端或者后部。Among them, the so-called wavelet refers to some small waves based on wavelets, which have variable frequency and limited duration, and wavelet transform refers to performing some mathematical operations on these small waves and the signal to be processed. The Raiden transform is a geometric transformation. A series of mathematical judgments can be performed on the result of the Raiden transform of an image to detect whether the image contains a straight line and the position of the straight line. Finally, the license plate refers to the number installed on each license plate to identify the identity of the vehicle, which is standardized and generally hung on the front or rear of the vehicle.
现在通常使用的车牌提取的方法有:The commonly used license plate extraction methods are:
①基于车牌的彩色特征进行车牌提取方法。它是通过提取车牌的不同于其他区域的特殊彩色特征来区别车牌区域和背景区域,从而提取出车牌。优点是充分利用了图像的彩色信息;缺点是速度较慢,对于那些色彩非常丰富的图像可能失效。详见文献Zhu Wei-gang;Hou Guo-jiang;Jia Xing;A study of locating vehicle license plate based on colorfeature and mathematical morphology.Signal Processing,26-30 Aug.2002,① The license plate extraction method based on the color features of the license plate. It distinguishes the license plate area from the background area by extracting the special color features of the license plate that are different from other areas, thereby extracting the license plate. The advantage is that the color information of the image is fully utilized; the disadvantage is that the speed is slow, and it may fail for those images with very rich colors. For details, see the literature Zhu Wei-gang; Hou Guo-jiang; Jia Xing; A study of locating vehicle license plate based on color feature and mathematical morphology. Signal Processing, 26-30 Aug.2002,
②应用Hough变换进行车牌提取的方法。它是通过提取车牌边框的直线从而搜索到车牌位置的。其缺点是速度较慢,而且定位不准确,出现干扰区域多。详见文献K.M.Kim,B.J.Lee,K.Lyou.The automatic coefficient and Hough transform.Journal of Control,Automatic and System Engineering.3(5):511-519,1997,② The method of license plate extraction using Hough transform. It searches for the position of the license plate by extracting the straight line of the license plate frame. The disadvantage is that the speed is slow, and the positioning is not accurate, and there are many interference areas. For details, see the literature K.M.Kim, B.J.Lee, K.Lyou.The automatic coefficient and Hough transform.Journal of Control, Automatic and System Engineering.3(5):511-519, 1997,
③基于形态学算子的车牌提取方法。它是通过使用膨胀、腐蚀等操作对车牌的边缘特征进行增强,进而提取出车牌。其缺点是对那些边缘特征相对丰富的区域会找出相当多的干扰区域,从而影响车牌提取的效果。详见文献M.Shridhar,J.W.Miller.Recognition of license plate image,In Processings of International Conference on DocumentAnalysis and Recognition,17-20,1999,③ License plate extraction method based on morphological operators. It extracts the license plate by enhancing the edge features of the license plate by using operations such as expansion and erosion. Its disadvantage is that quite a lot of interference areas will be found for those areas with relatively rich edge features, which will affect the effect of license plate extraction. For details, see M. Shridhar, J.W.Miller. Recognition of license plate image, In Processings of International Conference on Document Analysis and Recognition, 17-20, 1999,
车牌提取时上述三种方法都具备一个共同的特点:这些方法都是针对一个特定的环境,且提取出的高频信息有限。一旦环境变化,其提取准确率就会发生较大的波动,使整个车牌识别系统的性能下降。因此缺乏对各种环境的适应性,方法鲁棒性不好。此处我们所说的环境指的是车牌原始图像采集的环境,不同的环境,比如说天气、时刻、车辆所处背景和车辆自身运动情况等等,采集的图像在分辨率和纹理特征等方面往往出现相当大的区别。高频信息指的是图像的局部细节特征,车牌区域的局部细节特征相对于其他区域更明显一些。The above three methods for license plate extraction all have a common feature: these methods are all aimed at a specific environment, and the extracted high-frequency information is limited. Once the environment changes, the extraction accuracy will fluctuate greatly, which will degrade the performance of the entire license plate recognition system. Therefore, it lacks adaptability to various environments, and the robustness of the method is not good. The environment we are talking about here refers to the environment in which the original image of the license plate is collected. Different environments, such as weather, time, the background of the vehicle, and the movement of the vehicle itself, etc., the collected images are different in terms of resolution and texture features. Often there are considerable differences. High-frequency information refers to the local detail features of the image, and the local detail features of the license plate area are more obvious than other areas.
发明内容 Contents of the invention
本发明的任务是提供一种基于小波变换和雷登变换的车牌提取方法,采用本发明的方法,可以在普通环境中都能够有效、快速、准确地提取车牌,为车牌字符的准确识别奠定基础。所述的普通环境包括:晴天、雨天,车牌水平、车牌倾斜,车辆静止、车辆运动,白天、夜晚等情况。The task of the present invention is to provide a license plate extraction method based on wavelet transform and Wright transform. By adopting the method of the present invention, the license plate can be extracted effectively, quickly and accurately in common environments, laying the foundation for the accurate identification of license plate characters. . The general environment includes: sunny day, rainy day, license plate level, license plate tilt, vehicle stationary, vehicle moving, daytime, night and so on.
为了方便描述本发明地内容,首先在此作一个术语定义:In order to facilitate the description of the content of the present invention, a definition of terms is first made here:
1.车牌:每辆车中安装的用于标识车辆身份的长方形号码牌,号码牌有上下左右四个边框,边框内包含有7个字符,有统一的制作标准,一般悬挂于车辆的前端或者后部,不同用途的车辆的车牌标准是不一样的。1. License plate: a rectangular number plate installed in each vehicle to identify the identity of the vehicle. The number plate has four borders, up, down, left, and right. The frame contains 7 characters. There are uniform production standards. It is generally hung on the front of the vehicle or At the rear, the license plate standards for vehicles with different uses are different.
2.灰度图像:图像中只包含了亮度信息而没有任何颜色信息的图像。2. Grayscale image: An image that only contains brightness information without any color information.
3.灰度判断:一种判断当前所读取的图像是否属于真彩色图像的图像处理手段,此处专指对所拍摄到的车辆图像进行判断,判断依据为分析车辆图像矩阵的结构,若车辆图像矩阵包含三基色分量,则当前所读取得车辆图像属于真彩色图像,如若不然,则为灰度图像。3. Gray scale judgment: an image processing method for judging whether the currently read image belongs to a true-color image. Here, it refers to judging the captured vehicle image. If the vehicle image matrix contains three primary color components, the currently read vehicle image is a true color image, otherwise it is a grayscale image.
4.灰度转换:一种把彩色图像转化为灰度图像的手段,利用公式f(i,j)=0.114*I(i,j,1)+0.587*I(i,j,2)+0.299*I(i,j,3)可以把一幅灰度图像转换为灰度图像,其中i表示图像的行坐标值,j表示图像的列坐标值,f(i,j)表示转换后的灰度图像中第i行第j列的象素的灰度值,I(i,j,1),I(i,j,2)和I(i,j,3)分别表示彩色图像中第i行第j列的象素的R,G,B分量的值。4. Grayscale conversion: a means of converting a color image into a grayscale image, using the formula f(i,j)=0.114*I(i,j,1)+0.587*I(i,j,2)+ 0.299*I(i, j, 3) can convert a grayscale image into a grayscale image, where i represents the row coordinate value of the image, j represents the column coordinate value of the image, and f(i, j) represents the converted The gray value of the pixel in row i and column j in the grayscale image, I(i, j, 1), I(i, j, 2) and I(i, j, 3) represent the color image respectively R, G, and B component values of the pixel at row i and column j.
5.垂直梯度:为了突出原车辆图像的垂直细节信息,提取边缘,用每一行的后一个象素灰度值减去前一个象素的灰度值,得到垂直梯度值。计算公式为gV(i,j)=|f(i,j+1)-f(i,j)|,其中i表示图像的行坐标值,j表示图像的列坐标值,f(i,j)表示第i行第j列的象素的灰度值,f(i,j+1)表示第i行第j+1列的象素的灰度值,gV(i,j)表示相应的垂直梯度值。5. Vertical gradient: In order to highlight the vertical detail information of the original vehicle image, extract the edge, and subtract the gray value of the previous pixel from the gray value of the next pixel in each row to obtain the vertical gradient value. The calculation formula is g V (i, j)=|f(i, j+1)-f(i, j)|, where i represents the row coordinate value of the image, j represents the column coordinate value of the image, f(i, j) represents the gray value of the pixel in row i, column j, f(i, j+1) represents the gray value of the pixel in row i, column j+1, and g V (i, j) represents The corresponding vertical gradient value.
6.梯度水平投影:一种把二维空间中的图像灰度梯度值通过一个函数变换后转换到一维空间中的方法,该函数变换为
7.高斯滤波:一种有名的平滑滤波方法,通过一个滤波函数变换对曲线进行滤波处理,可以使曲线更平滑,此处专指对梯度水平投影曲线进行滤波,滤波函数为
8.小波变换:此处专指对梯度水平投影曲线进行一维小波变换,从而从梯度水平投影曲线上提取有利于车牌定位的曲线特征。具体变换为,首先,构造一个高斯函数
9.波峰:曲线上的值的一种特征;在该处的曲线值比紧邻的前一个曲线值和紧邻的后一个曲线值都大。9. Peak: A characteristic of a value on a curve; a curve value at which it is greater than both the immediately preceding and immediately following curve values.
10.波谷:曲线上的值的一种特征;在该处的曲线值比紧邻的前一个曲线值和紧邻的后一个曲线值都小。10. Trough: A characteristic of values on a curve; where a curve value is smaller than both the immediately preceding and immediately following curve values.
11.车牌候选区域:一些在一幅图像中具有某些特征的区域,这些特征是,首先,它一个是具有一定尺寸大小的长方形或平行四边形,该长方形或平行四边形不能太大以至于占据了整个车辆图像,也不能太小以至于肉眼不可见,通常情况下是一个长440mm左右高140mm左右的长方形或平行四边形区域;其次,长方形内的区域必须有字符;最后,该长方形位于一个车辆图像中的中下部。正常情况下一幅车辆图像中的车牌是一个长方形,但可能在拍摄车辆图像的时由于各种原因而造成车牌区域变形为平行四边形。11. License plate candidate area: some areas with certain characteristics in an image, these features are, first of all, it is a rectangle or parallelogram with a certain size, and the rectangle or parallelogram cannot be too large to occupy The entire vehicle image should not be too small to be visible to the naked eye. Usually, it is a rectangular or parallelogram area with a length of about 440mm and a height of about 140mm; secondly, the area inside the rectangle must have characters; finally, the rectangle is located in a vehicle image middle and lower part. Normally, the license plate in a vehicle image is a rectangle, but the license plate area may be deformed into a parallelogram due to various reasons when the vehicle image is captured.
12.水平雷登变换:在水平方向进行雷登变换,雷登变换是一种几何变换,它可以用来探测图像中的直线,在一定的水平角度范围内进行雷登变换,然后利用变换结果即可探测出图像中水平方向的直线,此处专指用来探测粗切割出来的车牌图像中的上下边框。定义水平方向为0度,则在-5度到5度的范围内每隔1度对粗切割出来的车牌进行雷登变换,变换后将得到11条雷登变换曲线。12. Horizontal Raiden transform: Raiden transform is performed in the horizontal direction. Raiden transform is a geometric transformation that can be used to detect straight lines in an image, perform Raiden transform within a certain horizontal angle range, and then use the transformation result The straight line in the horizontal direction in the image can be detected, and here it is specifically used to detect the upper and lower borders in the rough-cut license plate image. If the horizontal direction is defined as 0 degrees, the rough-cut license plate is subjected to Wright transformation every 1 degree within the range of -5 degrees to 5 degrees, and 11 Wright transformation curves will be obtained after the transformation.
13.垂直雷登变换:在垂直方向上进行雷登变换,此处专指用其来探测车牌图像中的左右边框,定义垂直方向为90度,在85度到95度的范围内每隔1度对已经删除上下边框的车牌进行雷登变换,变换后得到11条雷登变换曲线。13. Vertical Raiden transform: Carry out Raiden transform in the vertical direction. Here it is used to detect the left and right borders in the license plate image. The vertical direction is defined as 90 degrees, and every 1 in the range of 85 degrees to 95 degrees Carry out Wright transformation on the license plate whose upper and lower borders have been deleted, and obtain 11 Wright transformation curves after transformation.
14.线状波峰:形状呈现为一条线或宽度很窄的波峰,此处专指在车牌的水平和垂直雷登变换中的线状波峰,它对应于车牌图像中的一条直线。14. Linear crest: the shape is a line or a very narrow crest, here specifically refers to the linear crest in the horizontal and vertical Radon transformation of the license plate, which corresponds to a straight line in the license plate image.
15.灰度翻转:对灰度图进行的变换,用255减去每一个灰度值即可,黑转化为白,白转化为黑。15. Grayscale flip: For the transformation of the grayscale image, subtract each grayscale value from 255, convert black to white, and white to black.
本发明提供的一种新的基于小波分析和雷登变换的车牌提取方法,它包含下列步骤:A kind of new license plate extracting method based on wavelet analysis and Wright transform provided by the invention, it comprises the following steps:
步骤1.将摄像装置安装于公路路口,收费站或者停车场的适当位置,在车辆进入摄像范围内后进行图像采集,得到含有车牌图像的原始图像;
步骤2对步骤1中所得到的车辆原始图像进行灰度判断,若所拍摄到的车辆原始图像为灰度图图像,则不进行处理;若所拍摄到的车辆原始图像为真彩色图像,则对车辆原始图像进行灰度转换,得到一幅包含车牌的灰度图像;具体方法为采用公式f(i,j)=0.114*I(i,j,1)+0.587*I(i,j,2)+0.299*I(i,j,3)进行转换,其中i表示图像的行位置,j表示图像的列位置,f(i,j)表示转换后的灰度图像中第i行第j列的象素的灰度值,*是乘法运算符号,I(i,j,1),I(i,j,2)和I(i,j,3)分别表示彩色图像中第i行第j列的象素的R,G,B分量的值;Step 2: Carry out grayscale judgment on the original image of the vehicle obtained in
步骤3.对步骤2中所得到的灰度图像进行垂直梯度计算,得到一个包含有车牌的车辆灰度图像的垂直灰度梯度图;具体方法为采用公式
gV(i,j)=|f(i,j+1)-f(i,j)|进行垂直梯度计算,其中i表示图像的行坐标值,j表示图像的列坐标值,f(i,j)表示第i行第j列的象素的灰度值,f(i,j+1)表示第i行第j+1列的象素的灰度值,gV(i,j)表示第i行第j列的的垂直梯度值;g V (i, j)=|f(i, j+1)-f(i, j)| for vertical gradient calculation, where i represents the row coordinate value of the image, j represents the column coordinate value of the image, f(i , j) represents the gray value of the pixel in row i, column j, f(i, j+1) represents the gray value of the pixel in row i, column j+1, g V (i, j) Indicates the vertical gradient value of row i and column j;
步骤4.对步骤3中所得到的垂直灰度梯度图进行梯度水平投影,得到一个粗糙的梯度水平投影曲线;梯度水平投影的计算公式为
步骤5对步骤4中所得到的粗糙的梯度水平投影曲线进行高斯滤波,得到一个平滑的梯度水平投影曲线;滤波方法为采用公式
步骤6对步骤5中所得到的平滑的梯度水平投影曲线进行小波变换,得到一个小波变换曲线;小波变换方法为:首先,构造一个高斯函数
步骤7.对步骤6中所得到的小波变换曲线进行归一化处理,从而得到一条曲线值位于-1到0之间的曲线;具体方法为,首先,取得小波变换曲线最大值max和最小值min;然后,利用公式
步骤8.对步骤7中所得到的小波变换曲线进行梯度水平投影曲线扫描,得到两个较小的波谷值在小波变换曲线中的位置坐标;具体方法为:从曲线的起点寻找波谷,同时记录下小的波谷值的位置坐标,如此搜寻直到曲线的终点;Step 8. Carry out gradient horizontal projection curve scanning to the wavelet transform curve obtained in step 7, obtain the positional coordinates of two smaller valley values in the wavelet transform curve; Concrete method is: find valley from the starting point of curve, record simultaneously The position coordinates of the lower trough value, so search until the end of the curve;
步骤9.利用步骤8中所得到的波谷位置坐标进行车牌粗定位运算,得到一个或两个车牌候选区域在包含有车牌的车辆图像中的位置坐标;具体方法为:根据步骤8提供的曲线的较小的波谷值的位置坐标来搜索和此述的波谷紧邻的左右两个波峰的位置坐标,左边波峰的位置坐标对应的是车牌在包含有车牌的车辆图像矩阵中的上边界的横坐标,此处用top_boundary来表示车牌的上边界位置的横坐标,右边波峰的位置坐标对应的是车牌在包含有车牌的车辆图像中的下边界的横坐标,此处用bot_boundary来表示车牌的下边界位置的横坐标;Step 9. Utilize the valley position coordinates obtained in step 8 to carry out the rough positioning operation of the license plate, and obtain the position coordinates of one or two license plate candidate areas in the vehicle image containing the license plate; the specific method is: according to the curve provided in step 8 The position coordinates of the smaller trough value are used to search for the position coordinates of the left and right peaks adjacent to the above-mentioned trough, and the position coordinates of the left peak correspond to the abscissa of the upper boundary of the license plate in the vehicle image matrix containing the license plate. Here, top_boundary is used to indicate the abscissa of the upper boundary position of the license plate, and the position coordinate of the peak on the right corresponds to the abscissa of the lower boundary of the license plate in the vehicle image containing the license plate. Here, bot_boundary is used to indicate the lower boundary position of the license plate the abscissa;
步骤10利用步骤9中所得到的位置信息进行车牌粗切割处理,得到一个或两个车牌候选区域;具体方法为,首先,定义元素均为零的矩阵mask,mask的行数和列数分别与包含有车牌的车辆灰度图像矩阵的行数和列数一致;其次,把矩阵mask中位于第top_boundary行和bot_boundary行间的所有的列的元素全部置为1,其中top_boundary表示车牌在包含有车牌的车辆灰度图像中的上边界的横坐标值,bot_boundary表示车牌在车辆图像中的下边界的横坐标值;然后,把矩阵mask和车辆灰度图像矩阵中的具有相同坐标值的元素相乘,相乘后,车辆灰度图像矩阵中非车牌候选区域内的元素均为零,车牌候选区域内的元素值保持不变;最后,定义元素均为零的矩阵I_cut,矩阵I_cut的行数为bot_boundary-top_boundary,列数和车辆灰度图像矩阵的列数相等,把矩阵mask和车辆灰度图像矩阵相乘的结果矩阵中的非零元素赋给I_cut,矩阵I_cut就表示车牌候选区域;Step 10 uses the position information obtained in step 9 to carry out rough cutting of the license plate to obtain one or two license plate candidate areas; the specific method is, at first, define a matrix mask whose elements are all zero, and the number of rows and columns of the mask are respectively equal to The number of rows and columns of the vehicle grayscale image matrix containing the license plate is the same; secondly, all the elements of the columns between the top_boundary row and the bot_boundary row in the matrix mask are set to 1, where top_boundary indicates that the license plate contains The abscissa value of the upper boundary in the vehicle grayscale image of the license plate, bot_boundary represents the abscissa value of the lower boundary of the license plate in the vehicle image; then, compare the matrix mask with the elements with the same coordinate value in the vehicle grayscale image matrix After multiplication, the elements in the non-license plate candidate area in the vehicle grayscale image matrix are all zero, and the element values in the license plate candidate area remain unchanged; finally, define the matrix I_cut whose elements are all zero, and the number of rows of the matrix I_cut It is bot_boundary-top_boundary, the number of columns is equal to the number of columns of the vehicle grayscale image matrix, and the non-zero elements in the result matrix of multiplying the matrix mask and the vehicle grayscale image matrix are assigned to I_cut, and the matrix I_cut represents the license plate candidate area;
步骤11.对步骤10中所得到的车牌候选区域进行水平雷登变换,得到11条雷登变换曲线;具体处理为:定义水平方向为0度,在-5度到5度的范围内每隔1度对粗切割出来的车牌进行雷登变换,变换后将得到11条雷登变换曲线;Step 11. Carry out horizontal Radon transformation to the license plate candidate area obtained in step 10, obtain 11 Radon transformation curves; Concrete processing is: define the horizontal direction as 0 degree, within the scope of -5 degree to 5 degrees, every 1 degree performs Wrighten transformation on the rough-cut license plate, and 11 Wrighten transformation curves will be obtained after transformation;
步骤12利用步骤11中的11条雷登变换曲线的宽度值确定出车牌的上下边框在车牌图像中的坐标值;具体方法为:比较步骤12中所得到11条雷登变换曲线的宽度,宽度最小的雷登变换曲线所对应的变换角度就是车牌的倾斜角度记为R_hdegree,此时雷登变换曲线上的第一个波峰值大于一定值的线状波峰的坐标值对应于车牌上边框在车牌图像中的横坐标记为R_top,雷登变换曲线上的最后一个波峰值大于一定值的线状波峰的坐标值对应于车牌下边框在车牌图像中的纵坐标并记为R_bot;Step 12 utilizes the width values of 11 Raiden transformation curves in step 11 to determine the coordinate values of the upper and lower borders of the license plate in the license plate image; the specific method is: compare the widths and widths of 11 Raiden transformation curves obtained in step 12 The transformation angle corresponding to the smallest Raiden transformation curve is the inclination angle of the license plate, which is recorded as R_hdegree. At this time, the coordinate value of the first wave peak on the Raiden transformation curve is greater than a certain value, and the coordinate value of the linear peak corresponds to the upper frame of the license plate in the license plate The abscissa in the image is marked as R_top, and the coordinate value of the last peak value of the linear peak greater than a certain value on the Raiden transformation curve corresponds to the vertical coordinate of the lower frame of the license plate in the license plate image and is recorded as R_bot;
步骤13利用步骤12中得到的车牌倾斜角度和上下边框的坐标信息,校正车牌并删除车牌的上下边框;具体处理为:首先,校正车牌,若车牌的倾斜角度R_hdegree不为零,则认为车牌是倾斜的,把车牌图像旋转-R_hdegree从而校正车牌;然后定义一个元素均为零的矩阵R_hmask,该矩阵的总列数和总行数分别等于矩阵I_cut的总列数和总行数,把矩阵R_hmask位于R_top和R_bot之间的元素置为1,把矩阵R_hmask和矩阵I_cut中具有相同坐标值的元素相乘得到一个相乘结果矩阵R_htbmask;最后,定义一个元素均为零的矩阵R_hcut,该矩阵的总行数为R_bot-R_top,总列数和矩阵R_htbmask的总列数相同,把矩阵R_htbmask中的非零元素赋给矩阵R_hcut,矩阵R_hcut就是已经删除车牌上下边框的车牌图像对应的图像矩阵;Step 13 uses the license plate inclination angle and the coordinate information of the upper and lower borders obtained in step 12 to correct the license plate and delete the upper and lower borders of the license plate; the specific processing is: first, correct the license plate, if the inclination angle R_hdegree of the license plate is not zero, then the license plate is considered to be Slanted, rotate the license plate image -R_hdegree to correct the license plate; then define a matrix R_hmask with zero elements, the total number of columns and the total number of rows of the matrix are respectively equal to the total number of columns and the total number of rows of the matrix I_cut, and the matrix R_hmask is located at R_top The elements between R_bot and R_bot are set to 1, and the elements with the same coordinate values in the matrix R_hmask and the matrix I_cut are multiplied to obtain a multiplication result matrix R_htbmask; finally, a matrix R_hcut with zero elements is defined, and the total number of rows of the matrix For R_bot-R_top, the total number of columns is the same as the total number of columns of the matrix R_htbmask, assign the non-zero elements in the matrix R_htbmask to the matrix R_hcut, and the matrix R_hcut is the image matrix corresponding to the license plate image whose upper and lower borders of the license plate have been deleted;
步骤14.对步骤13中所得到的已经删除了车牌上下边框的图像矩阵进行垂直雷登变换,得到11条雷登变换曲线;具体处理为:定义垂直方向为90度,在85度到95度的范围内每隔1度对已经删除上下边框的车牌进行雷登变换,变换后得到11条雷登变换曲线;Step 14. Carry out vertical Raiden transformation to the image matrix obtained in step 13, which has deleted the upper and lower borders of the license plate, to obtain 11 Raiden transformation curves; the specific processing is: define the vertical direction as 90 degrees, at 85 degrees to 95 degrees Within the range of , Wrighten transform is performed on the license plate whose upper and lower borders have been deleted every 1 degree, and 11 Wrighten transformation curves are obtained after the transformation;
步骤15利用步骤14中所得到11条雷登变换曲线的波峰值,确定出车牌的左右边框,具体方法为:首先,找出宽度最小的一条雷登变换曲线;然后在此曲线上从左往右搜索一个波峰值大于一定值的线状波峰,此波峰的坐标值就是已经删除了车牌上下边框的车牌的左边框在该车牌图像矩阵中的纵坐标记为R_left,再从右往左搜索一个波峰值大于一定值的线状波峰,此波峰的坐标值就是已经删除了车牌上下边框的右边框在该车牌图像矩阵中的纵坐标记为R_right;Step 15 utilizes the peak values of the 11 Raiden transformation curves obtained in step 14 to determine the left and right borders of the license plate. The specific method is: first, find a Raiden transformation curve with the smallest width; Right search for a linear peak with a peak value greater than a certain value. The coordinate value of this peak is the vertical coordinate of the left frame of the license plate whose upper and lower borders have been deleted in the license plate image matrix. R_left, and then search for a A linear peak with a peak value greater than a certain value, the coordinate value of this peak is the vertical coordinate of the right border of the license plate image matrix in which the upper and lower borders of the license plate have been deleted is marked as R_right;
步骤16利用步骤15中所得到的已经删除了上下边框的车牌的左右边框的坐标值,删除车牌的左右边框;具体方法为,首先,定义一个元素均为零的矩阵R_vmask,其总行数和总列数分别和矩阵R_hcut的总行数和总列数相等,把矩阵R_vmask位于第R_left列和R_right列内的元素置为1;然后把矩阵R_vmask和矩阵R_hcut中具有相同坐标值的元素相乘得到一个结果矩阵R_vlrmask;最后定义一个元素均为零的矩阵R_vcut,该矩阵的总列数为R_right-R_left,总行数和矩阵R_vlrmask的总行数相等,把矩阵R_vlrmask中的非零元素赋给R_vcut,矩阵R_vcut就是删除了上下左右四个边框的车牌图像矩阵;Step 16 utilizes the coordinate values of the left and right borders of the license plate that has deleted the upper and lower borders obtained in step 15 to delete the left and right borders of the license plate; the specific method is, at first, define a matrix R_vmask whose elements are zero, its total row number and total The number of columns is equal to the total number of rows and columns of the matrix R_hcut, and the elements of the matrix R_vmask located in the R_left column and the R_right column are set to 1; The result matrix R_vlrmask; finally define a matrix R_vcut whose elements are all zero, the total number of columns of the matrix is R_right-R_left, the total number of rows is equal to the total number of rows of the matrix R_vlrmask, and the non-zero elements in the matrix R_vlrmask are assigned to R_vcut, the matrix R_vcut It is to delete the license plate image matrix of the four borders of the upper, lower, left, and right sides;
步骤17.对步骤16中所得到的准确的车牌图像进行车牌颜色归一化处理,得到一个包含有可识别号码的具有黑色背景和白色号码的车牌图像;具体方法为,首先,统计车牌区域内的白色像素数和黑色象素数;其次比较黑色象素数和白色像素数,如果白色象素数为多数,则进行灰度翻转;Step 17. Carry out the license plate color normalization process to the accurate license plate image obtained in step 16, obtain a license plate image with a black background and a white number that contains a recognizable number; The number of white pixels and the number of black pixels; secondly, compare the number of black pixels and the number of white pixels, if the number of white pixels is the majority, then perform grayscale flipping;
通过以上步骤,我们就从含有车牌的原始图像中提取出了车牌图像。Through the above steps, we have extracted the license plate image from the original image containing the license plate.
需要说明的是:It should be noted:
1.步骤3中的垂直梯度计算是因为车牌区域内的象素值要比非车牌区域的像素值变化快且集中,而且更明显的集中在垂直梯度方面。1. The vertical gradient calculation in
2.步骤4中的梯度水平投影是因为车牌区域一定位于具有相当高的梯度密度值的小区域内,所以我们首先进行梯度水平投影从而定位车牌的水平候选区域。2. The gradient horizontal projection in
3.步骤6中进行小波变换后,梯度水平投影曲线的值将全部变为负值,故曲线上原来的波峰经过小波变换后则变成了波谷,而曲线上原来的波谷经过小波变换后则变成了波峰,所以在搜索波峰波谷的时搜索小波变换后的曲线的波谷就相当于搜索小波变换前的曲线的波峰,类似的,搜索小波变换后的曲线的波峰就相当于搜索小波变换前的曲线的波谷。另外,在进行小波变换前的梯度水平投影曲线已经过一次高斯滤波处理了,此时的曲线已经比较光滑了,但经过小波变换后的梯度水平投影曲线更加光滑且去除掉了一些变换前曲线的虚假波峰波谷从而更加有利于后续的车牌定位处理,这也是采用小波变换的优势另一个优点。3. After performing wavelet transformation in step 6, the values of the gradient horizontal projection curve will all become negative values, so the original peak on the curve becomes a valley after wavelet transformation, and the original valley on the curve after wavelet transformation becomes It becomes a peak, so when searching for peaks and valleys, searching for the trough of the curve after wavelet transformation is equivalent to searching for the peak of the curve before wavelet transformation. Similarly, searching for the peak of the curve after wavelet transformation is equivalent to searching for the peak of the curve before wavelet transformation trough of the curve. In addition, the gradient horizontal projection curve before wavelet transformation has been processed by a Gaussian filter, and the curve at this time is relatively smooth, but the gradient horizontal projection curve after wavelet transformation is smoother and removes some of the curve before transformation. False peaks and valleys are more conducive to the subsequent license plate location processing, which is another advantage of using wavelet transform.
4.步骤8中搜索波谷的时候并不是所有满足波谷条件的波谷均采纳,只把那些波谷值小于一定值且波谷宽度满足一定值范围时才认为是波谷,波谷所小于的一定值和波谷宽度所满足的一定值范围均为实验所得的经验值。在搜索中,只取波谷值最小的波谷和波谷值次小的波谷值,通常情况下波谷值最小的波谷对应的就是车牌区域,但有时候由于车辆图像背景中的强干扰而造成最小波谷值对应的区域并非车牌区域,而变成波谷值次小值的波谷对应的区域才是车牌区域,但若提取过多的波谷位置将会引入在后续的车牌切割处理中较多的车牌候选区域,加大处理难度,经过实验总结可知取波谷值最小的两个波谷是合理的。4. When searching for troughs in step 8, not all troughs that meet the trough conditions are adopted. Only those troughs whose value is less than a certain value and whose width satisfies a certain value range are considered to be troughs. The certain value ranges that are satisfied are empirical values obtained from experiments. In the search, only the trough with the smallest trough value and the trough with the second smallest trough value are taken. Usually, the trough with the smallest trough value corresponds to the license plate area, but sometimes the smallest trough value is caused by strong interference in the background of the vehicle image The corresponding area is not the license plate area, but the area corresponding to the trough that becomes the second smallest value of the trough value is the license plate area, but if too many trough positions are extracted, more license plate candidate areas will be introduced in the subsequent license plate cutting process. To increase the difficulty of processing, it is reasonable to choose the two troughs with the smallest trough value through the summary of experiments.
5.步骤9中车牌粗定位运算中,在搜索与满足条件的波谷紧邻的左右两个波峰时只把那些满足一定值范围的波峰才认为是真波峰,由于曲线上的小起伏从而导致了假波峰的存在,真波峰所满足的一定值范围是通过实验得到的经验值。此外,粗定位运算中所得到的是车牌在包含有车牌的车辆图像中粗略位置,由于该步骤中是车牌的粗定位运算,故而有可能出现一个或两个车牌候选区域的位置坐标。5. In the rough location calculation of the license plate in step 9, when searching for the left and right peaks adjacent to the valley that satisfies the conditions, only those peaks that meet a certain value range are considered as true peaks, and the small fluctuations on the curve lead to false peaks. The existence of the wave peak and the certain value range that the true wave peak satisfies are empirical values obtained through experiments. In addition, what is obtained in the rough positioning operation is the rough position of the license plate in the vehicle image containing the license plate. Since this step is a rough positioning operation of the license plate, there may be one or two position coordinates of the license plate candidate area.
6.步骤12和15中线状波峰所大于的一定值是通过实验得到的经验值。6. The certain value greater than the linear peak in steps 12 and 15 is an empirical value obtained through experiments.
本发明首先对原始图像进行预处理,把真色彩图像转换为灰度图像;其次计算原始图像的垂直梯度并且根据垂直梯度的水平投影曲线的小波变换结果进行车牌粗定位,从而粗定位出一个或两个车牌候选区域。对粗定位出的车牌进行水平雷登变换,从而定位并删除车牌的上下边框,同时,如果车牌是倾斜的则加于校正;然后对已经删除了上下边框的车牌进行垂直雷登变换,从而定位并删除车牌的左右边框;最后对已经删除了四个边框的车牌区域进行颜色归一化处理,最终输出一幅只包含有可识别号码的车牌图像。本发明采用粗定位和精确定位相结合,在粗定位中采用小波变换的办法,在精确定位中采用雷登变换的办法,并在精确定位后进行亮度和颜色的归一化处理,最终得到了一个具有统一背景和号码颜色的包含有可识别号码的无车牌边框的车牌。采用本发明的车牌提取方法,可以在普通环境中都能够有效、快速、准确地提取车牌,为车牌字符的准确识别奠定基础。The present invention first preprocesses the original image, and converts the true color image into a grayscale image; secondly, calculates the vertical gradient of the original image and performs rough positioning of the license plate according to the wavelet transformation result of the horizontal projection curve of the vertical gradient, thereby roughly positioning a or Two license plate candidate regions. Carry out horizontal Raiden transformation on the roughly located license plate to locate and delete the upper and lower borders of the license plate. At the same time, if the license plate is tilted, it will be corrected; And delete the left and right borders of the license plate; finally, perform color normalization on the license plate area where the four borders have been deleted, and finally output a license plate image containing only recognizable numbers. The present invention adopts the combination of rough positioning and precise positioning, adopts the method of wavelet transform in the rough positioning, adopts the method of Wright transform in the precise positioning, and performs the normalization processing of brightness and color after the precise positioning, and finally obtains A license plate with a recognizable number and no plate frame with a uniform background and number color. By adopting the license plate extraction method of the present invention, the license plate can be effectively, quickly and accurately extracted in ordinary environments, and the foundation is laid for accurate recognition of license plate characters.
本发明的创新之处在于:The innovation of the present invention is:
1.利用小波变换粗定位车牌,小波变换具有提取信号中的高频特性的特点,利用小波变换对经过一次高斯滤波后的梯度垂直投影曲线进行处理,可以在最大程度上提取出曲线上的波峰波谷且对曲线有一定的平滑功能,从而可以快速准确的粗定位出车牌区域。1. Use wavelet transform to roughly locate the license plate. Wavelet transform has the characteristics of extracting high-frequency characteristics in the signal. Using wavelet transform to process the gradient vertical projection curve after a Gaussian filter can extract the peak on the curve to the greatest extent. The trough has a certain smoothing function for the curve, so that the license plate area can be roughly positioned quickly and accurately.
2.利用雷登变换精确定位车牌,因为利用小波变换只能粗定位出车牌,由于噪声和背景的干扰粗定位出的车牌中还包含有车牌边框和一些周边非车牌区域,同时还由于某些原因可能会使得车牌发生倾斜,这将会使后续的字符分割和识别的难度加大,所以利用雷登变换来检测和删除车牌的边框并纠正车牌使之处于水平位置,最终得到的是一个只包含有可识别号码的车牌图像。2. Use the Wrighten transform to accurately locate the license plate, because the wavelet transform can only be used to roughly locate the license plate. Due to noise and background interference, the roughly located license plate also includes the license plate frame and some surrounding non-license plate areas. At the same time, due to some The reason may be that the license plate is tilted, which will make the subsequent character segmentation and recognition more difficult. Therefore, the Wright transform is used to detect and delete the frame of the license plate and correct the license plate so that it is in a horizontal position. The final result is a character only An image of a license plate containing a recognizable number.
3.提出了车牌粗定位和精确定位相结合的方法,以便提高方法的速度,满足车牌识别系统实时性的需要。首先利用原图像的垂直梯度图的垂直投影粗略提取出至多两个车牌候选区域,然后再对这些候选区域应用雷登变换方法精确定位出车牌。3. A method combining coarse and precise license plate positioning is proposed in order to increase the speed of the method and meet the real-time requirements of the license plate recognition system. Firstly, at most two license plate candidate regions are roughly extracted by using the vertical projection of the vertical gradient map of the original image, and then the license plate is precisely located by applying the Wrighten transform method to these candidate regions.
附图说明 Description of drawings
图1是含有车牌的原始图像示意图;Figure 1 is a schematic diagram of the original image containing the license plate;
其中,标注1表示车辆的挡风玻璃,标注2表示车辆的引擎盖,标注3表示安装车灯,悬挂车牌和和保险杆的区域,标注4表示车牌,标注5表示轮子,在标注4所表示的车牌中,大写字母A,B,C,D,E,F和G分别代表车牌的第一个,第二个,第三个,第四个,第五个,第六个和第七个号码,其中第二个号码和第三个号码的间距要稍大些。Among them,
图2是本发明经过高斯滤波后的梯度垂直投影曲线;Fig. 2 is the gradient vertical projection curve after the Gaussian filter of the present invention;
其中,纵坐标上的数值表示经过高斯滤波和归一化后梯度垂直投影曲线的值,横坐标上的数值表示经过高斯滤波和归一化后的梯度垂直投影曲线的坐标值。Wherein, the value on the ordinate represents the value of the gradient vertical projection curve after Gaussian filtering and normalization, and the value on the abscissa represents the coordinate value of the gradient vertical projection curve after Gaussian filtering and normalization.
图3是本发明经过小波变换的梯度垂直投影曲线Fig. 3 is the gradient vertical projection curve of the present invention through wavelet transform
其中,纵坐标上的数值表示经过小波变换和归一化后梯度垂直投影曲线的值,横坐标上的数值表示经过小波变换和归一化后的梯度垂直投影曲线的坐标值。Wherein, the value on the ordinate represents the value of the gradient vertical projection curve after wavelet transformation and normalization, and the value on the abscissa represents the coordinate value of the gradient vertical projection curve after wavelet transformation and normalization.
图4是本发明最终得到的车牌图像示意图;Fig. 4 is the license plate image schematic diagram that the present invention finally obtains;
其中,A,B,C,D,E,F和G分别表示车牌的第一个,第二个,第三个,第四个,第五个,第六个和第七个号码。Among them, A, B, C, D, E, F and G represent the first, second, third, fourth, fifth, sixth and seventh numbers of the license plate respectively.
图5是本发明的流程示意图Fig. 5 is a schematic flow chart of the present invention
具体实施方式: Detailed ways:
采用本发明的方法,首先在高速公路的入口处,收费站和其他任何合适位置采用摄像装置自动拍摄车辆的原始图像;其次把拍摄到的车辆原始图像做为原数据输入到用Matlab语言编写的软件中进行自动处理,其间无需任何人工干预;最终得到一幅包含有可识别号码的车牌图像。共采用300张实地拍摄的彩色车辆图像做为原数据,粗定位出295张,定位准确率为98.33%,精确定位出285张,定位准确率为95%,定位一幅包含有可识别号码的车牌图像仅需40ms。Adopt method of the present invention, at first at the entrance of expressway, toll booth and other any suitable positions adopt the original image of photographing device to automatically photograph vehicle; Secondly, the original image of vehicle photographed is input to the program written in Matlab language as original data Automatic processing in the software without any manual intervention; finally a license plate image containing a recognizable number is obtained. A total of 300 color vehicle images taken on the spot were used as the original data, 295 of which were roughly positioned, with a positioning accuracy rate of 98.33%, and 285 were accurately positioned, with a positioning accuracy rate of 95%. The license plate image only takes 40ms.
综上所述,利用本发明的方法可以快速准确的从所提供的车辆原始图像中定位出包含有可识别号码的车牌图像。To sum up, the method of the present invention can quickly and accurately locate the license plate image containing the recognizable number from the provided original vehicle image.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510021651XA CN100414560C (en) | 2005-09-12 | 2005-09-12 | License Plate Extraction Method Based on Wavelet Transform and Wright Transform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510021651XA CN100414560C (en) | 2005-09-12 | 2005-09-12 | License Plate Extraction Method Based on Wavelet Transform and Wright Transform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1932837A CN1932837A (en) | 2007-03-21 |
CN100414560C true CN100414560C (en) | 2008-08-27 |
Family
ID=37878666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200510021651XA Expired - Fee Related CN100414560C (en) | 2005-09-12 | 2005-09-12 | License Plate Extraction Method Based on Wavelet Transform and Wright Transform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100414560C (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183425B (en) * | 2007-12-20 | 2010-06-09 | 四川川大智胜软件股份有限公司 | License plate positioning method in Guangdong and Hong Kong |
CN101334836B (en) * | 2008-07-30 | 2010-06-23 | 电子科技大学 | License plate positioning method incorporating color, size and texture characteristic |
CN101625795B (en) * | 2009-08-07 | 2011-02-09 | 张忠义 | Five value simplifying method for images |
CN101673338B (en) * | 2009-10-09 | 2011-11-16 | 南京树声科技有限公司 | Fuzzy license plate identification method based on multi-angle projection |
CN101931792A (en) * | 2010-08-04 | 2010-12-29 | 丁天 | Multi-plate number locating method in high definition video steaming |
CN103294997A (en) * | 2013-05-20 | 2013-09-11 | 北京康拓红外技术股份有限公司 | Train number identification method based on static images |
CN104966071B (en) * | 2015-07-03 | 2018-07-24 | 武汉烽火众智数字技术有限责任公司 | It is a kind of based on the night car plate detection of infrared light filling and recognition methods and device |
CN105335961B (en) * | 2015-07-28 | 2018-01-12 | 浙江洁弗环保科技有限公司 | A kind of filter bag pastes clamp method automatically |
CN106529535A (en) * | 2016-11-10 | 2017-03-22 | 南京富士通南大软件技术有限公司 | License plate positioning method in complex lighting environment based on wavelet transform |
CN108268866B (en) * | 2016-12-30 | 2020-07-10 | 纵目科技(上海)股份有限公司 | Vehicle detection method and system |
CN107169494B (en) * | 2017-06-01 | 2018-07-20 | 中国人民解放军国防科学技术大学 | License plate image based on handheld terminal divides bearing calibration |
CN109325755B (en) * | 2018-07-06 | 2021-08-17 | 嘉兴金旅燕科技有限公司 | Electronic billing system based on automobile hub |
CN110276772B (en) * | 2019-05-10 | 2022-10-18 | 深圳大学 | Automatic positioning method and system for structural elements in muscle tissue |
CN111063199B (en) * | 2019-12-19 | 2021-08-06 | 深圳市捷顺科技实业股份有限公司 | Method and device for associating vehicle with license plate and terminal equipment |
CN111488876B (en) * | 2020-06-28 | 2020-10-23 | 平安国际智慧城市科技股份有限公司 | License plate recognition method, device, equipment and medium based on artificial intelligence |
CN111862023A (en) * | 2020-07-14 | 2020-10-30 | 苏州华启智能科技有限公司 | Pantograph structure abnormity detection method based on computer vision |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6553131B1 (en) * | 1999-09-15 | 2003-04-22 | Siemens Corporate Research, Inc. | License plate recognition with an intelligent camera |
CN1529276A (en) * | 2003-10-17 | 2004-09-15 | 沈阳工业学院 | Device and method for automatically identifying registration number for motor vehicle |
-
2005
- 2005-09-12 CN CNB200510021651XA patent/CN100414560C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6553131B1 (en) * | 1999-09-15 | 2003-04-22 | Siemens Corporate Research, Inc. | License plate recognition with an intelligent camera |
CN1529276A (en) * | 2003-10-17 | 2004-09-15 | 沈阳工业学院 | Device and method for automatically identifying registration number for motor vehicle |
Non-Patent Citations (6)
Title |
---|
Robust License-Plate Recognition Method for Passing Vehicles Under Outside Environment. Takashi Naito, Toshihiko Tsukada, Keiichi Yamada, KazuhiroKozuka, and Shin Yamamoto.IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY,Vol.49 No.6. 2000 |
Robust License-Plate Recognition Method for Passing Vehicles Under Outside Environment. Takashi Naito, Toshihiko Tsukada, Keiichi Yamada, KazuhiroKozuka, and Shin Yamamoto.IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY,Vol.49 No.6. 2000 * |
复杂背景下彩色图像车牌提取与字符分割技术. 陈锻生,谢志鹏,刘政凯.小型微型计算机系统,第23卷第9期. 2002 |
复杂背景下彩色图像车牌提取与字符分割技术. 陈锻生,谢志鹏,刘政凯.小型微型计算机系统,第23卷第9期. 2002 * |
复杂背景下的车牌自动分割方法. 方敏,刘泓,梁朝军.微电子学与计算机,第21卷第7期. 2004 |
复杂背景下的车牌自动分割方法. 方敏,刘泓,梁朝军.微电子学与计算机,第21卷第7期. 2004 * |
Also Published As
Publication number | Publication date |
---|---|
CN1932837A (en) | 2007-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100545858C (en) | License plate extraction method in complex background based on wavelet transform | |
CN100414560C (en) | License Plate Extraction Method Based on Wavelet Transform and Wright Transform | |
CN110210451B (en) | A zebra crossing detection method | |
CN114898296B (en) | Bus lane occupation detection method based on millimeter wave radar and vision fusion | |
CN103136528B (en) | A kind of licence plate recognition method based on dual edge detection | |
CN104036262B (en) | A kind of method and system of LPR car plates screening identification | |
CN107067002A (en) | Road licence plate recognition method in a kind of dynamic video | |
CN100414561C (en) | A License Plate Extraction Method Based on Projection and Mathematical Morphology | |
Zhang et al. | Study on traffic sign recognition by optimized Lenet-5 algorithm | |
CN105005989B (en) | A kind of vehicle target dividing method under weak contrast | |
CN107895492A (en) | A kind of express highway intelligent analysis method based on conventional video | |
CN103324935B (en) | Vehicle is carried out the method and system of location and region segmentation by a kind of image | |
CN105678285A (en) | Adaptive road aerial view transformation method and road lane detection method | |
CN102855500A (en) | Haar and HoG characteristic based preceding car detection method | |
CN105426868A (en) | Lane detection method based on adaptive region of interest | |
CN103206957B (en) | The lane detection and tracking method of vehicular autonomous navigation | |
CN109726717A (en) | A vehicle comprehensive information detection system | |
CN109949593A (en) | A traffic signal recognition method and system based on prior knowledge of intersections | |
CN110321855A (en) | A kind of greasy weather detection prior-warning device | |
CN115376082B (en) | Lane line detection method integrating traditional feature extraction and deep neural network | |
CN103324958B (en) | A license plate location method based on projection method and SVM in complex background | |
CN109543613A (en) | Vehicle Speed and Vehicle License Plate Recognition System and method based on TOF imaging | |
CN111695565A (en) | Automobile mark accurate positioning method based on road barrier fuzzy image | |
Wei et al. | Detection of lane line based on Robert operator | |
CN110414425A (en) | A width adaptive lane line detection method and system based on vanishing point detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080827 Termination date: 20110912 |