CN104732227A - Rapid license-plate positioning method based on definition and luminance evaluation - Google Patents
Rapid license-plate positioning method based on definition and luminance evaluation Download PDFInfo
- Publication number
- CN104732227A CN104732227A CN201510129964.0A CN201510129964A CN104732227A CN 104732227 A CN104732227 A CN 104732227A CN 201510129964 A CN201510129964 A CN 201510129964A CN 104732227 A CN104732227 A CN 104732227A
- Authority
- CN
- China
- Prior art keywords
- image
- sharpness
- area
- value
- template
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000011156 evaluation Methods 0.000 title claims abstract description 51
- 238000005286 illumination Methods 0.000 claims abstract description 17
- 238000001914 filtration Methods 0.000 claims abstract description 13
- 230000002159 abnormal effect Effects 0.000 claims abstract description 7
- 230000000877 morphologic effect Effects 0.000 claims abstract description 4
- 238000012216 screening Methods 0.000 claims abstract description 4
- 230000008569 process Effects 0.000 claims description 37
- 238000010606 normalization Methods 0.000 claims description 9
- 238000007689 inspection Methods 0.000 claims description 7
- 230000007797 corrosion Effects 0.000 claims description 6
- 238000005260 corrosion Methods 0.000 claims description 6
- 239000003550 marker Substances 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 4
- 230000007812 deficiency Effects 0.000 claims description 3
- 238000005530 etching Methods 0.000 claims description 3
- 239000000284 extract Substances 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 230000002708 enhancing effect Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 7
- 230000006870 function Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 3
- 238000004040 coloring Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
The invention discloses a rapid license-plate positioning method based on definition and luminance evaluation. The rapid license-plate positioning method includes the following steps: 1, carrying out definition evaluation based on noise and sharpness on an input image; 2, carrying out gradient sharpening processing if the definition is insufficient, and carrying out Gaussian fuzzy processing if the definition is excessively high; 3, converting the RGB image into a grey-scale image; 4, carrying out luminance evaluation on the grey-scale image; 5, carrying out illumination unification processing if the luminance is abnormal; 6, extracting the perpendicular edges in the image through a Scharr operator; 7, carrying out local self-adaption threshold processing; 8, filtering the noise through morphological processing, and fusing the perpendicular edges to form a communicated area; 9, carrying out area marking on the communicated area, carrying out screening according to the characteristics of Chinese license plates, and obtaining a license plate area.
Description
Technical field
The invention belongs to image processing field, particularly a kind of Location Method of Vehicle License Plate based on sharpness and luminance evaluation.
Background technology
In intelligent transportation system, the number-plate number recognition technology based on digital picture has become indispensable important component part and has been widely used in the fields such as monitoring, alarming, punishment on contravention of regulation, room entry/exit management and expressway tol lcollection management.License Plate, namely orients the position of car plate in image or video, and be the first step of number-plate number identification, its accuracy directly affects the effect of number-plate number identification, is also a step the most consuming time simultaneously.Therefore License Plate has critical role in intelligent transportation system.
Current license plate locating method is divided three classes:
1, based on the method for marginal information.The method is most widely used general, utilizes the more feature of car plate vertical edge to position.For simple scenario as room entry/exit management and charge station etc., there is good verification and measurement ratio and real-time, but for the scene of complexity as highway etc., because car plate is comparatively fuzzy and illumination is uncontrollable, cause the accuracy rate of License Plate low.
2, based on the method for colouring information.The method utilizes known car plate colouring information to assist the marginal information of car plate to position, can significantly raising accuracy rate for the single scene of light conditions, but retroaction can be caused such as night etc. in illumination most complex scenarios, and also higher for image resolution requirement, be only applicable to the Vehicle License Plate Recognition System in the few scene of reality.
3, based on the method for machine learning.The method by the car plate sample under the different scene of collection and for training the world model comprising different situation in sample, and then is generalized to the unknown situation in new images.For the sharpness of new images or brightness ideal close to effect during training sample, but when difference is larger, then accuracy rate is low and be difficult to ensure real-time.
In sum, based on the license plate locating method of marginal information because the advantages such as operand is little, processing speed is fast, required storage space is little are by generally application is with Real-time Vehicle License Plate automatic recognition system, but its shortcoming major embodiment is following 2 points: 1, can not make adjustment according to the concrete condition of input data; 2, under complex scene, accuracy rate is low, poor real.
Summary of the invention
Fundamental purpose of the present invention is that the shortcoming overcoming prior art is with not enough, a kind of Location Method of Vehicle License Plate based on sharpness and luminance evaluation is provided, the method efficiently solves car plate and is difficult to be accurately positioned under different sharpness and complex illumination environment or can not orientation problem, thus improves the accuracy rate of License Plate.
In order to arrive above-mentioned purpose, the present invention by the following technical solutions:
Based on a Location Method of Vehicle License Plate for sharpness and luminance evaluation, comprise the steps:
(1) intelligibility evaluation based on noise and acutance is carried out to input picture;
(2) carry out Grads Sharp process to the image of sharpness deficiency, the too high image of sharpness carries out Gaussian Blur process;
(3) by RGB figure, gray-scale map is converted to the image after step (2) process;
(4) luminance evaluation is carried out to gray-scale map, namely too high the or luminance shortage two kinds of situations of brightness are carried out to gray level image and assess;
(5) if brightness is abnormal, illumination normalization is carried out;
(6) by vertical edge in Scharr operator extraction image;
(7) local auto-adaptive threshold process is carried out;
(8) by Morphological scale-space filtered noise, and vertical edge is made to be fused into connected region;
(9) zone marker is carried out to connected region, carry out screening and obtaining license plate area according to the feature of Chinese car plate.
Preferably, in step (1), intelligibility evaluation is made up of noise evaluation and assess sharpness, after the noise evaluation value obtaining image and assess sharpness value, obtained the intelligibility evaluation value of image by certain weighted connections, the formula calculating intelligibility evaluation value is as follows:
Quality=wNoise+(1-w)Sharpness
Wherein, w is weighted value, and span between zero and one;
Described noise evaluation obtains binary map by first carrying out OTSU threshold process to image, then calculates area in connected region and be less than the accounting of given threshold value, obtain noise evaluation value finally by linear transformation.The formula of calculating noise assessed value is as follows:
Wherein, Comp
ii-th region, Area
ithe area in i-th region, T
areabe the given threshold value judging that whether area is too small, a and b is the parameter of linear transformation;
What described assess sharpness adopted is point sharpness method, gets 8 neighborhood points and subtracts each other with it, first ask the weighted sum of 8 differences to often of image, by have an income value to be added divided by the total number of pixel, the formula calculating assess sharpness value is as follows:
Wherein, a is a field pixel, m and n is the length of image and wide, and df is the change amplitude of gray scale, and dx is the distance increment between pixel.
Preferably, step (2) is specially:
(2-1) given two threshold value T
quality1and T
quality2, wherein T
quality1the threshold value judging that whether image definition is not enough, T
quality2it is the threshold value judging that whether image definition is too high;
(2-2) as Quality < T
quality1time Grads Sharp process is carried out to image, namely ask for image gradient information Grad by Laplace operator, be then added with former figure and obtain Grads Sharp result, the formula of Grads Sharp is as follows:
f(x,y)=f(x,y)+Grad(x,y)
Wherein, f (x, y) for former figure, Grad (x, y) be gradient information;
(2-3) as Quality > T
quality2time Gaussian Blur process is carried out to image, namely by using Gaussian function to calculate in the Fuzzy Template of normal distribution, and do convolution algorithm with former figure and obtain Gaussian Blur result, the formula of Gaussian function and Gaussian Blur is as follows:
f(x,y)=f(x,y)*Gauss(a,b)
Wherein, σ is the standard deviation of normal distribution, m and n is that template is long and wide, a and b is element in template, and f (x, y) is former figure.
Preferably, in step (3), the formula being turned gray-scale map by RGB figure is:
Gray(x,y)=0.299R(x,y)+0.587G(x,y)+0.114B(x,y);
Or Gray (x, y)=(38R (x, y)+75G (x, y)+15B (x, y)) > > 7;
Or
Wherein, R, G, B are the value of red, green, blue three Color Channels of pixel (x, y), and Gray is the gray-scale value of pixel (x, y) correspondence.
Preferably, in step (4), the method for gray scale being carried out to luminance evaluation is:
Calculate pixel value lower than threshold value T
bright1or higher than threshold value T
bright2pixel account for the ratio sum of all pixels, if be greater than given threshold value T
bright3then thinking, is that brightness is abnormal.
Preferably, in step (5), the method for illumination normalization is:
(5-1) first correct enhancing brightness of image with Gamma, Gamma updating formula is as follows:
g(x,y)=c[f(x,y)]γ
In formula, f (x, y) is input picture, and g (x, y) is output image, c be arbitrary value for adjusting picture contrast, γ between 0 ~ 1 for adjusting brightness of image;
(5-2) then carry out difference of Gaussian filtering and remove illumination high frequency components, i.e. uneven part, difference of Gaussian Filtering Formula is as follows:
g(x,y)=f(x,y)*Gauss(σ
2)-f(x,y)*Gauss(σ
1)
In formula, f (x, y) is input picture, and g (x, y) is output image, Gauss (σ
n) for variance be σ
nthe Gaussian function of (n=1,2);
(5-3) finally adopt contrast equalization to strengthen the contrast of image irradiation, thus at utmost retain the useful details of image and strengthen picture contrast while of reaching uneven in removal illumination, contrast equalization formula is as follows:
In formula, f (x, y) is input picture, g
n(x, y) (n=1,2,3) are output images, and α is the impact of compressibility index for reducing large pixel value, and τ amputates large pixel value in image after being used for first step normalization.
Preferably, in step (6), by the concrete grammar of vertical edge in Scharr operator extraction image be:
Scharr template is expressed as follows:
Adopt Grad again
xcarry out convolution to image and obtain its vertical edge, it is as follows that its vertical edge extracts formula:
f(x,y)=f(x,y)*Grad
x
Wherein, f (x, y) is former figure.
Preferably, in step (7), the concrete grammar carrying out local auto-adaptive threshold process is:
(7-1) image is divided into the zonule that m × n etc. is large;
(7-2) carry out OTSU process in each zonule, the two-dimensional matrix that all threshold values form is denoted as Mat_T
0;
(7-3) to all Mat_T
0the gaussian filtering carrying out 3 × 3 exports Mat_T
1, then according to Mat_T
1carry out the image binaryzation in each region.
Preferably, step (8) is specially:
(8-1) open operation by morphology and noise filtering is carried out to image, specifically first construct a m
1× n
1template, then image is first corroded to the operation of rear expansion;
(8-2) make vertical edge in image be fused into connected region by morphology closed operation, specifically first construct a m
2× n
2template, the operation of the post-etching that then image first expanded;
Wherein, the edge of object is corroded by corrosion, detailed process is to each pixel (x in image by template, y) following process is done: by pixel (x, y) be placed in the center of template, according to template size, go through all over all other pixels covered by template, the value of amendment pixel (x, y) is value minimum in all pixels.Expand then contrary with corrosion, the profile of object is expanded, detailed process is to each pixel (x in image by template, y) following process is done: by pixel (x, y) center of template is placed in, according to template size, go through all over all other pixels covered by template, in amendment template, the value of all pixels is value maximum in all pixels.
Preferably, step (9) is specially:
(9-1) zone marker is carried out to connected region, and calculate its minimum enclosed rectangle;
(9-2) according to length breadth ratio ASPECT and the size AREA of Chinese car plate, the deviation ratio e of a given length breadth ratio
1with the deviation ratio e of area
2, make the length breadth ratio aspect of the minimum enclosed rectangle of each connected region and area area carry out following inspection:
|aspect-ASPECT|≤e
1ASPECT
|area-AREA|≤e
2AREA
The connected region simultaneously meeting above-mentioned condition can carry out step (9-3), otherwise is non-license plate area;
(9-3) in general, the angle of inclination of the car plate in image is not too large, therefore the threshold value T at a given angle of inclination
angle, make the angle of inclination angle of each connected region by following inspection:
|angle-0|≤T
angle
If meet the connected region of above-mentioned condition, think license plate area, otherwise be non-license plate area.
Compared with prior art, tool has the following advantages and beneficial effect in the present invention:
1, the present invention Scharr operator replaces Sobel operator to carry out rim detection, can more adequately inspection vehicle board vertical edge and maintain same high-level efficiency.
2, the present invention introduces intelligibility evaluation module innovatively, and the input picture different to sharpness makes adaptive adjustment, is more conducive to subsequent treatment, the accuracy rate of the larger License Plate that improve under different sharpness.
3, the present invention introduces luminance evaluation module innovatively, makes illumination normalization, be more conducive to subsequent treatment to the input picture of brightness exception, the larger accuracy rate that improve License Plate under complex illumination environment.
Accompanying drawing explanation
Fig. 1 is the general flow chart of a kind of Location Method of Vehicle License Plate based on sharpness and luminance evaluation of the present invention.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment
As shown in Figure 1, a kind of Location Method of Vehicle License Plate based on sharpness and luminance evaluation of the present embodiment, specifically comprises the steps:
1, the intelligibility evaluation based on noise and acutance is carried out to input picture:
1. noise evaluation obtains binary map by first carrying out OTSU threshold process to image, then calculates area in connected region and be less than the accounting of given threshold value, obtain noise evaluation value finally by linear transformation.The formula of calculating noise assessed value is as follows:
Wherein, Comp
ii-th region, Area
ithe area in i-th region, T
areabe the given threshold value judging that whether area is too small, a and b is the parameter of linear transformation.
What 2. assess sharpness adopted is point sharpness method, gets 8 neighborhood points subtract each other with it often of image, and (size of power depends on distance, distance, then weights are little, and the difference needs as 45 ° and 135 ° directions are taken advantage of first to ask the weighted sum of 8 differences
), by have a some income value to be added divided by the total number of pixel.The formula calculating assess sharpness value is as follows:
Wherein, a is a field pixel, m and n is the length of image and wide, and df is the change amplitude of gray scale, and dx is the distance increment between pixel.
3. intelligibility evaluation is made up of noise evaluation and assess sharpness, after the noise evaluation value obtaining image and assess sharpness value, is obtained the intelligibility evaluation value of image by certain weighted connections.The formula calculating intelligibility evaluation value is as follows:
Quality=wNoise+(1-w)Sharpness
Wherein, w is weighted value, and span between zero and one.
2, carry out Grads Sharp process to the image of sharpness deficiency, the too high image of sharpness carries out Gaussian Blur process:
1. given two threshold value T
quality1and T
quality2, wherein T
quality1the threshold value judging that whether image definition is not enough, T
quality2it is the threshold value judging that whether image definition is too high.
2. as Quality < T
quality1time Grads Sharp process is carried out to image, namely ask for image gradient information Grad by Laplace operator, be then added with former figure and obtain Grads Sharp result, the formula of Grads Sharp is as follows:
f(x,y)=f(x,y)+Grad(x,y)
Wherein, f (x, y) for former figure, Grad (x, y) be gradient information.
3. as Quality > T
quality2time Gaussian Blur process is carried out to image, namely by using Gaussian function to calculate in the Fuzzy Template of normal distribution, and do convolution algorithm with former figure and obtain Gaussian Blur result, the formula of Gaussian function and Gaussian Blur is as follows:
f(x,y)=f(x,y)*Gauss(a,b)
Wherein, σ is the standard deviation of normal distribution, m and n is that template is long and wide, a and b is element in template, and f (x, y) is former figure.
3, be converted to gray-scale map by RGB figure, conversion formula is as follows:
Gray(x,y)=0.299R(x,y)+0.587G(x,y)+0.114B(x,y)
Gray(x,y)=(38R(x,y)+75G(x,y)+15B(x,y))>>7
Wherein, R, G, B are the value of red, green, blue three Color Channels of pixel (x, y), and Gray is the gray-scale value of pixel (x, y) correspondence.
4, luminance evaluation is carried out to gray-scale map:
Carry out the too high or luminance shortage two kinds of situations of brightness to gray level image to assess, specifically calculate pixel value lower than threshold value T
bright1or higher than threshold value T
bright2pixel account for the ratio sum of all pixels, if be greater than given threshold value T
bright3then thinking, is that brightness is abnormal.
If 5 brightness are abnormal, carry out illumination normalization:
1. first correct with Gamma and strengthen brightness of image, Gamma updating formula is as follows:
g(x,y)=c[f(x,y)]
γ
In formula, f (x, y) is input picture, and g (x, y) is output image, c be arbitrary value for adjusting picture contrast, γ between 0 ~ 1 for adjusting brightness of image;
2. then carry out difference of Gaussian filtering (DOG, Differnce of Gaussian) and remove illumination high frequency components, i.e. uneven part, DoG Filtering Formula is as follows:
g(x,y)=f(x,y)*Gauss(σ
2)-f(x,y)*Gauss(σ
1)
In formula, f (x, y) is input picture, and g (x, y) is output image, Gauss (σ
n) for variance be σ
nthe Gaussian function of (n=1,2);
3. finally adopt contrast equalization to strengthen the contrast of image irradiation, thus at utmost retain the useful details of image and strengthen picture contrast while of reaching uneven in removal illumination, contrast equalization formula is as follows:
In formula, f (x, y) is input picture, g
n(x, y) (n=1,2,3) are output images, and α is the impact of compressibility index for reducing large pixel value, and τ amputates large pixel value in image after being used for first step normalization;
6, by vertical edge in Scharr operator extraction image:
In order to extract image edge information, conventional has Sobel operator, but because Sobel operator calculates often accurately little on the convolution mask of 3 × 3, therefore the Sobel operator having to improve is called Scharr operator, its operation efficiency is equally fast with Sobel operator, but result is more accurate, and Scharr template is expressed as follows:
Because horizontal edge is generally harmful to without profit on the contrary for License Plate, only adopt Grad here
xcarry out convolution to image and obtain its vertical edge, it is as follows that its vertical edge extracts formula:
f(x,y)=f(x,y)*Grad
x
Wherein, f (x, y) is former figure.
7, local auto-adaptive threshold process is carried out:
1. image is divided into the zonule that m × n etc. is large;
2. carry out OTSU process in each zonule, the two-dimensional matrix that all threshold values form is denoted as Mat_T
0;
3. to all Mat_T
0the gaussian filtering carrying out 3 × 3 exports Mat_T
1, then according to Mat_T
1carry out the image binaryzation in each region;
8, by Morphological scale-space filtered noise, and vertical edge is made to be fused into connected region:
1. open operation by morphology and noise filtering is carried out to image, specifically first construct a m
1× n
1template, then image is first corroded to the operation of rear expansion;
2. make vertical edge in image be fused into connected region by morphology closed operation, specifically first construct a m
2× n
2template, the operation of the post-etching that then image first expanded;
Wherein, the edge of object is corroded by corrosion, detailed process is to each pixel (x in image by template, y) following process is done: by pixel (x, y) be placed in the center of template, according to template size, go through all over all other pixels covered by template, the value of amendment pixel (x, y) is value minimum in all pixels.Expand then contrary with corrosion, the profile of object is expanded, detailed process is to each pixel (x in image by template, y) following process is done: by pixel (x, y) center of template is placed in, according to template size, go through all over all other pixels covered by template, in amendment template, the value of all pixels is value maximum in all pixels.
9, zone marker is carried out to connected region, carries out screening and obtaining license plate area according to the feature of Chinese car plate:
1. zone marker is carried out to connected region, and calculate its minimum enclosed rectangle;
2. according to length breadth ratio ASPECT and the size AREA of Chinese car plate, the deviation ratio e of a given length breadth ratio
1with the deviation ratio e of area
2, make the length breadth ratio aspect of the minimum enclosed rectangle of each connected region and area area carry out following inspection:
|aspect-ASPECT|≤e
1ASPECT
|area-AREA|≤e
2AREA
3. the connected region simultaneously meeting above-mentioned condition can carry out step, otherwise is non-license plate area.
3. in general, the angle of inclination of the car plate in image is not too large, therefore the threshold value T at a given angle of inclination
angle, make the angle of inclination angle of each connected region by following inspection:
|angle-0|≤T
angle
If meet the connected region of above-mentioned condition, think license plate area, otherwise be non-license plate area.
Above-described embodiment is the present invention's preferably embodiment; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.
Claims (10)
1., based on a Location Method of Vehicle License Plate for sharpness and luminance evaluation, it is characterized in that, comprise the steps:
(1) intelligibility evaluation based on noise and acutance is carried out to input picture;
(2) carry out Grads Sharp process to the image of sharpness deficiency, the too high image of sharpness carries out Gaussian Blur process;
(3) by RGB figure, gray-scale map is converted to the image after step (2) process;
(4) luminance evaluation is carried out to gray-scale map, namely too high the or luminance shortage two kinds of situations of brightness are carried out to gray level image and assess;
(5) if brightness is abnormal, illumination normalization is carried out;
(6) by vertical edge in Scharr operator extraction image;
(7) local auto-adaptive threshold process is carried out;
(8) by Morphological scale-space filtered noise, and vertical edge is made to be fused into connected region;
(9) zone marker is carried out to connected region, carry out screening and obtaining license plate area according to the feature of Chinese car plate.
2. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, in step (1), intelligibility evaluation is made up of noise evaluation and assess sharpness, after the noise evaluation value obtaining image and assess sharpness value, obtained the intelligibility evaluation value of image by certain weighted connections, the formula calculating intelligibility evaluation value is as follows:
Quality=wNoise+(1-w)Sharpness
Wherein, w is weighted value, and span between zero and one;
Described noise evaluation obtains binary map by first carrying out OTSU threshold process to image, and then calculate area in connected region and be less than the accounting of given threshold value, obtain noise evaluation value finally by linear transformation, the formula of calculating noise assessed value is as follows:
Wherein, Comp
ii-th region, Area
ithe area in i-th region, T
areabe the given threshold value judging that whether area is too small, a and b is the parameter of linear transformation;
What described assess sharpness adopted is point sharpness method, gets 8 neighborhood points and subtracts each other with it, first ask the weighted sum of 8 differences to often of image, by have an income value to be added divided by the total number of pixel, the formula calculating assess sharpness value is as follows:
Wherein, a is a field pixel, m and n is the length of image and wide, and df is the change amplitude of gray scale, and dx is the distance increment between pixel.
3. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, step (2) is specially:
(2-1) given two threshold value T
quality1and T
quality2, wherein T
quality1the threshold value judging that whether image definition is not enough, T
quality2it is the threshold value judging that whether image definition is too high;
(2-2) as Quality < T
quality1time Grads Sharp process is carried out to image, namely ask for image gradient information Grad by Laplace operator, be then added with former figure and obtain Grads Sharp result, the formula of Grads Sharp is as follows:
f(x,y)=f(x,y)+Grad(x,y)
Wherein, f (x, y) for former figure, Grad (x, y) be gradient information;
(2-3) as Quality > T
quality2time Gaussian Blur process is carried out to image, namely by using Gaussian function to calculate in the Fuzzy Template of normal distribution, and do convolution algorithm with former figure and obtain Gaussian Blur result, the formula of Gaussian function and Gaussian Blur is as follows:
f(x,y)=f(x,y)*Gauss(a,b)
Wherein, σ is the standard deviation of normal distribution, m and n is that template is long and wide, a and b is element in template, and f (x, y) is former figure.
4. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, in step (3), the formula being turned gray-scale map by RGB figure is:
Gray(x,y)=0.299R(x,y)+0.587G(x,y)+0.114B(x,y);
Or Gray (x, y)=(38R (x, y)+75G (x, y)+15B (x, y)) >>7;
Or
Wherein, R, G, B are the value of red, green, blue three Color Channels of pixel (x, y), and Gray is the gray-scale value of pixel (x, y) correspondence.
5. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, in step (4), the method for gray scale being carried out to luminance evaluation is:
Calculate pixel value lower than threshold value T
bright1or higher than threshold value T
bright2pixel account for the ratio sum of all pixels, if be greater than given threshold value T
bright3then thinking, is that brightness is abnormal.
6. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, in step (5), the method for illumination normalization is:
(5-1) first correct enhancing brightness of image with Gamma, Gamma updating formula is as follows:
g(x,y)=c[f(x,y)]
γ
In formula, f (x, y) is input picture, and g (x, y) is output image, c be arbitrary value for adjusting picture contrast, γ between 0 ~ 1 for adjusting brightness of image;
(5-2) then carry out difference of Gaussian filtering and remove illumination high frequency components, i.e. uneven part, difference of Gaussian Filtering Formula is as follows:
g(x,y)=f(x,y)*Gauss(σ
2)-f(x,y)*Gauss(σ
1)
In formula, f (x, y) is input picture, and g (x, y) is output image, Gauss (σ
n) for variance be σ
nthe Gaussian function of (n=1,2);
(5-3) finally adopt contrast equalization to strengthen the contrast of image irradiation, thus at utmost retain the useful details of image and strengthen picture contrast while of reaching uneven in removal illumination, contrast equalization formula is as follows:
In formula, f (x, y) is input picture, g
n(x, y) (n=1,2,3) are output images, and α is the impact of compressibility index for reducing large pixel value, and τ amputates large pixel value in image after being used for first step normalization.
7. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, is characterized in that, in step (6), by the concrete grammar of vertical edge in Scharr operator extraction image be:
Scharr template is expressed as follows:
Adopt Grad again
xcarry out convolution to image and obtain its vertical edge, it is as follows that its vertical edge extracts formula:
f(x,y)=f(x,y)*Grad
x
Wherein, f (x, y) is former figure.
8. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, in step (7), the concrete grammar carrying out local auto-adaptive threshold process is:
(7-1) image is divided into the zonule that m × n etc. is large;
(7-2) carry out OTSU process in each zonule, the two-dimensional matrix that all threshold values form is denoted as Mat_T
0;
(7-3) to all Mat_T
0the gaussian filtering carrying out 3 × 3 exports Mat_T
1, then according to Mat_T
1carry out the image binaryzation in each region.
9. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, step (8) is specially:
(8-1) open operation by morphology and noise filtering is carried out to image, specifically first construct a m
1× n
1template, then image is first corroded to the operation of rear expansion;
(8-2) make vertical edge in image be fused into connected region by morphology closed operation, specifically first construct a m
2× n
2template, the operation of the post-etching that then image first expanded;
Wherein, the edge of object is corroded by corrosion, detailed process is to each pixel (x in image by template, y) following process is done: by pixel (x, y) center of template is placed in, according to template size, go through all over all other pixels covered by template, amendment pixel (x, y) value is value minimum in all pixels, expand then contrary with corrosion, the profile of object is expanded, detailed process is to each pixel (x in image by template, y) following process is done: by pixel (x, y) center of template is placed in, according to template size, go through all over all other pixels covered by template, in amendment template, the value of all pixels is value maximum in all pixels.
10. the Location Method of Vehicle License Plate based on sharpness and luminance evaluation according to claim 1, it is characterized in that, step (9) is specially:
(9-1) zone marker is carried out to connected region, and calculate its minimum enclosed rectangle;
(9-2) according to length breadth ratio ASPECT and the size AREA of Chinese car plate, the deviation ratio e of a given length breadth ratio
1with the deviation ratio e of area
2, make the length breadth ratio aspect of the minimum enclosed rectangle of each connected region and area area carry out following inspection:
|aspect-ASPECT|≤e
1ASPECT
|area-AREA|≤e
2AREA
The connected region simultaneously meeting above-mentioned condition can carry out step (9-3), otherwise is non-license plate area;
(9-3) the threshold value T at a given angle of inclination
angle, make the angle of inclination angle of each connected region by following inspection:
|angle-0|≤T
angle
If meet the connected region of above-mentioned condition, think license plate area, otherwise be non-license plate area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510129964.0A CN104732227B (en) | 2015-03-23 | 2015-03-23 | A kind of Location Method of Vehicle License Plate based on definition and luminance evaluation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510129964.0A CN104732227B (en) | 2015-03-23 | 2015-03-23 | A kind of Location Method of Vehicle License Plate based on definition and luminance evaluation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104732227A true CN104732227A (en) | 2015-06-24 |
CN104732227B CN104732227B (en) | 2017-12-26 |
Family
ID=53456102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510129964.0A Active CN104732227B (en) | 2015-03-23 | 2015-03-23 | A kind of Location Method of Vehicle License Plate based on definition and luminance evaluation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104732227B (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898174A (en) * | 2015-12-04 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Video resolution improving method and device |
CN107240092A (en) * | 2017-05-05 | 2017-10-10 | 浙江大华技术股份有限公司 | A kind of image blur detection method and device |
US20170300786A1 (en) * | 2015-10-01 | 2017-10-19 | Intelli-Vision | Methods and systems for accurately recognizing vehicle license plates |
CN108460766A (en) * | 2018-04-12 | 2018-08-28 | 四川和生视界医药技术开发有限公司 | A kind of retinal images intelligibility evaluation method and apparatus for evaluating |
CN108550158A (en) * | 2018-04-16 | 2018-09-18 | 深圳市华星光电技术有限公司 | Image edge processing method, electronic device and computer readable storage medium |
CN108710852A (en) * | 2018-05-21 | 2018-10-26 | 山东大学 | It is a kind of to limit the size distribution image recognition methods for shooting depth and system |
CN109394268A (en) * | 2018-12-07 | 2019-03-01 | 余姚市华耀工具科技有限公司 | Polyp extent of injury Mapping Platform |
CN109509229A (en) * | 2018-11-12 | 2019-03-22 | 凌云光技术集团有限责任公司 | A kind of template reconstructing device and method based on two-dimensional linear transformation |
CN109584198A (en) * | 2017-09-26 | 2019-04-05 | 浙江宇视科技有限公司 | A kind of quality of human face image evaluation method, device and computer readable storage medium |
CN110111261A (en) * | 2019-03-28 | 2019-08-09 | 福州瑞芯微电子股份有限公司 | Adaptive equalization processing method, electronic equipment and the computer readable storage medium of image |
CN110178019A (en) * | 2016-12-07 | 2019-08-27 | 奥博泰克有限公司 | Method and apparatus for judging defect quality |
CN110246227A (en) * | 2019-05-21 | 2019-09-17 | 佛山科学技术学院 | A kind of virtual reality fusion emulation experiment image data acquiring method and system |
CN110400261A (en) * | 2019-04-04 | 2019-11-01 | 桑尼环保(江苏)有限公司 | Adaptive environment clears up platform |
WO2019228087A1 (en) * | 2018-05-31 | 2019-12-05 | Ge Gaoli | Safety protection type electric heater |
CN110544229A (en) * | 2019-07-11 | 2019-12-06 | 华南理工大学 | Image focus evaluation and focusing method under non-uniform speed state of camera |
CN111027363A (en) * | 2019-04-28 | 2020-04-17 | 刘晓英 | Auxiliary signal parameter analysis system |
CN111353994A (en) * | 2020-03-30 | 2020-06-30 | 南京工程学院 | Image non-reference brightness quality detection method for target detection |
CN111611863A (en) * | 2020-04-22 | 2020-09-01 | 浙江大华技术股份有限公司 | License plate image quality evaluation method and device and computer equipment |
CN112258503A (en) * | 2020-11-13 | 2021-01-22 | 中国科学院深圳先进技术研究院 | Ultrasonic image imaging quality evaluation method and device and computer readable storage medium |
CN112863010A (en) * | 2020-12-29 | 2021-05-28 | 宁波友好智能安防科技有限公司 | Video image processing system of anti-theft lock |
CN113486895A (en) * | 2021-07-16 | 2021-10-08 | 浙江华是科技股份有限公司 | Ship board identification method and device and computer readable storage medium |
WO2022152107A1 (en) * | 2021-01-12 | 2022-07-21 | 深圳市普渡科技有限公司 | Infrared image quality evaluation method, device, and storage medium |
US11587327B2 (en) | 2015-10-01 | 2023-02-21 | Intellivision Technologies Corp | Methods and systems for accurately recognizing vehicle license plates |
CN117173416A (en) * | 2023-11-01 | 2023-12-05 | 山西阳光三极科技股份有限公司 | Railway freight train number image definition processing method based on image processing |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8331621B1 (en) * | 2001-10-17 | 2012-12-11 | United Toll Systems, Inc. | Vehicle image capture system |
CN103093229A (en) * | 2013-01-21 | 2013-05-08 | 信帧电子技术(北京)有限公司 | Positioning method and device of vehicle logo |
-
2015
- 2015-03-23 CN CN201510129964.0A patent/CN104732227B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8331621B1 (en) * | 2001-10-17 | 2012-12-11 | United Toll Systems, Inc. | Vehicle image capture system |
CN103093229A (en) * | 2013-01-21 | 2013-05-08 | 信帧电子技术(北京)有限公司 | Positioning method and device of vehicle logo |
Non-Patent Citations (1)
Title |
---|
刘攀: "复杂光照条件下的通用车牌定位系统的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (41)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170300786A1 (en) * | 2015-10-01 | 2017-10-19 | Intelli-Vision | Methods and systems for accurately recognizing vehicle license plates |
US10706330B2 (en) * | 2015-10-01 | 2020-07-07 | Intellivision Technologies Corp | Methods and systems for accurately recognizing vehicle license plates |
US12056589B2 (en) | 2015-10-01 | 2024-08-06 | Intellivision Technologies Corp | Methods and systems for accurately recognizing vehicle license plates |
US11587327B2 (en) | 2015-10-01 | 2023-02-21 | Intellivision Technologies Corp | Methods and systems for accurately recognizing vehicle license plates |
WO2017092361A1 (en) * | 2015-12-04 | 2017-06-08 | 乐视控股(北京)有限公司 | Method of increasing video sharpness and device |
CN105898174A (en) * | 2015-12-04 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Video resolution improving method and device |
CN110178019A (en) * | 2016-12-07 | 2019-08-27 | 奥博泰克有限公司 | Method and apparatus for judging defect quality |
CN107240092A (en) * | 2017-05-05 | 2017-10-10 | 浙江大华技术股份有限公司 | A kind of image blur detection method and device |
CN107240092B (en) * | 2017-05-05 | 2020-02-14 | 浙江大华技术股份有限公司 | Image ambiguity detection method and device |
CN109584198B (en) * | 2017-09-26 | 2022-12-23 | 浙江宇视科技有限公司 | Method and device for evaluating quality of face image and computer readable storage medium |
CN109584198A (en) * | 2017-09-26 | 2019-04-05 | 浙江宇视科技有限公司 | A kind of quality of human face image evaluation method, device and computer readable storage medium |
CN108460766A (en) * | 2018-04-12 | 2018-08-28 | 四川和生视界医药技术开发有限公司 | A kind of retinal images intelligibility evaluation method and apparatus for evaluating |
CN108460766B (en) * | 2018-04-12 | 2022-02-25 | 四川和生视界医药技术开发有限公司 | Retina image definition evaluation method and evaluation device |
CN108550158B (en) * | 2018-04-16 | 2021-12-17 | Tcl华星光电技术有限公司 | Image edge processing method, electronic device and computer readable storage medium |
CN108550158A (en) * | 2018-04-16 | 2018-09-18 | 深圳市华星光电技术有限公司 | Image edge processing method, electronic device and computer readable storage medium |
CN108710852B (en) * | 2018-05-21 | 2021-08-03 | 山东大学 | Particle size distribution image recognition method and system for limiting shooting depth |
CN108710852A (en) * | 2018-05-21 | 2018-10-26 | 山东大学 | It is a kind of to limit the size distribution image recognition methods for shooting depth and system |
WO2019228087A1 (en) * | 2018-05-31 | 2019-12-05 | Ge Gaoli | Safety protection type electric heater |
CN109509229B (en) * | 2018-11-12 | 2020-12-15 | 凌云光技术集团有限责任公司 | Template reconstruction device and method based on two-dimensional linear transformation |
CN109509229A (en) * | 2018-11-12 | 2019-03-22 | 凌云光技术集团有限责任公司 | A kind of template reconstructing device and method based on two-dimensional linear transformation |
CN109394268B (en) * | 2018-12-07 | 2021-05-11 | 刘志红 | Polyp harm degree mapping platform |
CN109394268A (en) * | 2018-12-07 | 2019-03-01 | 余姚市华耀工具科技有限公司 | Polyp extent of injury Mapping Platform |
CN110111261A (en) * | 2019-03-28 | 2019-08-09 | 福州瑞芯微电子股份有限公司 | Adaptive equalization processing method, electronic equipment and the computer readable storage medium of image |
CN110400261A (en) * | 2019-04-04 | 2019-11-01 | 桑尼环保(江苏)有限公司 | Adaptive environment clears up platform |
CN111027363A (en) * | 2019-04-28 | 2020-04-17 | 刘晓英 | Auxiliary signal parameter analysis system |
CN110246227B (en) * | 2019-05-21 | 2023-12-29 | 佛山科学技术学院 | Virtual-real fusion simulation experiment image data collection method and system |
CN110246227A (en) * | 2019-05-21 | 2019-09-17 | 佛山科学技术学院 | A kind of virtual reality fusion emulation experiment image data acquiring method and system |
CN110544229B (en) * | 2019-07-11 | 2022-11-18 | 华南理工大学 | Image focus evaluation and focusing method under non-uniform speed state of camera |
CN110544229A (en) * | 2019-07-11 | 2019-12-06 | 华南理工大学 | Image focus evaluation and focusing method under non-uniform speed state of camera |
CN111353994A (en) * | 2020-03-30 | 2020-06-30 | 南京工程学院 | Image non-reference brightness quality detection method for target detection |
CN111611863A (en) * | 2020-04-22 | 2020-09-01 | 浙江大华技术股份有限公司 | License plate image quality evaluation method and device and computer equipment |
CN111611863B (en) * | 2020-04-22 | 2022-05-20 | 浙江大华技术股份有限公司 | License plate image quality evaluation method and device and computer equipment |
CN112258503B (en) * | 2020-11-13 | 2023-11-14 | 中国科学院深圳先进技术研究院 | Ultrasonic image imaging quality evaluation method, device and computer readable storage medium |
CN112258503A (en) * | 2020-11-13 | 2021-01-22 | 中国科学院深圳先进技术研究院 | Ultrasonic image imaging quality evaluation method and device and computer readable storage medium |
CN112863010B (en) * | 2020-12-29 | 2022-08-05 | 宁波友好智能安防科技有限公司 | Video image processing system of anti-theft lock |
CN112863010A (en) * | 2020-12-29 | 2021-05-28 | 宁波友好智能安防科技有限公司 | Video image processing system of anti-theft lock |
WO2022152107A1 (en) * | 2021-01-12 | 2022-07-21 | 深圳市普渡科技有限公司 | Infrared image quality evaluation method, device, and storage medium |
CN113486895B (en) * | 2021-07-16 | 2022-04-19 | 浙江华是科技股份有限公司 | Ship board identification method and device and computer readable storage medium |
CN113486895A (en) * | 2021-07-16 | 2021-10-08 | 浙江华是科技股份有限公司 | Ship board identification method and device and computer readable storage medium |
CN117173416A (en) * | 2023-11-01 | 2023-12-05 | 山西阳光三极科技股份有限公司 | Railway freight train number image definition processing method based on image processing |
CN117173416B (en) * | 2023-11-01 | 2024-01-05 | 山西阳光三极科技股份有限公司 | Railway freight train number image definition processing method based on image processing |
Also Published As
Publication number | Publication date |
---|---|
CN104732227B (en) | 2017-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104732227A (en) | Rapid license-plate positioning method based on definition and luminance evaluation | |
CN106651872B (en) | Pavement crack identification method and system based on Prewitt operator | |
CN107545239B (en) | Fake plate detection method based on license plate recognition and vehicle characteristic matching | |
CN104715239B (en) | A kind of vehicle color identification method based on defogging processing and weight piecemeal | |
CN105938560B (en) | Convolutional-neural-network-based vehicle model refined classification system | |
CN103198315B (en) | Based on the Character Segmentation of License Plate of character outline and template matches | |
CN103116751B (en) | A kind of Method of Automatic Recognition for Character of Lcecse Plate | |
CN102226907B (en) | License plate positioning method and apparatus based on multiple characteristics | |
CN103605977B (en) | Extracting method of lane line and device thereof | |
TWI409718B (en) | Method of locating license plate of moving vehicle | |
US11380104B2 (en) | Method and device for detecting illegal parking, and electronic device | |
CN101783076B (en) | Method for quick vehicle type recognition under video monitoring mode | |
CN103824081B (en) | Method for detecting rapid robustness traffic signs on outdoor bad illumination condition | |
CN102880863B (en) | Method for positioning license number and face of driver on basis of deformable part model | |
CN107301405A (en) | Method for traffic sign detection under natural scene | |
CN103544484A (en) | Traffic sign identification method and system based on SURF | |
CN106355180B (en) | A kind of license plate locating method combined based on color with edge feature | |
CN103824091A (en) | Vehicle license plate recognition method for intelligent transportation system | |
CN103530608A (en) | Vehicle type judgment method and vehicle type judgment device | |
KR101246120B1 (en) | A system for recognizing license plate using both images taken from front and back faces of vehicle | |
CN105488797A (en) | License plate location method for HSV space | |
CN117094975A (en) | Method and device for detecting surface defects of steel and electronic equipment | |
CN102521587B (en) | License plate location method | |
CN107480683A (en) | A kind of image processing method and device | |
CN105069419A (en) | Traffic sign detection method based on edge color pair and characteristic filters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |