Method for generating visualized two-dimensional code
A two-dimensional code and image technology, which is applied in the field of image processing, can solve the problems of obvious image noise and affecting image quality, and achieve the effect of improving details, similarity, and output image quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Such as figure 1 As shown, this embodiment includes the following steps:
[0031] The first step is to encode the civilization information with a two-dimensional code, obtain the corresponding two-dimensional code color block distribution matrix (this matrix corresponds to the image of this two-dimensional code), and subdivide each color block into k×k pixels , generally take k=3 to achieve better results.
[0032] The second step is to preprocess the image, turn it into a grayscale image and resize it to match the size of the subdivided QR code. The processing result and the original image are as follows image 3 shown.
[0033] The third step is to generate a filter whose weight is Gaussian distribution according to the Gaussian smoothing feature of the visual model of the human eye. The specific steps are as follows:
[0034] This embodiment applies a 3×3 Gaussian matrix, such as figure 1As shown, in the following formula, I is the gray value matrix of the gray ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 