CN103390161A - Method for performing binarization processing on license plate with local shadow area - Google Patents

Method for performing binarization processing on license plate with local shadow area Download PDF

Info

Publication number
CN103390161A
CN103390161A CN2013103099550A CN201310309955A CN103390161A CN 103390161 A CN103390161 A CN 103390161A CN 2013103099550 A CN2013103099550 A CN 2013103099550A CN 201310309955 A CN201310309955 A CN 201310309955A CN 103390161 A CN103390161 A CN 103390161A
Authority
CN
China
Prior art keywords
image
rectangular area
gray level
label
level image
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.)
Pending
Application number
CN2013103099550A
Other languages
Chinese (zh)
Inventor
胡传平
蔡烜
齐力
尚岩峰
侯茜颖
颜志国
吴晶
汤志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Third Research Institute of the Ministry of Public Security
Original Assignee
Third Research Institute of the Ministry of Public Security
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Third Research Institute of the Ministry of Public Security filed Critical Third Research Institute of the Ministry of Public Security
Priority to CN2013103099550A priority Critical patent/CN103390161A/en
Publication of CN103390161A publication Critical patent/CN103390161A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a method for performing binarization processing on a license plate with a local shadow area. The method comprises the steps as follows: firstly, a license plate image is subjected to graying processing, so that a gray level image is obtained; then the gray level image is subjected to rectangle division, so that a rectangular area assembly is obtained; luminance thresholds and binary images of all rectangular areas are calculated on the basis of margin statistical information of all the rectangular areas in the rectangular area assembly; and finally a binary image of the gray level image is calculated on the basis of a voting strategy. With the adoption of the structure, a binarization effect of the license plate with a shadow area can be remarkably improved, so that the license plate image is divided more reasonably, and the license plate recognition accuracy in a complex environment is increased; the license plate image with the local shadow area can be processed, and the method can be used for processing of images of other license plates with local shadow areas and has a wider application range.

Description

