QR two-dimensional code self-adaptation binarization processing method and device based on light balance
A processing method and two-dimensional code technology, which are applied in the field of adaptive binarization processing of QR two-dimensional codes based on light balance, can solve the problem that the difference between the gray value of the foreground color and the background color becomes smaller, the ratio increases, and the binary value becomes smaller. Inaccuracies, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] The embodiments of the present invention aim at the problem of binarization of QR two-dimensional code images with over- or under-illumination, and propose a local adaptive binarization method based on light balance.
[0066] In the embodiment of the present invention, the image information of the QR two-dimensional code is collected, and the image information of the QR two-dimensional code is converted into a grayscale image. Light detection is performed on the grayscale image, and light balance processing is performed on the grayscale image of the QR two-dimensional code according to the light detection result. Then, group the pixels of each row of the grayscale image after light balance processing according to the set image grayscale transition threshold, and determine the grayscale of each grouped pixel point in each row according to the method of maximum inter-class variance. A binarization threshold, performing binarization processing on the grayscale of each pixe...
Embodiment 2
[0105] This embodiment provides a QR two-dimensional code adaptive binarization processing device based on light balance, and its specific implementation structure is as follows Figure 4 As shown, it can specifically include the following modules:
[0106] An image acquisition module 410, configured to acquire image information of a QR two-dimensional code, and convert the image information of the QR two-dimensional code into a grayscale image;
[0107] An optical balance processing module 420, configured to perform illumination detection on the grayscale image, and perform optical balance processing on the grayscale image of the QR two-dimensional code according to the illumination detection result;
[0108] The binarization processing module 430 is used to group pixels in each row of the grayscale image after light balance processing according to the set image grayscale jump threshold, and determine each grouping of each row according to the method of maximum inter-class va...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com