WO2019201184A1 - 一种车牌增强方法、装置及电子设备 - Google Patents
一种车牌增强方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2019201184A1 WO2019201184A1 PCT/CN2019/082542 CN2019082542W WO2019201184A1 WO 2019201184 A1 WO2019201184 A1 WO 2019201184A1 CN 2019082542 W CN2019082542 W CN 2019082542W WO 2019201184 A1 WO2019201184 A1 WO 2019201184A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- license plate
- brightness
- value
- binarized
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 230000008569 process Effects 0.000 claims abstract description 25
- 230000011218 segmentation Effects 0.000 claims description 108
- 238000012545 processing Methods 0.000 claims description 28
- 230000004927 fusion Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 claims description 10
- 230000003190 augmentative effect Effects 0.000 claims description 4
- 238000009795 derivation Methods 0.000 claims description 3
- 238000003709 image segmentation Methods 0.000 claims description 3
- 235000019557 luminance Nutrition 0.000 description 162
- 230000000007 visual effect Effects 0.000 description 40
- 238000012937 correction Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000002708 enhancing effect Effects 0.000 description 5
- 230000003416 augmentation Effects 0.000 description 4
- 238000005192 partition Methods 0.000 description 4
- 238000001914 filtration Methods 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 3
- 238000007476 Maximum Likelihood Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000005315 distribution function Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 241000023320 Luma <angiosperm> Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20004—Adaptive image processing
- G06T2207/20012—Locally adaptive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Definitions
- the embodiments of the present invention relate to the technical field of license plate recognition, and in particular, to a license plate enhancement method, device, and electronic device.
- the license plate enhancement method in the related art is to perform an overall effect on the license plate image.
- the method can enhance the font and the card bottom contrast in the license plate image to some extent, the method has the following problems:
- the noise of the license plate image is also enhanced.
- the font and the bottom edge of the card will be equally blurred.
- the fuzzy font will undoubtedly affect the accuracy and reliability of the license plate recognition, making the license plate enhancement effect is not good.
- the embodiment of the present application provides a license plate enhancement method, device, and electronic device to reduce the card bottom noise while ensuring the definition of the font while ensuring the license plate font and the card bottom contrast requirement.
- an embodiment of the present application provides a license plate enhancement method, including:
- the first type of pixel associated with the card bottom and the second type of pixel associated with the font are determined in the binarized image. a point, and determining, from the target brightness image, a third type of pixel point corresponding to the first type of pixel point position and a fourth type of pixel point corresponding to the second type of pixel point position, according to the third
- the denoising intensity of the pixel-like point is higher than the denoising rule of the denoising intensity of the fourth type of pixel, and the target brightness image is denoised;
- the license plate image after the license plate is enhanced is generated based on the enhanced brightness image of the license plate.
- an embodiment of the present application provides a license plate augmentation apparatus, including:
- An image obtaining unit configured to obtain a license plate image to be processed
- a contrast enhancement unit configured to perform contrast enhancement processing on the brightness image corresponding to the to-be-processed license plate image to obtain a target brightness image
- An image segmentation unit configured to generate a plurality of binarized images corresponding to the target brightness image; wherein different binarized images correspond to different brightness domain value intervals;
- a denoising unit configured to determine, according to a brightness relationship between a card base and a font in the to-be-processed license plate image, a first type of pixel point and font associated with the bottom of the card in the binary image for each binarized image Corresponding second type of pixel points, and determining, from the target brightness image, a third type of pixel point corresponding to the first type of pixel point position and a fourth type of pixel point corresponding to the second type of pixel point position And denoising the target brightness image according to a denoising rule that the denoising intensity of the third type of pixel is higher than the denoising intensity of the fourth type of pixel;
- An image enhancement result generating unit configured to generate a license plate enhanced brightness image based on each denoised target brightness image
- the license plate enhancement result generating unit is configured to generate the license plate image after the license plate is enhanced based on the brightness image after the license plate is enhanced.
- an embodiment of the present application provides an electronic device, where the electronic device includes: an internal bus, a memory, a processor, and a communication interface; wherein the processor, the communication interface, and the memory pass the The internal bus completes communication with each other; wherein the memory is configured to store a machine feasible instruction corresponding to the license plate enhancement method;
- the processor is configured to read the machine readable instructions on the memory, and execute the license plate enhancement method provided by the first aspect of the embodiment of the present application.
- the license plate enhancement method In the license plate enhancement method provided by the embodiment of the present application, after the contrast enhancement processing is performed on the luminance image corresponding to the license plate image to obtain the target luminance image, a plurality of binarized images corresponding to the target luminance image are generated, and for each Binarized image, based on the brightness relationship between the card base and the font in the image of the license plate to be processed, determining the first type of pixel points related to the card bottom and the second type of pixel points related to the font in the binarized image, and from the target Determining, in the luminance image, a third type of pixel point corresponding to the first type of pixel point position and a fourth type of pixel point corresponding to the second type of pixel point position, and the denoising intensity according to the third type of pixel point is higher than the fourth type of pixel
- the denoising rule of the denoising intensity of the point is used to denoise the target brightness image; and then based on the denoised target brightness image, the license plate
- License plate image It can be seen that the scheme can distinguish the card bottom and the font with different brightness, and make the denoising intensity of the font lower than the denoising intensity of the bottom of the card. Therefore, under the premise of ensuring the license plate font and the card bottom contrast requirement, the solution is reduced. The purpose of the card bottom noise while ensuring the clarity of the font.
- FIG. 1 is a flowchart of a method for enhancing a license plate according to an embodiment of the present application
- FIG. 2 is another flowchart of a method for enhancing a license plate according to an embodiment of the present application
- 3(a) and 3(b) are schematic diagrams showing the segmentation values in the luminance normalized histogram in the embodiment of the present application.
- FIG. 4(a) is a schematic diagram of a license plate image to be processed
- FIG. 4(b) is a schematic diagram of a license plate image obtained by using a method provided by an embodiment of the present application to enhance a license plate;
- FIG. 5 is a schematic structural diagram of a license plate augmenting device according to an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as the second information without departing from the scope of the present application.
- second information may also be referred to as the first information.
- word "if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
- the embodiment of the present application provides a license plate enhancement method, device and electronic device.
- a method for enhancing the license plate provided by the embodiment of the present application is first introduced.
- the execution body of the license plate enhancement method provided by the embodiment of the present application may be a license plate enhancement device.
- the license plate augmentation device can be operated in a terminal device or a server, and the specific running carrier is determined according to actual needs.
- the license plate image has two main body pixels of the card bottom and the font, and in the same lighting environment, the brightness of the bottom of the same license plate is different from the brightness of the font of the license plate.
- the license plate involved in the embodiment of the present application may include: blue card, yellow card, white card and the like, wherein blue, yellow, white and other colors refer to The color of the bottom of the license plate. Among them, for the blue card and the yellow card, the brightness of the bottom of the license plate image is lower than the brightness of the font; and for the white card, the brightness of the bottom of the license plate image is higher than the brightness of the font.
- a license plate enhancement method provided by an embodiment of the present application may include the following steps:
- the to-be-processed license plate image is an image that can be converted to the YUV color mode.
- the color mode of the acquired license plate image may be an RGB color mode, a CMYK color mode, an HSB color mode, or the like.
- the color mode of the license plate image after the license plate is enhanced is the same as the color mode of the license plate image to be processed.
- RGB is the English abbreviation of red, green, blue, namely red, green and blue.
- CMYK is a color mode based on printing. It is a color mode that relies on reflection.
- C is the English abbreviation of cyan, ie cyan
- M is the abbreviation of Magenta, ie magenta
- Y is the English abbreviation of Yellow
- ie yellow K is The English abbreviation for black, that is, black.
- HSB also known as HSV, represents a color mode.
- H is the abbreviation of hues, which means hue
- S is the abbreviation of saturation, which means saturation
- B is the abbreviation of brightness, which means brightness.
- the medium corresponding to the HSB color mode is the human eye.
- YUV is a color coding method adopted by European television systems, where Y represents brightness (Luminance or Luma), that is, gray scale value; and U and V represent chroma (Chrominance or Chroma), It describes the color and saturation of the image and is used to specify the color of the pixel.
- S102 performing contrast enhancement processing on the brightness image of the license plate image to be processed to obtain a target brightness image
- the license plate augmentation device can obtain the license plate image after the image is to be processed.
- the to-be-processed license plate image is converted from the original color mode to the YUV color mode, thereby obtaining an image corresponding to the Y-space in the YUV color mode of the to-be-processed license plate image as the brightness image of the to-be-processed license plate image. Further, contrast enhancement processing is performed on the luminance image to obtain a target luminance image.
- the step of performing contrast enhancement processing on the brightness image of the license plate image to be processed to obtain the target brightness image may include the following steps A1-A2:
- Step A1 generating a gamma correction curve by using a luminance histogram of the luminance image of the license plate image to be processed;
- Step A2 The brightness image is adjusted according to the gamma correction curve to obtain a target brightness image.
- the gamma correction (ie, gamma correction) method is used to perform contrast enhancement processing on the luminance image of the license plate image to obtain the target luminance image.
- the so-called gamma correction method is: a method of editing a gamma curve of an image to perform nonlinear tone editing on the image, specifically, detecting a dark portion and a light portion in the image signal, and making the ratio of the two Increase to increase the image contrast effect.
- the luminance histogram represents the luminance distribution of the luminance image of the license plate image to be processed in the form of a distribution map.
- the horizontal axis of the luminance histogram represents the brightness of the image
- the vertical axis represents the number of pixels, that is, the relative number of pixels within a certain brightness range, wherein the relative quantity is: the pixel in a certain brightness range is in the license plate image
- the left end of the luminance histogram indicates the darkest brightness, and the right end indicates the brightest, that is, the horizontal axis from left to right indicates that the image brightness gradually transitions from the darkest to the brightest.
- the relative number of pixels in the brightness range in the brightness image can be determined, and further, the brightness histogram of the brightness image is obtained. Then, the obtained luminance histogram can be used to generate a gamma correction curve.
- the generated gamma correction curve since the gamma correction curve is generated using the luminance histogram of the luminance image of the license plate image to be processed, the generated gamma correction curve has a unique correspondence with the luminance image of the license plate image to be processed.
- hist(min_val:max_val) is a matrix of 1*n
- n max_val-min_val+1
- the first element in hist(min_val:max_val) is min_val
- the second element is min_val+1
- third The elements are min_val+2, and so on, until the nth element is max_val.
- the ratio of the pixels whose luminances are in the range of min_val and max_val in all the pixels of the luminance image of the license plate image is calculated.
- the brightness image may be adjusted according to the gamma correction curve to obtain a target brightness image.
- different binarized images correspond to different luminance domain value intervals.
- S104 For each binarized image, determining, according to the brightness relationship between the card base and the font in the to-be-processed license plate image, determining the first type of pixel points related to the card bottom and the second type related to the font in the binarized image. a pixel point, and determining, from the target brightness image, a third type of pixel point corresponding to the first type of pixel point position and a fourth type of pixel point corresponding to the second type of pixel point position, according to the third type of pixel point
- the denoising intensity is higher than the denoising rule of the denoising intensity of the fourth type of pixel, and the target brightness image is denoised;
- the contrast enhancement processing is performed on the brightness image corresponding to the image to be processed, new noise is introduced. Therefore, in the license plate enhancement process, after the contrast enhancement processing is performed on the luminance image of the license plate image to be processed, denoising processing is required to To some extent, the original noise and the newly introduced noise are removed, so as to achieve a better license plate enhancement effect.
- the card bottom and the font with different brightness can be distinguished and denoised, and the denoising intensity of the font is lower than the bottom of the card.
- Denoising intensity may be generated after obtaining the target brightness image, the license plate augmentation device may generate a plurality of binarized images of the target brightness image, and further denoise the target brightness image for each binarized image to obtain more A target brightness image after denoising. In this way, it is possible to achieve the effect of distinguishing and denoising the fonts and the bottoms of different brightnesses.
- the brightness relationship between the card bottom and the font in the license plate image may be determined according to the card bottom color of the license plate. That is to say, in the license plate image to be processed, there is a magnitude relationship between the brightness of the pixel point associated with the card bottom and the brightness of the pixel point associated with the font, and the relationship is based on the card bottom color of the license plate image in the license plate image to be processed. definite. Further, it can be determined that there is a magnitude relationship between the brightness of the pixel point associated with the card base and the brightness of the pixel point associated with the font in the target brightness image of the license plate image to be processed.
- each pixel in each binarized image has only two types of values, and each pixel has a value based on the brightness of each point in the target brightness image and the brightness corresponding to the binarized image.
- the field value interval is determined. That is, in the target luminance image, the pixel points whose luminance belongs to the luminance domain value interval have the same value in the pixel corresponding to the position in the binary image, and the luminance does not belong to the pixel of the luminance domain value interval at the binary value.
- the pixels corresponding to the positions in the image have the same other value.
- the pixel points having the same value in the binarized image are pixel points associated with the same object, and the object can be a card base or a font.
- the first type of pixel related to the card bottom in the binarized image can be determined according to the data of each pixel in the binarized image and the brightness relationship between the card base and the font in the license plate image to be processed.
- the second type of pixel associated with the font can be determined according to the data of each pixel in the binarized image and the brightness relationship between the card base and the font in the license plate image to be processed.
- the method for generating the binary image 1 corresponding to the image of the to-be-processed license plate is: setting the gradation value of the pixel whose brightness is lower than the value A in the target brightness image to 255, and the brightness of the pixel not lower than the value A
- the gray value is set to 0.
- the pixel whose brightness is lower than the value A in the target brightness image can be regarded as the card in the image of the license plate to be processed.
- the pixel associated with the bottom is considered to be a pixel point whose luminance is not lower than the value A as a pixel associated with the font in the license plate image to be processed. That is, it can be determined that in the binarized image 1, a pixel having a gray value of 255 is a first type of pixel associated with the bottom of the card, and a pixel having a gray value of 0 is a second associated with the font. Class pixel points.
- each of the first type of pixel points and each of the second type of pixels may be determined.
- the coordinate position of the point in the binarized image For each of the first type of pixel points, the same pixel position as the position of the first type of pixel point can be determined in the target luminance image as the third type of pixel point.
- the same pixel position as the second type of pixel can be determined in the target luminance image as the fourth type of pixel.
- the first type of pixel is the pixel associated with the bottom of the card in the binarized image
- the second type of pixel is the pixel associated with the font in the binarized image.
- the third type of pixel point is a pixel point related to the bottom of the target brightness image
- the fourth type of pixel point is a pixel point related to the font in the target brightness image.
- the denoising strength of the font can be made lower than the denoising intensity of the bottom of the card.
- the third type of pixel point is a pixel point related to the card bottom in the target brightness image
- the fourth type of pixel point is a pixel point related to the font in the target brightness image. Therefore, in order to ensure that the denoising strength of the font is lower than the denoising intensity of the bottom of the card, when the target luminance image is denoised, the denoising intensity of the third type of pixel can be higher than the denoising intensity of the fourth type of pixel.
- the denoising rule denoises each pixel in the target luminance image. That is, when denoising the target luminance image for each binarized image, the denoising intensity relationship of each pixel in the target luminance image satisfies: the denoising intensity of the pixel associated with the bottom of the card is higher than the pixel associated with the font. Denoising intensity.
- the denoising intensity of the pixel associated with the card bottom is higher than the denoising intensity of the pixel associated with the font, and the target brightness for each binarized image.
- the specific performance of the denoising intensity relationship of each pixel in the image is as follows:
- the higher the denoising intensity corresponding to the binarized image with the lower luminance region value interval the higher the corresponding binarized image corresponding to the luminance region value interval.
- the lower the noise intensity that is, for any two binarized images A and B, if the luminance field value interval corresponding to the binarized image A is lower than the luminance domain value interval corresponding to the binarized image B, then the binary value The denoising intensity corresponding to the image A is higher than the denoising intensity corresponding to the binarized image B.
- the denoising intensity corresponding to each binarized image may be the same. That is, the same denoising parameter is used; the difference may be different, that is, the lower the denoising intensity corresponding to the binarized image corresponding to the lower range of the brightness region value, the higher the corresponding binarized image corresponding to the binning image range. The lower the noise intensity.
- the lower the denoising intensity corresponding to the binarized image with the lower luminance region value interval the higher the corresponding binarized image corresponding to the luminance region value interval.
- the higher the noise intensity that is, for any two binarized images C and D, if the luminance field value interval corresponding to the binarized image C is lower than the luminance domain value interval corresponding to the binarized image D, then the binary value
- the denoising intensity corresponding to the image C is lower than the denoising intensity corresponding to the binarized image D.
- the denoising intensity corresponding to each binarized image may be the same. That is, the same denoising parameter is used; or the denoising intensity corresponding to the binarized image with the lower luminance region value interval is lower, and the binarized image corresponding to the higher luminance region value interval corresponds to The higher the noise level.
- the method for denoising the target luminance image for each binarized image may be: separately filtering each pixel point in the target luminance image, wherein the filtering parameter is a factor affecting the denoising intensity.
- the denoising algorithm used in the embodiments of the present application may include, but is not limited to, a Gaussian denoising algorithm. Among them, the function expression of the Gaussian denoising algorithm is as follows:
- binaryH i is a binarized image i
- G(w i , ⁇ i ) is a Gaussian convolution kernel corresponding to the binarized image i and belongs to a constant value
- x and y are image coordinate positions corresponding to the pixel points
- Y ( x, y) is the brightness of the pixel point whose image coordinate position is (x, y) in the target luminance image.
- the w i corresponding to different binarized images i may be the same, and the corresponding ⁇ i may be different, and the value of ⁇ i may be: ⁇ i ⁇ [0.4,1.0], specific:
- S105 generate a license plate enhanced brightness image based on each denoised target brightness image
- S106 Generate a license plate image after the license plate is enhanced based on the brightness image after the license plate is enhanced.
- the license plate enhanced brightness image may be generated based on each denoised target brightness image, and then determining the waiting based on the license plate enhanced brightness image.
- the image of the license plate enhanced by the license plate corresponding to the image is processed.
- the license plate enhanced license plate image may be generated based on the license plate enhanced brightness image and the image of the UV space corresponding to the license plate image to be processed.
- the color mode of the license plate image after the license plate is enhanced is the same as the color mode of the license plate image to be processed.
- the respective denoised target brightness images may be directly accumulated.
- the accumulated result is normalized to obtain the enhanced image of the license plate.
- the denoised target luminance images can be weighted and fused, and the weighted fusion is performed.
- the subsequent results are normalized to obtain a luminance image after the license plate is enhanced.
- the weighted fusion fusion weights may include, but are not limited to, empirical values.
- the license plate enhancement method In the license plate enhancement method provided by the embodiment of the present application, after the contrast enhancement processing is performed on the luminance image corresponding to the license plate image to obtain the target luminance image, a plurality of binarized images corresponding to the target luminance image are generated, and for each Binarized image, based on the brightness relationship between the card base and the font in the image of the license plate to be processed, determining the first type of pixel points related to the card bottom and the second type of pixel points related to the font in the binarized image, and from the target Determining, in the luminance image, a third type of pixel point corresponding to the first type of pixel point position and a fourth type of pixel point corresponding to the second type of pixel point position, and the denoising intensity according to the third type of pixel point is higher than the fourth type of pixel
- the denoising rule of the denoising intensity of the point is used to denoise the target brightness image; and then based on the denoised target brightness image, a license
- the license plate image visible, this scheme can distinguish the card base and font with different brightness, and make the denoising strength of the font lower than the denoising of the bottom of the card. Degree, therefore, the purpose of ensuring the clarity of the card while ensuring the clarity of the font while realizing the requirement of the license plate font and the card bottom contrast.
- a license plate enhancement method provided by an embodiment of the present application may include the following steps:
- S201-S202 is the same as S101-S102 in the foregoing embodiment, and details are not described herein.
- S203-S204 is a specific implementation manner of generating a plurality of binarized images corresponding to the target brightness image in the above embodiment S103.
- the license plate enhancement device takes into account the difference between the card base and the font brightness after obtaining the target brightness image, and therefore, the histogram can be first normalized from the brightness of the target brightness image.
- a plurality of segmentation values for binarized image generation are determined, and then a plurality of binarized images are generated based on the plurality of segmentation values.
- a segmentation value is a gray value.
- FIGS. 3(a) and (b) respectively show schematic diagrams of the segmentation values in the luminance normalized histogram, and the vertical line of the vertical abscissa indicates the position where the segmentation value is located, that is, the histogram segmentation boundary.
- the step of determining a plurality of segmentation values for binarized image generation from the plurality of grayscale values of the luminance normalized histogram of the target luminance image can be included:
- Step B1 determining a plurality of segmentation values for binarized image generation from the plurality of grayscale values of the luminance normalized histogram of the target luminance image by big data analysis.
- the plurality of segmentation values determined based on the empirical value that is, the determined plurality of segmentation values are determined empirical values, so that each time the target luminance image is obtained, A plurality of segmentation values for binarized image generation are determined directly from a plurality of grayscale values of the luminance normalized histogram of the target luminance image.
- the determined values of the plurality of segmentation values may be different.
- the step of determining a plurality of segmentation values for binarized image generation from the plurality of grayscale values of the luminance normalized histogram of the target luminance image can be included:
- Step C1 Perform secondary derivation on the brightness normalized histogram of the target brightness image
- Step C2 using a minimum value point obtained by the second derivative as a single-peak valley candidate point corresponding to the brightness normalized histogram of the target brightness image;
- Step C3 Obtain a plurality of segmentation values for binarized image generation from the determined unimodal trough candidate points.
- the brightness enhancement image corresponding to the to-be-processed license plate image is subjected to contrast enhancement processing, and after the target brightness image is obtained, a brightness normalized histogram of the target brightness image may be generated. Furthermore, the luminance normalized histogram can be secondarily derived, and the minimum value obtained by the second derivative is used as the single peak trough candidate point corresponding to the luminance normalized histogram of the target luminance image. . And further, from the determined single-peak trough candidate points, a plurality of segmentation values for binarized image generation are obtained.
- the result obtained by second deriving the brightness normalized histogram of the target brightness image is the inflection point of the brightness normalized histogram curve, that is, the obtained single peak trough candidate point is the brightness normalization
- the inflection point of the histogram curve indicates the concavity and convexity of the luminance distribution of each pixel in the expressed target luminance image. Since the luminance normalized histogram curve is not absolutely smooth or can be expressed by a certain function, when the second derivative of the luminance normalized histogram of the target luminance image is secondarily derived, the second derivative is 0. The results may not all be used to generate a binarized image and, therefore, can only be used as a single peak trough candidate.
- the unimodal trough candidate points include points corresponding to the concave distribution in the luminance distribution of each pixel in the target luminance image, and in the embodiment of the present application, the determined gradation value corresponding to the gradation value is selected The point may be only a point corresponding to the convex distribution in the luminance distribution of each pixel in the target luminance image. Based on this, a specific implementation of how to obtain a plurality of segmentation values for binarized image generation from the determined unimodal trough candidate points can be provided subsequently.
- some single-peak trough candidate points may be selected from the single-peak trough candidate points in a random manner.
- the step of obtaining a plurality of segmentation values for binarized image generation from the determined single-peak trough candidate points may include the following steps D1-D3:
- Step D1 constructing a set containing the determined unimodal trough candidate points
- Step D2 Fitting at least one type of distribution curve between the pair of unimodal trough candidate points for each pair of adjacent unimodal trough candidate points in the set, and calculating the at least one type of distribution curve and the pair of unimodal troughs The similarity of the histogram curves between the alternative points.
- the histogram curve between the candidate points of the pair of single-peak troughs is: a normalized histogram curve corresponding to the brightness of the pair of single-peak troughs in the normalized histogram of the brightness of the target brightness image. Further, when the maximum value of the calculated similarities is greater than a predetermined similarity threshold, the pair of single-peak trough candidate points is determined as a segmentation value of the binarized image used to generate the target luminance image, otherwise, A single-peak trough candidate point having a larger value in the unimodal trough candidate point is removed from the target set;
- Step D3 returning to perform a step of fitting at least one type of distribution curve between the pair of adjacent single-peak valleys for each pair of adjacent single-peak valleys in the set until all the single-peak waves in the set are prepared The selected points are used as the split values for binarized image generation.
- the number of candidate points of the single-peak trough is L
- the candidate point of each single-peak trough is h j
- the values of the individual unimodal trough candidate points gradually increase.
- h 1 and h 2 can be used as a pair of adjacent single-peak troughs
- h 2 and h 3 can be used as one
- each pair of adjacent unimodal trough candidate points in the set can be determined.
- At least one type of distribution curve between the pair of unimodal trough alternative points can be fitted. specific:
- a fitting parameter of the at least one type of distribution curve between the pair of unimodal trough candidate points is determined, and at least one type of distribution curve is obtained based on the fitting parameter.
- the manner of determining each of the fitting parameters may include, but is not limited to, a maximum likelihood method.
- the similarity between the at least one type of distribution curve and the histogram curve between the pair of single-peak valley candidate points can be calculated.
- the manner of calculating the similarity between the at least one type of distribution curve and the histogram curve between the pair of single-peak valley candidate points may include, but is not limited to, a correlation coefficient method.
- the pair of unimodal trough candidate points is determined whether the maximum value of the calculated similarities is greater than a predetermined similarity threshold, and when the determination result is YES, determining the pair of unimodal trough candidate points as a binarized image for generating a target luminance image The segmentation value; otherwise, the single-peak valley candidate point having a larger value in the single-peak valley candidate point is removed from the above set. Further, the above process is performed for the next pair of adjacent unimodal trough candidate points.
- At least one type of distribution curve between the pair of unimodal trough candidate points obtained by fitting to any pair of adjacent unimodal trough candidate points remaining in the above set The maximum values of the plurality of similarities of the histogram curves between the pair of unimodal troughs are larger than the predetermined similarity threshold, that is, all the unimodal trough candidate points remaining in the set may be used as the target brightness image.
- the segmentation value of the binarized image may be used as the target brightness image.
- each single peak in a luminance normalized histogram is fitted by a unimodal distribution function, and each single peak is used as a boundary of a layer, and the actual brightness is returned.
- each single peak is not necessarily symmetrical, so at least one type of distribution function, that is, a distribution set, may be employed in determining the segmentation value of the binarized image used to generate the target luminance image.
- the Gaussian distribution curve, the Cauchy distribution curve and the Weber distribution curve can cover the waveform of the brightness normalized histogram of a large number of license plate brightness images, and therefore, the fitting the pair
- the step of at least one type of distribution curve between the candidate points of the peak wave valley may include: fitting at least one of a Gaussian distribution curve, a Cauchy distribution curve, and a Weber distribution curve between the pair of single peak trough candidate points.
- the function expressions for the three types of distribution curves are as follows:
- x is the abscissa in the luminance normalized histogram of the target luminance image
- the value range is the abscissa range corresponding to the fitting segment
- ⁇ is the abscissa corresponding to the maximum value in the fitting segment
- ⁇ ⁇ is the fitting parameter of the Gaussian distribution
- ⁇ is the fitting parameter of the Cauchy distribution
- k is the fitting parameter of the Weber distribution.
- h j and h j+1 can be used as a fitting segment, and the abscissa range of the fitting segment is [h j , h j+1 ], and the fitting parameters of each distribution curve are estimated by the maximum likelihood method, thereby obtaining Three types of distribution curves: Then, calculate a histogram curve between each distribution curve and the candidate point of the pair of single-peak valleys The degree of similarity; when the maximum value of the calculated similarities is greater than the predetermined similarity threshold, the pair of single-peak trough candidate points h j and h j+1 are determined as binarized images for generating the target luminance image
- the segmentation value otherwise, the single-peak valley candidate point h j+1 having a larger value in the candidate point of the single-peak wave is removed from the set, and at this time, h j and h j+2 in the set are Two adjacent single-peak valleys, that is, h j and h j+2 can be used as a fitting segment.
- the specific implementation manner of determining the plurality of segmentation values for the binarized image generation is merely an example. It should not be construed as limiting the embodiment of the present application. In a specific application, other methods may be used to determine the binarized image generation from the plurality of gray values of the luminance normalized histogram of the target luminance image. Multiple split values.
- a plurality of binarized images corresponding to the target luminance image may be generated based on the plurality of luminance segmentation points.
- the step of generating a plurality of binarized images corresponding to the target brightness image based on the plurality of segmentation values may include the following step E1:
- Step E1 For each segmentation value, the segmentation value is used as a brightness threshold required for the binarization process, and the target luminance image is binarized to obtain a binarized image.
- the repetition frequency of the pixel associated with the card bottom is higher than the repetition frequency of the pixel associated with the font.
- binarization For example: suppose the partition value is 50, 100, 150, 200, and the brightness of the font is higher than the brightness of the bottom of the card.
- binarization The image is generated by selecting a pixel with a gray value of not more than 50 in the target brightness image to generate a binarized image, and selecting a pixel with a gray value of not more than 100 in the target brightness image to generate a binarized image, and selecting a target.
- a binarized image is generated from a pixel having a gray value of not more than 150 in the luminance image, and a binarized image is generated by selecting a pixel having a gray value of not more than 200 in the target luminance image.
- the process of generating the binarized image may be:
- the gray value of the pixel with the gray value of not more than 50 in the target brightness image to 255, and set the gray value of other pixels to 0 to obtain a binarized image with only black and white visual effects;
- the gray value of the pixel whose gray value is not greater than 100 is set to 255, and the gray value of the other pixel is set to 0, and another binary image with only black and white visual effects is obtained; the target brightness is obtained.
- the gray value of the pixel with the gray value of not more than 150 in the image is set to 255, and the gray value of other pixels is set to 0, and a binarized image with only black and white visual effects is obtained; the target brightness image is obtained.
- the gray value of the pixel with the medium gray value of not more than 200 is set to 255, and the gray value of the other pixel points is set to 0, and a binarized image with only black and white visual effects is obtained.
- the process of generating the binary image may be for:
- the logical value of the pixel with the gray value not greater than 100 is set to 1, and the logical value of the other pixel is set to 0, resulting in another binarized image with only black and white visual effects;
- the logical value of the pixel whose value is not greater than 150 is set to 1, and the logical value of the other pixel is set to 0, and a binarized image with only black and white visual effects is obtained;
- the gray value of the target luminance image is not greater than
- the logical value of the pixel of 200 is set to 1, and the logical value of the other pixel is set to 0, and a binarized image with only black and white visual effects is obtained.
- the binarized image The process of generating is: selecting a pixel with a gray value greater than 50 in the target brightness image to generate a binarized image, and selecting a pixel with a gray value greater than 100 in the target brightness image to generate a binarized image, and selecting a target brightness image.
- a pixel with a gray value greater than 150 generates a binarized image
- a pixel with a gray value greater than 200 in the target luminance image is selected to generate a binarized image.
- the process of generating the binarized image may be:
- the gray value of the pixel with the gray value greater than 50 in the target brightness image to 255, and set the gray value of other pixels to 0 to obtain a binarized image with only black and white visual effects;
- the gray value of the pixel with the gray value greater than 100 in the image is set to 255, and the gray value of the other pixel is set to 0, and another binary image with only black and white visual effects is obtained;
- the gray value of the pixel with the gray value greater than 150 is set to 255, and the gray value of the other pixel is set to 0, and a binarized image with only black and white visual effects is obtained; the gray of the target brightness image is obtained.
- the gray value of the pixel whose value is greater than 200 is set to 255, and the gray value of the other pixel is set to 0, and another image template binarized image with only black and white visual effects is obtained.
- the process of generating the binary image may be for:
- the step of generating a plurality of binarized images corresponding to the target brightness image based on the plurality of segmentation values may include the following step F1:
- Step F1 determining, for each luminance segmentation point, a first interval between the segmentation value and a first neighboring segmentation value corresponding to the segmentation value, and using the first segment as a luminance domain value interval required for binarization processing,
- the target brightness image is binarized to obtain a binarized image
- the first neighboring partition value is: a segmentation value having the largest value among the segmentation values smaller than the segmentation value;
- the process of generating the binarized image is: determining that each of the first intervals is: (0, 50), (50, 100], (100, 150), and (150, 200). Selecting the gray value in the target brightness image to generate a binarized image at the pixel of the range (0, 50), and selecting the gray value in the target brightness image to generate a binarized image at the pixel of the range (50, 100), and selecting the target The gray value in the luminance image generates a binarized image at the pixel of the range (100, 150), and the gray value in the target luminance image is selected to construct a binarized image at the pixel of the range (150, 200).
- the process of generating the binarized image may be:
- the process of generating the binary image may be for:
- the logical value of the pixel value in the target luminance image is set to 1 in the range (0, 50), and the logical value of the other pixel is set to 0, to obtain a binarized image with only black and white visual effects;
- Set the logical value of the grayscale value in the target luminance image to 1 in the range (50, 100), and set the logical value of the other pixel to 0 to obtain another binarized image with only black and white visual effects;
- the logical value of the pixel value in the range (100, 150) is set to 1, and the logical value of the other pixel is set to 0, and a binarized image with only black and white visual effects is obtained;
- the logical value of the pixel value in the range (150, 200) is set to 1, and the logical value of the other pixel is set to 0, and a binarized image with only black and white visual effects is obtained.
- the step of generating a plurality of binarized images corresponding to the target brightness image based on the plurality of segmentation values may include the following step G1:
- Step G1 determining, for each luminance segmentation point, a second interval between the segmentation value and a second neighboring segmentation value corresponding to the segmentation value, and using the second segment as a luminance domain value interval required for binarization processing,
- the target brightness image is binarized to obtain a binarized image
- the second neighboring partition value is: a segmentation value having the smallest value among the plurality of segmentation values greater than the segmentation value.
- the process of generating the binarized image is: determining that each of the second intervals is: [50, 100), [100, 150), [150, 200), and [200, 255). Then, a pixel image of the target brightness image is selected to generate a binarized image at a pixel of the range [50, 100), and a pixel image of the target brightness image is selected to generate a binarized image at a pixel of the range [100, 150), and the target brightness is selected.
- the gray value in the image generates a binarized image at the pixel of the range [150, 200), and the pixel of the target luminance image with the gray value in the range [200, 255) is selected as a binarized image.
- the process of generating the binarized image may be:
- the gray value of the pixel in the target brightness image in the range [50, 100) is set to 255, and the gray value of the other pixels is set to 0, to obtain a binarized image with only black and white visual effects;
- the gray value of the pixel in the target brightness image in the range [200, 255) is set to 255, and the gray value of the other pixels is set to 0, and another binarization of only black and white visual effects is obtained. image.
- the process of generating the binary image may be for:
- the logical value of the pixel in the target luminance image to the range of [50, 100) to 1 and the logical value of the other pixel to 0 to obtain a binary image with only black and white visual effects;
- the logical value of the pixel with the gray value in the range [100, 150) is set to 1, and the logical value of the other pixel is set to 0, and another binary image with only black and white visual effects is obtained; the target brightness is obtained.
- the logical value of the pixel whose gray value is in the range [150, 200) is set to 1, and the logical value of the other pixel is set to 0, and a binary image with only black and white visual effects is obtained; the target brightness image is obtained.
- the logical value of the pixel with the medium gray value in the range [200, 255) is set to 1, and the logical value of the other pixel is set to 0, resulting in a binarized image with only black and white visual effects.
- S205 Determine, according to the brightness relationship between the card base and the font in the image of the to-be-processed license plate, for each binarized image, determining a first type of pixel point related to the card bottom and a second class related to the font in the binarized image. a pixel point, and determining, from the target brightness image, a third type of pixel point corresponding to the first type of pixel point position and a fourth type of pixel point corresponding to the second type of pixel point position, according to the third type of pixel point
- the denoising intensity is higher than the denoising rule of the denoising intensity of the fourth type of pixel, and the target brightness image is denoised;
- the implementation of the denoising of the target luminance image is the same for each binarized image in S104 in the embodiment and is not described herein.
- the license plate enhanced brightness image may be generated based on each denoised target brightness image, and then determined based on the license plate enhanced brightness image.
- the respective denoised target luminance images may be directly accumulated, and the accumulated result is normalized, thereby Obtaining a brightness image after the license plate is enhanced;
- the denoised target luminance images may be weighted and fused, and the weighted and fused results are normalized. Thereby, the brightness image after the license plate is enhanced is obtained.
- the weighted fusion fusion weights may include, but are not limited to, empirical values.
- weighting and merging the denoised target luminance images may be performed to obtain a license plate enhanced brightness.
- the respective brightness values corresponding to the image are: the brightness values in the luminance field value interval corresponding to the binarized image corresponding to the de-noised target brightness image.
- the merged result can also be normalized to obtain the license plate.
- Enhanced brightness image In order to ensure that the gray level of the brightness image after the license plate is enhanced is located at [0, 255], after the weighted fusion of the respective de-noised target brightness images, the merged result can also be normalized to obtain the license plate. Enhanced brightness image.
- the fusion weight For example, for a license plate whose brightness is higher than the brightness of the bottom of the card (for example, the license plate type is blue), the fusion weight
- V i is the fusion weight of the denoised target luminance image corresponding to the binarized image i
- k is the abscissa of the luminance normalized histogram
- hist(k) is the horizontal coordinate k of the luminance normalized histogram
- m is the segmentation value corresponding to the binarized image i;
- the weighted fusion result FI i is the denoising result of the denoised target luminance image corresponding to the binarized image i.
- the fusion weight is the fusion weight of the denoised target luminance image corresponding to the binarized image i
- k is the abscissa of the luminance normalized histogram
- hist(k) is the horizontal coordinate k of the luminance normalized histogram
- m is the segmentation value corresponding to the binarized image i
- the weighted fusion result FI i is the denoised target luminance image denoising result corresponding to the binarized image i.
- the license plate enhanced license plate image can be generated based on the license plate enhanced brightness image and the image of the UV space corresponding to the license plate image to be processed.
- the color mode of the license plate image after the license plate is enhanced is the same as the color mode of the license plate image to be processed.
- FIG. 4 is given, wherein FIG. 4( a ) is a license plate image to be processed, and FIG. 4( b ) is a license plate provided by using the method provided by the embodiment of the present application.
- the enhanced license plate image can be seen that the method provided by the present application can realize the reduction of the card bottom noise while ensuring the definition of the font while ensuring the license plate font and the card bottom contrast requirement.
- the scheme can distinguish the card bottom and the font with different brightness, and make the denoising intensity of the font lower than the denoising intensity of the bottom of the card. Therefore, under the premise of ensuring the license plate font and the card bottom contrast requirement, the solution is reduced. The purpose of the card bottom noise while ensuring the clarity of the font.
- the embodiment of the present application further provides a license plate augmenting device.
- the license plate augmenting device may include:
- An image obtaining unit 510 configured to obtain a license plate image to be processed
- a contrast enhancement unit 520 configured to perform contrast enhancement processing on the brightness image corresponding to the to-be-processed license plate image to obtain a target brightness image
- the image segmentation unit 530 is configured to generate a plurality of binarized images corresponding to the target brightness image; wherein the different binarized images correspond to different brightness domain value intervals;
- the denoising unit 540 is configured to determine, according to the brightness relationship between the card base and the font in the to-be-processed license plate image for each binarized image, the first type of pixel points and the related to the card bottom in the binarized image. a second type of pixel associated with the font, and determining, from the target brightness image, a third type of pixel corresponding to the first type of pixel position and a fourth type of pixel corresponding to the second type of pixel position Pointing, denoising the target brightness image according to a denoising rule that the denoising intensity of the third type of pixel is higher than the denoising intensity of the fourth type of pixel;
- the image enhancement result generating unit 550 is configured to generate a license plate enhanced brightness image based on each denoised target brightness image.
- the license plate enhancement result generating unit 560 is configured to generate a license plate enhanced license plate image based on the license plate enhanced brightness image.
- the license plate enhancement device performs contrast enhancement processing on the brightness image corresponding to the license plate image to obtain a target brightness image, and generates a plurality of binarized images corresponding to the target brightness image, and for each of the two
- the valued image is determined based on the brightness relationship between the bottom of the card and the font in the image of the license plate to be processed, and the first type of pixel associated with the bottom of the binary image and the second type of pixel associated with the font are determined from the target brightness.
- a third type of pixel point corresponding to the position of the first type of pixel point and a fourth type of pixel point corresponding to the position of the second type of pixel point are determined in the image, and the denoising intensity according to the third type of pixel point is higher than the fourth type of pixel point Denoising rule of denoising intensity, denoising the target brightness image; generating a license plate enhanced brightness image based on each denoised target brightness image, and generating a license plate enhanced image based on the license plate enhanced brightness image License plate image. It can be seen that the scheme can distinguish the card bottom and the font with different brightness, and make the denoising intensity of the font lower than the denoising intensity of the bottom of the card. Therefore, under the premise of ensuring the license plate font and the card bottom contrast requirement, the solution is reduced. The purpose of the card bottom noise while ensuring the clarity of the font.
- the image dividing unit 530 may include:
- a segmentation value determining subunit configured to determine a plurality of segmentation values for binarized image generation from a plurality of grayscale values of a luminance normalized histogram of the target luminance image
- the segmentation value determining subunit is specifically configured to:
- the minimum value obtained by the second derivation is used as the unimodal trough candidate point corresponding to the luminance normalized histogram of the target luminance image;
- the segmentation value determining subunit determines a plurality of segmentation values used for binarized image generation from the plurality of grayscale values of the luminance normalized histogram of the target luminance image, specifically:
- Points are used as the segmentation values for binarized image generation.
- segmentation subunit is specifically configured to:
- the segmentation value For each segmentation value, the segmentation value is used as a brightness threshold required for the binarization process, and the target luminance image is binarized to obtain a binarized image.
- segmentation subunit is specifically configured to:
- the first neighboring segmentation value is: a segmentation value having a largest value among the segmentation values smaller than the segmentation value;
- the image is binarized to obtain a binarized image; wherein the second neighboring segmentation value is: a segmentation value having the smallest value among the segmentation values greater than the segmentation value.
- the image enhancement result generating unit 550 is specifically configured to:
- each brightness value corresponding to the de-noised target brightness image is: corresponding to the binarized image corresponding to the de-noized target brightness image The luminance value in the interval of the luminance field value.
- the embodiment of the present application further provides an electronic device; as shown in FIG. 6, the electronic device includes: an internal bus 610, a memory 620, a processor 630, and a communication interface. (Communications Interface) 640; wherein the processor 630, the communication interface 640, and the memory 620 complete communication with each other through the internal bus 610;
- Communication Interface Communication Interface
- the memory 620 is configured to store a machine feasible instruction corresponding to the license plate enhancement method
- the processor 630 is configured to read the machine readable instructions on the memory 620 and execute the instructions to implement a license plate enhancement method provided by the present application.
- a license plate enhancement method includes:
- the first type of pixel associated with the card bottom and the second type of pixel associated with the font are determined in the binarized image. a point, and determining, from the target brightness image, a third type of pixel point corresponding to the first type of pixel point position and a fourth type of pixel point corresponding to the second type of pixel point position, according to the third
- the denoising intensity of the pixel-like point is higher than the denoising rule of the denoising intensity of the fourth type of pixel, and the target brightness image is denoised;
- the license plate image after the license plate is enhanced is generated based on the enhanced brightness image of the license plate.
- the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
Description
Claims (10)
- 一种车牌增强方法,其特征在于,包括:获得待处理车牌图像;对所述待处理车牌图像对应的亮度图像进行对比度增强处理,得到目标亮度图像;生成所述目标亮度图像对应的多个二值化图像;其中,不同二值化图像对应不同的亮度域值区间;针对每一二值化图像,基于所述待处理车牌图像中牌底与字体的亮度关系,确定该二值化图像中与牌底相关的第一类像素点和与字体相关的第二类像素点,并从所述目标亮度图像中确定与所述第一类像素点位置对应的第三类像素点和与所述第二类像素点位置对应的第四类像素点,按照所述第三类像素点的去噪强度高于所述第四类像素点的去噪强度的去噪规则,对所述目标亮度图像进行去噪;基于各个去噪后的目标亮度图像,生成车牌增强后的亮度图像;基于车牌增强后的亮度图像,生成车牌增强后的车牌图像。
- 根据权利要求1所述的方法,其特征在于,所述生成所述目标亮度图像对应的多个二值化图像的步骤,包括:从所述目标亮度图像的亮度归一化直方图的多个灰度值中,确定用于二值化图像生成的多个分割值;基于所述多个分割值,生成所述目标亮度图像对应的多个二值化图像。
- 根据权利要求2所述的方法,其特征在于,所述从所述目标亮度图像的亮度归一化直方图的多个灰度值中,确定用于二值化图像生成的多个分割值的步骤,包括:对所述目标亮度图像的亮度归一化直方图进行二次求导;将二次求导所得的极小值点,作为所述目标亮度图像的亮度归一化直方图所对应的单峰波谷备选点;从所确定的单峰波谷备选点中,获得用于二值化图像生成的多个分割值。
- 根据权利要求3所述的方法,其特征在于,所确定的单峰波谷备选点的数量为多个;所述从所确定的单峰波谷备选点中,获得用于二值化图像生成的多个分割值的步骤,包括:构建包含所确定的单峰波谷备选点的集合;针对所述集合中每对相邻的单峰波谷备选点,拟合该对单峰波谷备选点间的至少一类分布曲线,计算所述至少一类分布曲线与该对单峰波谷备选点间的直方图曲线的相似度,当所计算出的相似度中的最大值大于预定相似度阈值时,将该对单峰波谷备选点确定为用于二值化图像生成的分割值,否则,将该对单峰波谷备选点中的值较大的单峰波谷备选点从所述目标集合中去除;返回执行针对所述集合中每对相邻的单峰波谷备选点,拟合该对单峰波谷备选点间的至少一类分布曲线的步骤,直至所述集合中所有单峰波谷备选点均作为用于二值化图像生成的分割值。
- 根据权利要求4所述的方法,其特征在于,所述拟合该对单峰波谷备选点间的至少一类分布曲线的步骤,包括:拟合该对单峰波谷备选点间的高斯分布曲线、柯西分布曲线和韦伯分布曲线中的至少一类曲线。
- 根据权利要求2所述的方法,其特征在于,所述基于所述多个分割值,生成所述目标亮度图像对应的多个二值化图像的步骤,包括:针对每一分割值,以该分割值作为二值化处理所需的亮度阈值,对所述目标亮度图像进行二值化处理,得到二值化图像。
- 根据权利要求2所述的方法,其特征在于,所述基于所述多个分割值,生成所述目标亮度图像对应的多个二值化图像的步骤,包括:针对每一分割值,确定该分割值和该分割值对应的第一邻近分割值之间的第一区间,以第一区间作为二值化处理所需的亮度域值区间,对所述目标亮度图像进行二值化处理,得到二值化图像;其中,所述第一邻近分割值为:小于该分割值的各个分割值中数值最大的分割值;或者,针对每一分割值,确定该分割值和该分割值对应的第二邻近分割值之间的第二区间,以第二区间作为二值化处理所需的亮度域值区间,对所述目标亮度图像进行二值化处理,得到二值化图像;其中,所述第二邻近分割值为:大于该分割值的各个分割值中数值最小的分割值。
- 根据权利要求6所述的方法,其特征在于,所述各个去噪后的目标亮度图像,生成车牌增强后的亮度图像的步骤,包括:对各个去噪后的目标亮度图像进行加权融合,得到车牌增强后的亮度图像;其中,任一去噪后的目标亮度图像所对应的融合权重是基于所述亮度归一化直方图中,该去噪后的目标亮度图像对应的各个亮度值的纵坐标所确定的,该去噪后的目标亮度图像对应的各个亮度值为:该去噪后的目标亮度图像对应的二值化图像所对应的亮度域值区间中的亮度值。
- 一种车牌增强装置,其特征在于,包括:图像获得单元,用于获得待处理车牌图像;对比度增强单元,用于对所述待处理车牌图像对应的亮度图像进行对比度增强处理,得到目标亮度图像;图像分割单元,用于生成所述目标亮度图像对应的多个二值化图像;其中,不同二值化图像对应不同的亮度域值区间;去噪单元,用于针对每一二值化图像,基于所述待处理车牌图像中牌底与字体的亮度关系,确定该二值化图像中与牌底相关的第一类像素点和与字体相关的第二类像素点,并从所述目标亮度图像中确定与所述第一类像素点位置对应的第三类像素点和与所述第二类像素点位置对应的第四类像素点,按照所述第三类像素点的去噪强度高于所述第四类像素点的去噪强度的去噪规则,对所述目标亮度图像进行去噪;图像增强结果生成单元,用于基于各个去噪后的目标亮度图像,生成车牌增强后的亮度图像;车牌增强结果生成单元,用于基于车牌增强后的亮度图像,生成 车牌增强后的车牌图像。
- 一种电子设备,其特征在于,所述电子设备包括:内部总线、存储器、处理器和通信接口;其中,所述处理器、所述通信接口、所述存储器通过所述内部总线完成相互间的通信;其中,所述存储器,用于存储车牌增强方法对应的机器可行指令;所述处理器,用于读取所述存储器上的所述机器可读指令,并执行所述指令以实现权利要求1-8任一项所述的车牌增强方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810362070.XA CN110390643B (zh) | 2018-04-20 | 2018-04-20 | 一种车牌增强方法、装置及电子设备 |
CN201810362070.X | 2018-04-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019201184A1 true WO2019201184A1 (zh) | 2019-10-24 |
Family
ID=68240413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/082542 WO2019201184A1 (zh) | 2018-04-20 | 2019-04-12 | 一种车牌增强方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110390643B (zh) |
WO (1) | WO2019201184A1 (zh) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111797694A (zh) * | 2020-06-09 | 2020-10-20 | 浙江大华技术股份有限公司 | 一种车牌检测方法及装置 |
CN111898599A (zh) * | 2020-07-10 | 2020-11-06 | 浙江大华技术股份有限公司 | 一种车牌图像处理方法及装置 |
CN112133101A (zh) * | 2020-09-22 | 2020-12-25 | 杭州海康威视数字技术股份有限公司 | 增强车牌区域的方法、装置、摄像装置、计算设备及存储介质 |
CN114511770A (zh) * | 2021-12-21 | 2022-05-17 | 武汉光谷卓越科技股份有限公司 | 道路标识标牌识别方法 |
CN115797351A (zh) * | 2023-02-08 | 2023-03-14 | 山东第一医科大学(山东省医学科学院) | 一种光伏电池板的异常检测方法 |
CN116977230A (zh) * | 2023-09-22 | 2023-10-31 | 济宁市质量计量检验检测研究院(济宁半导体及显示产品质量监督检验中心、济宁市纤维质量监测中心) | 一种扫描电子显微镜图像优化增强方法 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111754440B (zh) * | 2020-06-29 | 2023-05-05 | 苏州科达科技股份有限公司 | 车牌图像增强方法、系统、设备及存储介质 |
CN117593192B (zh) * | 2024-01-18 | 2024-03-26 | 大连云间来客科技有限公司 | 一种妇科宫颈图像增强分析方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1085455A2 (en) * | 1999-09-15 | 2001-03-21 | Siemens Corporate Research, Inc. | License plate recognition with an intelligent camera |
CN103400121A (zh) * | 2013-08-06 | 2013-11-20 | 河海大学 | 基于彩色二值化图像的车牌定位方法 |
CN106815587A (zh) * | 2015-11-30 | 2017-06-09 | 浙江宇视科技有限公司 | 图像处理方法及装置 |
CN106886779A (zh) * | 2017-02-15 | 2017-06-23 | 厦门大学 | 一种荧光显微图像二值化的自适应阈值方法 |
CN107358795A (zh) * | 2017-07-17 | 2017-11-17 | 陈剑桃 | 一种有效的车牌识别系统 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291384B (zh) * | 2007-04-20 | 2010-05-26 | 致伸科技股份有限公司 | 图文分离及文字增强方法 |
CN100478993C (zh) * | 2007-07-13 | 2009-04-15 | 天津大学 | 根据边缘和亮度特征进行自适应调整的图像增强方法 |
CN102271254B (zh) * | 2011-07-22 | 2013-05-15 | 宁波大学 | 一种深度图像的预处理方法 |
CN104182947B (zh) * | 2014-09-10 | 2017-04-26 | 安科智慧城市技术(中国)有限公司 | 一种低照度图像增强方法和系统 |
CN104616259B (zh) * | 2015-02-04 | 2017-08-25 | 西安理工大学 | 一种噪声强度自适应的非局部均值图像去噪方法 |
CN105005973B (zh) * | 2015-06-30 | 2018-04-03 | 广东欧珀移动通信有限公司 | 一种图像快速去噪的方法及装置 |
CN106504281B (zh) * | 2016-12-02 | 2019-01-22 | 中国电子科技集团公司第四十四研究所 | 应用于cmos图像传感器的图像画质增强和滤波方法 |
-
2018
- 2018-04-20 CN CN201810362070.XA patent/CN110390643B/zh active Active
-
2019
- 2019-04-12 WO PCT/CN2019/082542 patent/WO2019201184A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1085455A2 (en) * | 1999-09-15 | 2001-03-21 | Siemens Corporate Research, Inc. | License plate recognition with an intelligent camera |
CN103400121A (zh) * | 2013-08-06 | 2013-11-20 | 河海大学 | 基于彩色二值化图像的车牌定位方法 |
CN106815587A (zh) * | 2015-11-30 | 2017-06-09 | 浙江宇视科技有限公司 | 图像处理方法及装置 |
CN106886779A (zh) * | 2017-02-15 | 2017-06-23 | 厦门大学 | 一种荧光显微图像二值化的自适应阈值方法 |
CN107358795A (zh) * | 2017-07-17 | 2017-11-17 | 陈剑桃 | 一种有效的车牌识别系统 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111797694A (zh) * | 2020-06-09 | 2020-10-20 | 浙江大华技术股份有限公司 | 一种车牌检测方法及装置 |
CN111797694B (zh) * | 2020-06-09 | 2024-05-28 | 浙江大华技术股份有限公司 | 一种车牌检测方法及装置 |
CN111898599A (zh) * | 2020-07-10 | 2020-11-06 | 浙江大华技术股份有限公司 | 一种车牌图像处理方法及装置 |
CN112133101A (zh) * | 2020-09-22 | 2020-12-25 | 杭州海康威视数字技术股份有限公司 | 增强车牌区域的方法、装置、摄像装置、计算设备及存储介质 |
CN114511770A (zh) * | 2021-12-21 | 2022-05-17 | 武汉光谷卓越科技股份有限公司 | 道路标识标牌识别方法 |
CN115797351A (zh) * | 2023-02-08 | 2023-03-14 | 山东第一医科大学(山东省医学科学院) | 一种光伏电池板的异常检测方法 |
CN116977230A (zh) * | 2023-09-22 | 2023-10-31 | 济宁市质量计量检验检测研究院(济宁半导体及显示产品质量监督检验中心、济宁市纤维质量监测中心) | 一种扫描电子显微镜图像优化增强方法 |
CN116977230B (zh) * | 2023-09-22 | 2024-01-02 | 济宁市质量计量检验检测研究院(济宁半导体及显示产品质量监督检验中心、济宁市纤维质量监测中心) | 一种扫描电子显微镜图像优化增强方法 |
Also Published As
Publication number | Publication date |
---|---|
CN110390643B (zh) | 2022-04-26 |
CN110390643A (zh) | 2019-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019201184A1 (zh) | 一种车牌增强方法、装置及电子设备 | |
CN111353497B (zh) | 一种身份证信息的识别方法和装置 | |
WO2017121018A1 (zh) | 二维码图像处理的方法和装置、终端、存储介质 | |
CN107209931B (zh) | 颜色校正装置和方法 | |
CN107784669A (zh) | 一种光斑提取及其质心确定的方法 | |
CN112819702B (zh) | 图像增强方法、装置、电子设备及计算机可读存储介质 | |
CN109871845B (zh) | 证件图像提取方法及终端设备 | |
CN107330433B (zh) | 图像处理方法和装置 | |
WO2015070723A1 (zh) | 眼部图像处理方法和装置 | |
CN108764358A (zh) | 一种太赫兹图像识别方法、装置、设备及可读存储介质 | |
CN109903294B (zh) | 图像处理方法、装置、电子设备及可读存储介质 | |
JP2008067387A (ja) | デジタル画像のテキストを識別する方法およびシステム | |
CN113487473B (zh) | 一种添加图像水印的方法、装置、电子设备及存储介质 | |
KR101549495B1 (ko) | 문자 추출 장치 및 그 방법 | |
CN105701491A (zh) | 固定格式文档图像模版的制作方法及其应用 | |
Srinivas et al. | Remote sensing image segmentation using OTSU algorithm | |
CN110210467B (zh) | 一种文本图像的公式定位方法、图像处理装置、存储介质 | |
CN111986176B (zh) | 一种裂纹图像识别方法、系统、终端及可读存储介质 | |
CN115564682A (zh) | 一种光照不均图像增强方法及系统 | |
Anandh et al. | Visual Enhancement of Underwater Images Using Transmission Estimation and Multi-Scale Fusion. | |
JP2007334876A (ja) | 文書イメージ処理システムおよび文書イメージ処理方法 | |
CN108564534A (zh) | 一种基于检索的图像对比度调整方法 | |
CN114022856A (zh) | 一种非结构化道路可行驶区域识别方法、电子设备及介质 | |
CN114529570A (zh) | 图像分割方法、图像识别方法、用户凭证补办方法及系统 | |
JP4202692B2 (ja) | 画像処理方法および装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19789002 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19789002 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19789002 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.05.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19789002 Country of ref document: EP Kind code of ref document: A1 |