Carry out the method for binary conversion treatment for the label with local shadow region
Technical field
The present invention relates to image processing field, relate in particular to the binary conversion treatment field of image, specifically refer to a kind of method of carrying out binary conversion treatment for the label with local shadow region.
Background technology
Along with the continuous increase of China's automobile quantity and the develop rapidly of highway construction, the task of traffic administration is increasingly heavy, utilize computing machine and the information processing technology realize the robotization of traffic system and intelligent management particularly important.Wherein, license plate recognition technology is one of research topic in the intelligent transportation system field, and it also has wide market outlook and economic worth simultaneously for providing the wisdom urban construction that important technical support is provided.
The related research direction of license plate recognition technology is more, mainly contains Digital Image Processing, computer vision, pattern-recognition etc.The task of car plate identification is to process, analyze in the video flowing of picked-up with the image of information of vehicles, successively passes through the digital picture pre-service, locates and be partitioned into license plate area, automatically identifies the character on vehicle license.
From early 1990s, external researchist has just started the research to license plate identification.The See/Car System series of Israel Hi-Tech company, the VLPRS series of Singapore Optasia company is all the product of comparative maturity, wherein the VLPRS product mainly is fit to the car plate of Singapore, and the See/Car System of Hi-Tech company has the product of various deformation to adapt to respectively the car plate of some countries.The domestic research that has also started car plate identification in the nineties: the product of comparative maturity has " Han Wang Eye numberplate recognizing system " of Chinese princes and dukes department of automation research institute of the Chinese Academy of Sciences at present, also there is the product of oneself in Asia vision Science and Technology Ltd., Shenzhen Electronics Co., Ltd. of Jitong, the subordinate's of China's Ministry of Information Industry middle intelligence Jiaotong Electronics Co., Ltd etc., and the image of Xi'an Communications University is processed in addition and the Department of Automation of the computer science of Study of recognition chamber, Shanghai Communications University and engineering department, artificial intelligence National Key Laboratory of Tsing-Hua University, Zhejiang University etc. also done similarly and studied.Vehicle License Plate Recognition System has under lab obtained gratifying effect, but be difficult to be applied in Practical Project, this is because the environment in laboratory is in perfect condition, and in physical environment, due to the impact that is subject to the factors such as weather, discrimination is difficult to reach requirement, wherein because licence plate by stained or while being subject to outside shadow interference, OTSU license plate binary method commonly used has run into very large challenge.
When the car plate regional area during with shade, use traditional OTSU algorithm to process, the non-constant of binaryzation effect, because with the impact due to shade of the car plate of shadow region, after making the license plate image gray processing, the brightness of character is inconsistent, generally can not carry out binary conversion treatment based on a threshold value.
The license plate area binaryzation is directly connected to Character segmentation and the identification in car plate identification, therefore,, in order to improve the recognition efficiency of whole car plate identification, designs a kind of binarization method for car plate partial-band shade most important.
Summary of the invention
The objective of the invention is to overcome the shortcoming of above-mentioned prior art, provide a kind of can realize for the car plate with local shadow region carry out binary conversion treatment, improve the car plate recognition efficiency, easy to implement, have a broader applications scope carry out the method for binary conversion treatment for the label with local shadow region.
To achieve these goals, method of for the label with local shadow region, carrying out binary conversion treatment of the present invention has following formation:
Should carry out the method for binary conversion treatment for the label with local shadow region, its principal feature is that described method comprises the following steps:
(1) described label image is carried out gray processing and process, obtain gray level image;
(2) described gray level image is carried out rectangle and cut apart, obtain the rectangular area set;
(3) calculate luminance threshold and the bianry image of each rectangular area based on the edge statistics information of each rectangular area in the set of described rectangular area;
(4) calculate the bianry image of described gray level image based on temporal voting strategy.
Preferably, described step (1) is before, and is further comprising the steps of:
(0) described label detected and cuts apart, obtaining only comprising the label image of the rectangular shape of pending information.
Preferably, describedly described label image carried out gray processing process, obtain gray level image, comprise the following steps:
(11) judge whether described label image is coloured image, if so, continues step (12), if not, continues step (2);
(12) based on following formula, described label image is carried out gray processing and processes, obtain gray level image:
ImgGray=(R×299+G×587+B×114+500)/1000;
Wherein, ImgGray is the gray-scale value of the gray level image after processing, and R is the red color channel value of the label image before processing, and G is the green channel value of the label image before processing, and B is the blue channel value of the label image before processing.
Preferably, describedly described gray level image carried out rectangle cut apart, obtain the rectangular area set, comprise the following steps:
(21) suitable according to the quality Dynamic Selection of the described gray level image rectangle of cutting apart;
(22) use respectively four angle points of described gray level image and central point as initial point, described gray level image is carried out rectangle cut apart and obtain the rectangular area set.
Preferably, between described step (2) and step (3), further comprising the steps of:
(23) regular smoothing processing is carried out in each rectangular area in the rectangular area set of described gray level image.
Preferably, described edge statistics information based on each rectangular area in the set of described rectangular area is calculated luminance threshold and the bianry image of each rectangular area, comprises the following steps:
(31) brightness value of the both sides of edges of each rectangular area in statistics described rectangular area set;
(32) calculate the luminance threshold of each rectangular area in the set of described rectangular area;
(33) calculate the bianry image of each rectangular area in the combination of described rectangular area.
Preferably, the described bianry image that calculates described gray level image based on temporal voting strategy comprises the following steps:
(41) judge the brightness value of each location point of described gray level image based on temporal voting strategy;
(42) calculate the bianry image of described gray level image by combination.
Adopted and carried out the method for binary conversion treatment for the label with local shadow region in this invention, had following beneficial effect:
1, the present invention is a kind of digital image processing method, relates to an important integral link in license plate recognition technology.Use the method can significantly improve the binaryzation effect of band portion shadow region car plate, thereby make license plate image obtain more reasonably cutting apart, improve the accuracy rate of car plate identification under complex environment.
2, the range of application of binary processing method of the present invention not only is confined to car plate, and can comprise all has the label of shade or contamination by dust, has range of application widely.
Description of drawings
Fig. 1 is the process flow diagram that carries out the method for binary conversion treatment for the label with local shadow region of the present invention.
Fig. 2 is that method of for the label with local shadow region, carrying out binary conversion treatment of the present invention is applied to the process flow diagram that car plate is processed.
Fig. 3 is with the gray level image of the car plate of local shadow region in embodiments of the invention.
Fig. 4 is that in embodiments of the invention, the rectangle with the car plate of local shadow region is cut apart image.
Fig. 5 is with the bianry image of the car plate of local shadow region in embodiments of the invention.
Embodiment
, in order more clearly to describe technology contents of the present invention, below in conjunction with specific embodiment, conduct further description.
The objective of the invention is to propose a kind of for the binary processing method of car plate regional area with the shade situation.The new method that the present invention proposes comprises the partition strategy that car plate is carried out 5 directions, based on edge statistics information, calculates the threshold alpha i in binaryzation and calculates bianry image based on temporal voting strategy finally.
Method of the present invention is applied to have following steps with the method for the processing of the car plate of local shadow region:
Be illustrated in figure 1 as the process flow diagram that carries out the method for binary conversion treatment for the label with local shadow region of the present invention.
Be illustrated in figure 2 as method of for the label with local shadow region, carrying out binary conversion treatment of the present invention and be applied to the process flow diagram that car plate is processed.
In order to express easily, the image that uses the method to process is the rectangular area image I mgSource that only comprises car plate through car plate detects and partitioning algorithm splits from image.Namely before binary conversion treatment, need to proceed as follows car plate:
(0) described car plate detected and cuts apart, obtaining only comprising the license plate image ImgSource of the rectangular shape of pending information.
(1) calculate the gray level image ImgGray of described license plate image ImgSource.
Be illustrated in figure 3 as in embodiments of the invention the gray level image with the car plate of local shadow region.
If described license plate image ImgSource is coloured image, use following formula to carry out gray processing to this license plate image and process, obtain gray level image ImgGray:
ImgGray=(R×299+G×587+B×114+500)/1000;
Wherein, ImgGray is the gray-scale value of the gray level image after processing, R is the green channel value of the license plate image ImgSource before described processing for the red color channel value of the license plate image ImgSource before processing, G, and B is the blue channel value of the license plate image ImgSource before processing.
(2) described gray level image ImgGray is carried out rectangle and cut apart, obtain the rectangular area set.
Be illustrated in figure 4 as in embodiments of the invention with the rectangle of the car plate of local shadow region and cut apart image.
(21) according to the suitable rectangle Rect of quality Dynamic Selection of described gray level image ImgGray, it is wide is w, and height is h;
(22), respectively take four angle points of described gray level image ImgGray and central point as initial point, described gray level image ImgGray is carried out Rect cut apart and obtain a rectangular area S set;
(23) all rectangular areas in the S set of the described rectangular area of traversal, carrying out normalization process for each rectangular area Recti can be enough level and smooth.
(3) calculate luminance threshold and the bianry image of each rectangular area Recti based on the edge statistics information of each rectangular area Recti in the set of described rectangular area.
(31) use the Canny operator to calculate the brightness value at the edge of each rectangular area Recti in the set of described rectangular area;
(32), according to the brightness value of the both sides of edges of adding up, calculate the luminance threshold α i of each rectangular area Recti in the set of described rectangular area;
(33) calculate the bianry image Imgi of each rectangular area Recti in the set of described rectangular area.
(4), for each position (i, j) of image, according to temporal voting strategy, judge its brightness value, bianry image ImgBW is calculated in combination finally.
Be illustrated in figure 5 as in embodiments of the invention the bianry image with the car plate of local shadow region.
(41) judge the brightness value of each location point (i, j) of described gray level image based on temporal voting strategy;
(42) calculate the bianry image ImgBW of described gray level image by combination.
Adopted and carried out the method for binary conversion treatment for the label with local shadow region in this invention, had following beneficial effect:
1, the present invention is a kind of digital image processing method, relates to an important integral link in license plate recognition technology.Use the method can significantly improve the binaryzation effect of band portion shadow region car plate, thereby make license plate image obtain more reasonably cutting apart, improve the accuracy rate of car plate identification under complex environment.
2, the range of application of binary processing method of the present invention not only is confined to car plate, and can comprise all has the label of shade or contamination by dust, has range of application widely.
In this instructions, the present invention is described with reference to its specific embodiment.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, instructions and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (7)

