Adaptive threshold binarization method for two-dimensional barcode
An adaptive threshold, two-dimensional barcode technology, used in instruments, character and pattern recognition, computer parts and other directions, can solve the problems of uneven illumination and slow algorithm speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] The present invention will be further described below in conjunction with specific examples.
[0035] by image size , the area size is 20×20 as an example, refer to figure 1 , the binarization steps of the two-dimensional barcode are as follows:
[0036] Step 1: Input the two-dimensional barcode grayscale image ,Such as figure 2 As shown, will data stored in middle, Used for threshold judgment before binarization.
[0037] Step 2: Put The edge of is extended by 20 pixels, the extension method is , The size becomes 680×520, and the image is divided into such as image 3 34 x 26 regions shown.
[0038] Step 3: Set all 1 matrix , with a size of 480×640, for the last step of binarization; set an empty matrix , with a size of 26×34, used to store the average gray value of each region; set an empty matrix , with a size of 26×34, used to store the difference between the maximum and minimum gray value of each region.
[0039] Step 4: Traversing each a...
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