CN104616011B - MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and block area - Google Patents

MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and block area Download PDF

Info

Publication number
CN104616011B
CN104616011B CN201510079307.XA CN201510079307A CN104616011B CN 104616011 B CN104616011 B CN 104616011B CN 201510079307 A CN201510079307 A CN 201510079307A CN 104616011 B CN104616011 B CN 104616011B
Authority
CN
China
Prior art keywords
image
license plate
noise
sigma
pixel
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.)
Active
Application number
CN201510079307.XA
Other languages
Chinese (zh)
Other versions
CN104616011A (en
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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN201510079307.XA priority Critical patent/CN104616011B/en
Publication of CN104616011A publication Critical patent/CN104616011A/en
Application granted granted Critical
Publication of CN104616011B publication Critical patent/CN104616011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • G06V10/457Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by analysing connectivity, e.g. edge linking, connected component analysis or slices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/625License plates

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention belongs to the field of image information processing, and particularly relates to an MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and a block area. The method comprises the specific steps: S1, building license plate image apriorism information including the gradient apriorism and block area apriorism by using a number gradient information of a license plate; S2, carrying out noise estimation on a video image sequence, and determining a density function of noise distribution probability; S3, building a two-value markov random field model of the license plate image, combining the markov random field model with the license plate image apriorism information, and building an optimization problem model and solving. Compared with a traditional license plate denoising method, the SNR (Signal to Noise Ratio) of the license plate image can be effectively improved by making the best of the license plate image characteristics, so as to obtain more accurate digital edge of the license plate, and provide license plate source images with higher quality to the extraction and analysis of the license plate information.

Description

Combine the MRF car plate Denoising Algorithm of priori based on gradient information and boxed area
Technical field
The invention belongs to Image Information Processing field is and in particular to combine priori based on gradient information and boxed area MRF car plate Denoising Algorithm.
Background technology
License plate image information is significant in safety monitoring, intelligent transportation and social security field, in overspeed of vehicle The aspect such as supervision, automobile burglar, highway and parking fee collective system, traffic accident monitoring plays very important effect.But low photograph The license plate image collecting under the conditions of degree often has the characteristics that signal to noise ratio is low, noise is big, noise contribution is complicated, to license board information Extract and analysis causes very big impact, cause Car license recognition to decline with following the tracks of accuracy rate.Therefore to noisy under low-light (level) environment Sound license plate image carries out effective denoising, improves license plate image quality, has important practical significance and actual application value.
Still less to car plate image denoising research under low-light (level) environment both at home and abroad at present.Under low-light (level) shooting condition, car plate Signal noise ratio (snr) of image is low, and noise intensity is big and complicated component, including Gaussian noise, poisson noise, impulsive noise, dark current noise Deng.Existing Denoising Algorithm often can only solve the relatively single situation of noise contribution it is difficult to adapt to noise in low-light (level) environment The situation of complicated component.
Markov random field (Markov Random Field, MRF) is one kind of probability graph model, applies at present In the field such as computer vision and image procossing, recover and reconstruction, estimation, texture analysis, edge inspection including image Survey, image segmentation, target identification and Attitude estimation etc..Its principle is to describe view data distribution, this condition using conditional probability Probability is unrelated with the position of pixel, and is depending on the relevant information in this field.Excavate car plate image prior letter abundant On the basis of breath, in conjunction with Markov random field model, build New Image recovery algorithms, be obtained in that more preferable license plate image Denoising effect.
Content of the invention
The present invention is to solve low-light (level) car plate Denoising Problems, provides one kind to combine priori based on gradient information and boxed area MRF car plate Denoising Algorithm, denoising and recovery can be carried out to the license plate image in noise video sequence.Implement including such as Lower step:
S1, utilize car plate digital gradient information, construct license plate image prior information, include gradient priori and boxed area elder generation Test;
S2, noise estimation is carried out to sequence of video images, determine noise profile probability density function;
S3, the two-value Markov random field model of structure license plate image, joint Markov random field model and car plate Image prior information, sets up optimization problem model and solves.
Further, described step S1 detailed process is:
(1) set IvFor the car plate denoising image of vector form, the row, column number of image pixel is respectively m, n;Define I'c, I'r It is respectively column direction and line direction pixel value changes partial derivative matrix, for pixel (i, j), m, n, i, j are integer, its ladder Degree is expressed as lower form:
Wherein, G(i,j)=[ei+1+(j-1)m-ei+(j-1)m,ei+jm-ei+(j-1)m]T, ekRepresent that kth position value is 1, other positions Put the mn dimensional vector that value is 0, k is integer, that is,:
By G(i,j)It is combined into gradient matrix G:
License plate image gradient priori PgFor:
Wherein, | | | |2Represent and take 2 norm computings.
(2) calculate license plate image boxed area priori Pb
N=mn is sum of all pixels in image, LPbAnd LPtIt is respectively car plate background area and character area pixel set, lu For pixel PuLabel value, lvFor pixel PvLabel value, belong to prospect or background, l for identifying pixeluValue is:
In the same manner,
Further, described step S2 detailed process is:
If ftFor the static background part of the corresponding video frame image of t, extract t- Δ t, during t- Δ t+1 ..., t+ Δ t Frame of video background parts { the f carvingt-Δt,…,ft,…,ft+Δt, Δ t represents time interval, is obtained approximately by frame accumulation method Noise-free picture
Wherein, η is variable, and span is t- Δ t, t- Δ t+1 ..., t+ Δ t;
Q frame background parts noise sample can be obtained by following formula:
Obtaining noise sample collection θns={ nq(q=t- Δ t, t- Δ t+1 ..., on the basis of t+ Δ t), utilizes Parzen windowhood method (the method is prior art, the method in particular reference [1]) obtains noise profile probability density Function:
Wherein, | θns| represent noise sample collection θnsMiddle element number, kernel function W (x) form is:
Wherein, σ is the standard deviation of kernel function W (x), and x is function variable, and π is pi.
Further, described step S3 detailed process is:
If the noise-free picture recovering is I0, the noise of (x, y) location of pixels is stochastic variable ε (x, y), (x, y) pixel Value i1,i2It is respectively background color value or prospect text color value, image plus noise process is expressed as:
I (x, y)=I0(x,y)+ε(x,y),I0(x,y)∈{i1,i2}
Image pixel value probability of occurrence is:
Wherein, the probability that p () occurs for event, δ (x, y) represents the neighborhood of pixel (x, y).Gone out with random field pixel value The weighted array of existing probability, car plate gradient priori and block priori builds the energy function of markov random file:
EMRF=PI1Pg2Pb
Wherein, PIFor random field pixel value probability of occurrence, PgFor license plate image gradient priori, PbBlock first for license plate image Test, λ1, λ2For coefficient;
Image denoising problem can be attributed to solution following problems:
Wherein, lu,lv(u, v=1,2 ..., N) is the label value of denoising image pixel, IvCar plate denoising for vector form Image, is asked to above-mentioned optimization using Graph Cuts algorithm (this algorithm is prior art, the method in particular reference [2]) Topic is solved, and finally obtains denoising image I*.
The technique effect being obtained using the present invention:Compared with traditional car plate denoising method, this method can make full use of License plate image feature, effectively improves license plate image signal to noise ratio, obtains more accurate car plate digital edge, is that license board information is extracted There is provided higher-quality car plate source images with analysis.
Brief description
Fig. 1 is the flow chart of the method for the invention;
Fig. 2 is noiseless car plate source images;
Fig. 3 is low-light (level) noise license plate image;
Fig. 4 is that the present invention processes the license plate image obtaining;
Fig. 5 is the license plate image that BM3D algorithm obtains.
Specific embodiment
The invention will be further described with reference to the accompanying drawings and examples.
The invention provides a kind of MRF car plate Denoising Algorithm combining priori based on gradient information and boxed area, can Effective denoising and recovery are carried out to the license plate image in noise video sequence.As shown in figure 1, being the flow chart of the present invention, including Following steps:
Step one:Using car plate digital gradient information richness and block numeric area characteristic, construction is based on gradient and block The license plate image combination priori in shape region;
1. car plate gradient information information
If IvFor the car plate denoising image of vector form, image pixel ranks number is respectively m, n.Define I'c, I'rIt is respectively Column direction and line direction pixel value changes partial derivative matrix.For pixel (i, j), its gradient approximately can be write as following shape Formula:
Wherein, G(i,j)=[ei+1+(j-1)m-ei+(j-1)m,ei+jm-ei+(j-1)m]T, ekRepresent that kth position value is 1, other positions Put the mn dimensional vector that value is 0, that is,:
By G(i,j)It is combined into gradient matrix G:
License plate image gradient priori PgMay be calculated:
2. boxed area priori
Occur because license plate image numeral assumes boxed area, introduce boxed area priori Pb
N=mn is sum of all pixels in image, LPbAnd LPtIt is respectively car plate background area and character area pixel set, lu For pixel PuLabel value, belong to prospect or background for identifying pixel.luValue is:
Step 2:By video noise estimation, determine license plate image noise profile probability density function.
If ftStatic background part for the corresponding frame of video of t.Extract t- Δ t, t- Δ t+1 ..., t+ Δ t Frame of video background parts { ft-Δt,…,ft,…,ft+Δt, approximate noise-free picture is obtained by frame accumulation method
Wherein q frame background parts noise sample can be obtained by following formula:
Obtaining noise sample collection θns={ nq(q=t- Δ t, t- Δ t+1 ..., on the basis of t+ Δ t), utilizes It is close that Parzen windowhood method (the method is prior art, specifically refers to the method in document [1]) obtains noise profile probability Degree function:
Wherein, | θns| for noise sample collection θnsMiddle element number, kernel function W (x) form is:
Wherein, σ is the standard deviation of kernel function W (x).
Step 3:Joint Markov random field model and license plate image prior information, set up license plate image Denoising Problems Model simultaneously solves.
Noise license plate image is considered as two-dimentional markov random file, because license plate image has two-value, each pixel Value is background color value or prospect text color value.If needing the noise-free picture recovering to be I0, the making an uproar of (x, y) location of pixels Sound is stochastic variable ε (x, y), value i of (x, y) pixel1,i2It is respectively background color value or prospect text color value.Image adds Noise process can be expressed as:
I (x, y)=I0(x,y)+ε(x,y),I0(x,y)∈{i1,i2}
Pixel probability is:
With the weighted array of random field pixel value probability of occurrence, car plate gradient priori and block priori build Markov with The energy function on airport:
EMRF=PI1Pg2Pb
Wherein, PIFor image random field pixel value probability of occurrence, PgFor license plate image gradient priori, PbFor license plate image block Shape priori, λ1, λ2For coefficient.Image denoising problem can be attributed to solution following problems:
Wherein, lu,lv(u, v=1,2 ..., N) is the label value of denoising image pixel, IvCar plate denoising for vector form Image.
For the car plate source images shown in Fig. 2, its corresponding single frames low-light (level) noise image is as shown in figure 3, adopt above-mentioned Method sets up Image restoration, and using Graph Cuts algorithm, (this algorithm is prior art, in particular reference [2] Method) optimization problem in step 3 is solved, obtain image result as shown in Figure 4.
Process the result obtaining using BM3D algorithm (this algorithm is prior art, the method in particular reference [3]) As shown in Figure 5;Fig. 4 is compared with Fig. 5, draw application this method can recover to become apparent from, the more preferable car of degree of identification Board digital picture.The bibliography being related in literary composition is as follows:
[1]T.Hastie,R.Tibshirani,and J.Friedman.The elements of statistical learning:Data mining,inference,and prediction.Springer,2001.
[2]V.Kolmogorov and R.Zabih.What energy functions can be minimized via graph cuts?IEEE TPAMI,2004.
[3]Dabov K,Foi A,Katkovnik V,et al.Image denoising by sparse 3D transform-domain collaborative filtering.IEEE Transactions on Image Processing,2007.
The above is only the preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-described embodiment, All technical schemes belonging under thinking of the present invention belong to protection scope of the present invention.It should be pointed out that for the art For those of ordinary skill, some improvements and modifications without departing from the principles of the present invention, should be regarded as the protection of the present invention Scope.

Claims (1)

1. a kind of MRF car plate Denoising Algorithm combining priori based on gradient information and boxed area, MRF represents that markov is random Field is it is characterised in that comprise the steps:
S1, utilize car plate digital gradient information, construct license plate image prior information, including gradient priori and boxed area priori; Detailed process is:
(1) set IvFor the car plate denoising image of vector form, image pixel ranks number is respectively m, n;Define I'c, I'rIt is respectively Column direction and line direction pixel value changes partial derivative matrix, for pixel (i, j), its gradient is expressed as lower form:
G ( i , j ) I v = I c ( i , j ) ′ I r ( i , j ) ′
Wherein, G(i,j)=[ei+1+(j-1)m-ei+(j-1)m,ei+jm-ei+(j-1)m]T, ekRepresent that kth position value is that 1, other positions take It is worth the mn dimensional vector for 0, that is,:
By G(i,j)It is combined into gradient matrix G:
G = G ( 1 , 1 ) . . . G ( m , n )
License plate image gradient priori PgFor:
P g = Σ i = 1 m Σ j = 1 n | | G ( i , j ) I v | | 2
Wherein, | | | |2Represent and take 2 norm computings;
(2) calculate license plate image boxed area priori Pb
P b = exp ( Σ u = 1 N Σ v = 1 N l u l v + ( 1 - l u ) ( 1 - l v ) ) , ( u , v = 1 , 2 , ... , N )
N=mn is sum of all pixels in image, LPbAnd LPtIt is respectively car plate background area and character area pixel set, luIt is picture Plain PuLabel value, belong to prospect or background, l for identifying pixeluValue is:
l u = 0 , P u ∈ LP b 1 , P u ∈ LP t , ( u = 1 , 2 , ... , N )
S2, noise estimation is carried out to sequence of video images, determine noise profile probability density function;Detailed process is:
If ftFor the static background part of the corresponding video frame image of t, extract t- Δ t, t- Δ t+1 ..., the regarding of t+ Δ t Frequency frame background parts { ft-Δt,…,ft,…,ft+Δt, Δ t represents time interval, obtains noise-free picture by frame accumulation method
f ‾ = 1 2 Δ t + 1 Σ η = t - Δ t t + Δ t f η
Wherein, η is variable, and span is t- Δ t, t- Δ t+1 ..., t+ Δ t;
Q frame background parts noise sample can be obtained by following formula:
n q = f q - f ‾ , ( q = t - Δ t , t - Δ t + 1 , ... , t + Δ t )
Obtaining noise sample collection θns={ nq(q=t- Δ t, t- Δ t+1 ..., on the basis of t+ Δ t), calculates and obtains noise Distribution probability density function:
f p n ( z ) = 1 | θ n s | Σ j = 1 | θ n s | W ( z - n j )
Wherein, | θns| represent noise sample collection θnsMiddle element number, kernel function W (x) form is:
W ( x ) = 1 σ 2 π e - x 2 / 2 σ 2
Wherein, σ is the standard deviation of kernel function W (x);
S3, the two-value Markov random field model of structure license plate image, joint Markov random field model and license plate image Prior information, sets up optimization problem model and solves, and detailed process is:
If the noise-free picture recovering is I0, the noise of (x, y) location of pixels is stochastic variable ε (x, y), the value of (x, y) pixel i1,i2It is respectively background color value or prospect text color value, image plus noise process is expressed as:
I (x, y)=I0(x,y)+ε(x,y),I0(x,y)∈{i1,i2}
Image pixel value probability of occurrence is:
p ( I | I 0 ( x , y ) ) = Π ( x ′ , y ′ ) ∈ δ ( x , y ) ( f p n ( I ( x ′ , y ′ ) - I 0 ( x ′ , y ′ ) ) )
Wherein, δ (x, y) is the neighborhood of pixel (x, y), with random field pixel value probability of occurrence, car plate gradient priori and bulk first The weighted array tested builds the energy function of markov random file:
EMRF=PI1Pg2Pb
Wherein, PIFor image random field pixel value probability of occurrence, PgFor license plate image gradient priori, PbBlock first for license plate image Test, λ1, λ2For coefficient;
Image denoising problem can be attributed to solution following problems:
I * = arg max I E M R F
P I = Π u = 1 N p ( l u = 0 ) p ( l u = 1 ) P g = Σ i = 1 m Σ j = 1 n | | G ( i , j ) I v | | 2 P b = λ exp ( Σ u = 1 N Σ v = 1 N l u l v + ( 1 - l u ) ( 1 - l v ) )
Wherein, lu,lv(u, v=1,2 ..., N) is the label value of denoising image pixel, IvCar plate denoising figure for vector form Picture, solves to above formula optimization problem, finally obtains denoising image I*.
CN201510079307.XA 2015-02-13 2015-02-13 MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and block area Active CN104616011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510079307.XA CN104616011B (en) 2015-02-13 2015-02-13 MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and block area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510079307.XA CN104616011B (en) 2015-02-13 2015-02-13 MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and block area

Publications (2)

Publication Number Publication Date
CN104616011A CN104616011A (en) 2015-05-13
CN104616011B true CN104616011B (en) 2017-02-22

Family

ID=53150448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510079307.XA Active CN104616011B (en) 2015-02-13 2015-02-13 MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and block area

Country Status (1)

Country Link
CN (1) CN104616011B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106092492B (en) * 2016-06-01 2018-08-28 南京航空航天大学 A kind of filtering and noise reduction method
CN106780369B (en) * 2016-11-28 2019-12-03 江苏宇迪光学股份有限公司 A kind of visible near-infrared broad wavelength band image noise suppressing method
CN107545265A (en) * 2017-07-17 2018-01-05 浙江智神数码科技有限公司 A kind of intelligent vehicle license plate recognition system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7676081B2 (en) * 2005-06-17 2010-03-09 Microsoft Corporation Image segmentation of foreground from background layers
CN103390160A (en) * 2013-07-24 2013-11-13 佳都新太科技股份有限公司 License plate character segmentation algorithm based on connected domain and template
CN103854025B (en) * 2014-02-07 2017-01-25 西安电子科技大学 Plate number positioning method based on image cartoon-texture decomposition
CN104200207A (en) * 2014-09-16 2014-12-10 宁波熵联信息技术有限公司 License plate recognition method based on Hidden Markov models

Also Published As

Publication number Publication date
CN104616011A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
Bang et al. Encoder–decoder network for pixel‐level road crack detection in black‐box images
US20210370993A1 (en) Computer vision based real-time pixel-level railroad track components detection system
CN106778595B (en) Method for detecting abnormal behaviors in crowd based on Gaussian mixture model
CN105608456B (en) A kind of multi-direction Method for text detection based on full convolutional network
An et al. Detecting a pothole using deep convolutional neural network models for an adaptive shock observing in a vehicle driving
CN101493890B (en) Dynamic vision caution region extracting method based on characteristic
CN106384092A (en) Online low-rank abnormal video event detection method for monitoring scene
CN101833664A (en) Video image character detecting method based on sparse expression
CN104408482A (en) Detecting method for high-resolution SAR (Synthetic Aperture Radar) image object
CN101996401A (en) Target analysis method and device based on intensity image and range image
CN109948471A (en) Based on the traffic haze visibility detecting method for improving InceptionV4 network
CN104616011B (en) MRF (Multi-Reference Frame) license plate denoising algorithm based on combined apriorism of gradient information and block area
CN104239852A (en) Infrared pedestrian detecting method based on motion platform
CN111709300A (en) Crowd counting method based on video image
CN108961230A (en) The identification and extracting method of body structure surface FRACTURE CHARACTERISTICS
CN113408398B (en) Remote sensing image cloud detection method based on channel attention and probability up-sampling
CN110569755A (en) Intelligent accumulated water detection method based on video
CN105138983A (en) Pedestrian detection method based on weighted part model and selective search segmentation
CN107247967B (en) Vehicle window annual inspection mark detection method based on R-CNN
CN104599291A (en) Structural similarity and significance analysis based infrared motion target detection method
CN104156979A (en) Method for on-line detection of abnormal behaviors in videos based on Gaussian mixture model
Zhang et al. Winter road surface condition classification using convolutional neural network (CNN): Visible light and thermal image fusion
CN106570889A (en) Detecting method for weak target in infrared video
Shit et al. An encoder‐decoder based CNN architecture using end to end dehaze and detection network for proper image visualization and detection
CN104200472A (en) Non-local wavelet information based remote sensing image change detection method

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