1. a method of carrying out binary conversion treatment for the label with local shadow region, is characterized in that, described method comprises the following steps:
(1) described label image is carried out gray processing and process, obtain gray level image;
(2) described gray level image is carried out rectangle and cut apart, obtain the rectangular area set;
(3) calculate luminance threshold and the bianry image of each rectangular area based on the edge statistics information of each rectangular area in the set of described rectangular area;
(4) calculate the bianry image of described gray level image based on temporal voting strategy.
2. method of carrying out binary conversion treatment for the label with local shadow region according to claim 1, is characterized in that, described step (1) is before, and is further comprising the steps of:
(0) described label detected and cuts apart, obtaining only comprising the label image of the rectangular shape of pending information.
3. method of carrying out binary conversion treatment for the label with local shadow region according to claim 1, is characterized in that, describedly described label image is carried out gray processing processes, and obtains gray level image, comprises the following steps:
(11) judge whether described label image is coloured image, if so, continues step (12), if not, continues step (2);
(12) based on following formula, described label image is carried out gray processing and processes, obtain gray level image:
ImgGray=(R×299+G×587+B×114+500)/1000;
Wherein, ImgGray is the gray-scale value of the gray level image after processing, and R is the red color channel value of the label image before processing, and G is the green channel value of the label image before processing, and B is the blue channel value of the label image before processing.
4. method of carrying out binary conversion treatment for the label with local shadow region according to claim 1, is characterized in that, describedly described gray level image is carried out rectangle cuts apart, and obtains the rectangular area set, comprises the following steps:
(21) suitable according to the quality Dynamic Selection of the described gray level image rectangle of cutting apart;
(22) use respectively four angle points of described gray level image and central point as initial point, described gray level image is carried out rectangle cut apart and obtain the rectangular area set.
5. method of carrying out binary conversion treatment for the label with local shadow region according to claim 1, is characterized in that, and is between described step (2) and step (3), further comprising the steps of:
(23) regular smoothing processing is carried out in each rectangular area in the rectangular area set of described gray level image.
6. method of carrying out binary conversion treatment for the label with local shadow region according to claim 1, it is characterized in that, described edge statistics information based on each rectangular area in the set of described rectangular area is calculated luminance threshold and the bianry image of each rectangular area, comprises the following steps:
(31) brightness value of the both sides of edges of each rectangular area in statistics described rectangular area set;
(32) calculate the luminance threshold of each rectangular area in the set of described rectangular area;
(33) calculate the bianry image of each rectangular area in the combination of described rectangular area.
7. method of carrying out binary conversion treatment for the label with local shadow region according to claim 1, is characterized in that, the described bianry image that calculates described gray level image based on temporal voting strategy comprises the following steps:
(41) judge the brightness value of each location point of described gray level image based on temporal voting strategy;
(42) calculate the bianry image of described gray level image by combination.
CN2013103099550A 2013-07-22 2013-07-22 Method for performing binarization processing on license plate with local shadow area Pending CN103390161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103099550A CN103390161A (en) 2013-07-22 2013-07-22 Method for performing binarization processing on license plate with local shadow area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103099550A CN103390161A (en) 2013-07-22 2013-07-22 Method for performing binarization processing on license plate with local shadow area

