Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Illumination compensation method and device for dot matrix two-dimensional code

A two-dimensional code and dot matrix technology, which is applied in the field of illumination compensation of dot matrix two-dimensional codes, can solve the problems of uneven gray distribution, inaccurate signal extraction, dot matrix two-dimensional codes being easily affected by light and materials, etc. Achieve the effect of smooth border and uniform grayscale

Active Publication Date: 2018-06-01
BEIJING LUSTER LIGHTTECH
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides an illumination compensation method and device for dot-matrix two-dimensional codes to solve the problem that existing dot-matrix two-dimensional codes are easily affected by light and materials when they are decoded, making grayscale distribution uneven and resulting in subsequent signal extraction. inaccurate question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Illumination compensation method and device for dot matrix two-dimensional code
  • Illumination compensation method and device for dot matrix two-dimensional code
  • Illumination compensation method and device for dot matrix two-dimensional code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] figure 2 It is a flow chart of the illumination compensation method for dot-matrix two-dimensional code provided by the embodiment of the present application.

[0065] Due to lighting, material and other reasons, the gray level distribution of the dot matrix pixels in the dot matrix QR code image will be uneven, resulting in holes in the dot matrix, that is, the gray value of the pixel in the center of the dot matrix is ​​closer to the background, which affects subsequent signal extraction. Therefore, an embodiment of the present application provides an illumination compensation method for a dot matrix two-dimensional code, which fills the positions of holes in the dot matrix to completely distinguish the dot matrix from the background, and at the same time makes the gray value of the dot matrix pixels uniform.

[0066] see figure 2 , the method provided in the embodiment of the present application includes the following steps:

[0067] S1. Obtain the original dot m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an illumination compensation method and device for a dot matrix two-dimensional code. The method includes the steps of processing an original dot matrix two-dimensional code image by a binarization method and a morphological method, so that no hole is present in a dot matrix in the image to facilitate the comparison according to the processing result of binarization and theresult of morphological processing on the binarized image so as to quickly and accurately determine positions of holes of the dot matrix; eroding or swelling the original dot matrix two-dimensional code image to fill the holes of the dot matrix; determining an expected pixel value of the processed image according to the positions of the holes of the dot matrix, and compensating the expected pixelvalue to the holes of the original dot matrix two-dimensional code image to obtain a complete filled dot matrix two-dimensional code image; and smoothing the filled dot matrix two-dimensional code image to obtain a dot matrix two-dimensional code image with uniformly distributed grayscale. Thus, the method provided by the application can clearly distinguish the dot matrix from the background in the image and avoid affecting the subsequent signal extraction.

Description

technical field [0001] The present application relates to the technical field of image processing, and in particular to an illumination compensation method and device for a dot matrix two-dimensional code. Background technique [0002] A two-dimensional code is a black and white pattern distributed on a plane (two-dimensional direction) according to a certain rule with a certain geometric figure, which is used to record data symbol information. It has large information capacity, high reliability and supports multiple error corrections. level and so on. Two-dimensional codes can be divided into many types according to different classification standards. Among them, dot-matrix two-dimensional codes are widely used because of their better anti-counterfeiting performance. [0003] The dot-matrix QR code records information by regularly placing the dot matrix in both vertical and horizontal directions, that is, a dot-matrix pattern containing data information. The dot matrix tw...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T5/00G06T5/30
CPCG06T5/30G06T2207/20036G06T5/70
Inventor 何若涛姚毅
Owner BEIJING LUSTER LIGHTTECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products