Publications (1)

Publication Number Publication Date
CN103390161A true CN103390161A (en) 2013-11-13

Family

ID=49534428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103099550A Pending CN103390161A (en) 2013-07-22 2013-07-22 Method for performing binarization processing on license plate with local shadow area

Country Status (1)

Country Link
CN (1) CN103390161A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550684A (en) * 2015-12-14 2016-05-04 广东安居宝数码科技股份有限公司 Image-based license plate positioning method and system thereof
CN106815587A (en) * 2015-11-30 2017-06-09 浙江宇视科技有限公司 Image processing method and device
CN108205675A (en) * 2016-12-20 2018-06-26 浙江宇视科技有限公司 The processing method and equipment of a kind of license plate image
CN109508719A (en) * 2017-09-14 2019-03-22 精工爱普生株式会社 Image processing apparatus, bianry image generation method and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004042673A2 (en) * 2002-11-04 2004-05-21 Imperial Vision Ltd. Automatic, real time and complete identification of vehicles
CN102496020A (en) * 2011-10-31 2012-06-13 天津大学 Image binarization method based on accumulative edge point visual gray range histogram

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004042673A2 (en) * 2002-11-04 2004-05-21 Imperial Vision Ltd. Automatic, real time and complete identification of vehicles
CN102496020A (en) * 2011-10-31 2012-06-13 天津大学 Image binarization method based on accumulative edge point visual gray range histogram

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐泉等: "基于分块聚类的车牌图像二值化方法", 《计算机仿真》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815587A (en) * 2015-11-30 2017-06-09 浙江宇视科技有限公司 Image processing method and device
CN106815587B (en) * 2015-11-30 2019-10-18 浙江宇视科技有限公司 Image processing method and device
CN105550684A (en) * 2015-12-14 2016-05-04 广东安居宝数码科技股份有限公司 Image-based license plate positioning method and system thereof
CN105550684B (en) * 2015-12-14 2019-10-29 广东安居宝数码科技股份有限公司 License plate locating method and its system based on image
CN108205675A (en) * 2016-12-20 2018-06-26 浙江宇视科技有限公司 The processing method and equipment of a kind of license plate image
CN109508719A (en) * 2017-09-14 2019-03-22 精工爱普生株式会社 Image processing apparatus, bianry image generation method and storage medium
CN109508719B (en) * 2017-09-14 2023-04-07 精工爱普生株式会社 Image processing apparatus, binary image generation method, and storage medium

Similar Documents

Publication Publication Date Title
CN102043950B (en) Vehicle outline recognition method based on canny operator and marginal point statistic
CN104657727B (en) A kind of detection method of lane line
CN202084185U (en) Automatic traffic sign identification device
CN107808392B (en) Automatic tracking and positioning method and system for security check vehicle in open scene
CN104156983A (en) Public transport passenger flow statistical method based on video image processing
Guo et al. Image-based seat belt detection
CN107657225B (en) Pedestrian detection method based on aggregated channel characteristics
CN102938057B (en) A kind of method for eliminating vehicle shadow and device
CN103593981B (en) A kind of model recognizing method based on video
CN105354599A (en) Color recognition method based on improved SLIC super-pixel segmentation algorithm
CN102880863B (en) Method for positioning license number and face of driver on basis of deformable part model
CN104952256B (en) A kind of detection method of the intersection vehicle based on video information
CN102096821A (en) Number plate identification method under strong interference environment on basis of complex network theory
CN104732211B (en) A kind of method for traffic sign detection based on adaptive threshold
CN103390161A (en) Method for performing binarization processing on license plate with local shadow area
CN102902957A (en) Video-stream-based automatic license plate recognition method
CN106097368A (en) A kind of recognition methods in veneer crack
CN104616258A (en) Rapid defogging method for road image
CN102332157A (en) Method for eliminating shadow
CN103106409A (en) Composite character extraction method aiming at head shoulder detection
CN105488797A (en) License plate location method for HSV space
CN105701487A (en) Vehicle logo positioning method
CN104268589A (en) Front vehicle detection method
CN102509095A (en) Number plate image preprocessing method
CN102073872A (en) Image-based method for identifying shape of parasite egg

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131113