Coded image shaping method and device, server and storage medium

A technology for encoding images and images, applied in the field of digital anti-counterfeiting, can solve the problems of single grayscale appearance effect, consistent code point size, etc.

Active Publication Date: 2020-03-24
程烨
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these coded recognition images all have the same code point size and can only achieve a single grayscale appearance effect.

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
  • Coded image shaping method and device, server and storage medium
  • Coded image shaping method and device, server and storage medium
  • Coded image shaping method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 1 It is a flow chart of a method for coding image shaping provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of converting a grayscale image into a coded image, and the method can be executed by a processor. like figure 1 As shown, the method for encoding image shaping in this embodiment specifically includes the following steps:

[0053] Step S110, acquiring a grayscale image with a preset resolution, where the first pixel of the grayscale image is located at a plurality of pixel coordinates;

[0054] Specifically, the resolution refers to the number of pixels included in a unit inch. In this embodiment, the preset resolution refers to the preset size of the grayscale image, that is, the width and height of the grayscale image.

[0055] Specifically, a grayscale image generally refers to an image in which each pixel has only one sampled color. In the computer world, grayscale images are often displayed as shades of g...

Embodiment 2

[0069] Embodiment 2 of the present invention is further optimized on the basis of Embodiment 1. figure 2 It is a flow chart of a coding image shaping method provided by Embodiment 2 of the present invention. like figure 2 As shown, the method for coding image shaping in this embodiment specifically includes the following steps:

[0070] Step S210, acquiring a grayscale image with a preset resolution, where the first pixel of the grayscale image is located at a plurality of pixel coordinates.

[0071] Specifically, the resolution refers to the number of pixels included in a unit inch. In this embodiment, the preset resolution refers to the preset size of the grayscale image, that is, the width and height of the grayscale image.

[0072] A grayscale image generally refers to an image in which each pixel has only one sampled color. In the computer world, grayscale images are often displayed as shades of gray from the darkest black to the brightest white, although in theory t...

Embodiment 3

[0106] Figure 10 It is a schematic structural diagram of an encoding image shaping device provided in Embodiment 3 of the present invention. like Figure 10 As shown, the apparatus 300 for coding image shaping in this embodiment includes:

[0107] The first acquisition module 310 is configured to acquire a grayscale image with a preset resolution, and the first pixel of the grayscale image is located at a plurality of pixel coordinates;

[0108] The first code point generating module 320 is configured to generate a first code point image according to a preset resolution, the first code point image includes a plurality of first code point pixels spaced apart from each other, and the first code point pixels are located at multiple first code point pixels. point coordinates;

[0109] A matching module 330, configured to match the pixel coordinates and the first code point coordinates, so that the gray value of the first code point pixel is set as the gray value of the first p...

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 embodiment of the invention discloses an encoded image shaping method and device, a server and a storage medium. The method comprises the following steps: acquiring a grayscale image with a presetresolution, wherein a first pixel of the grayscale image is located at a plurality of pixel coordinates; generating a first code point image according to a preset resolution, with the first code point image comprising a plurality of first code point pixels spaced apart from each other and the first code point pixels being located at a plurality of first code point coordinates; matching the pixelcoordinates with the first code point coordinates so as to set the gray value of the first code point pixel as the gray value of the first pixel at the corresponding coordinate position; and generating a corresponding target code point image according to the first code point coordinate of the first code point pixel and the gray value of the first pixel at the corresponding position. According tothe coding image shaping method provided by the invention, the size of the code point of the code point image is adjusted through amplitude modulation along with the change of the pixel value of the grayscale image, so that the technical effect of more vivid grayscale change is achieved.

Description

technical field [0001] The embodiments of the present invention relate to the field of digital anti-counterfeiting, and in particular to a method, device, server and storage medium for coding image shaping. Background technique [0002] The principle of digital anti-counterfeiting is to set a unique code for each product that enters the network, and store this code in the 315 anti-counterfeiting central database. When consumers buy products produced by companies that have joined the digital anti-counterfeiting system, they can see the digital anti-counterfeiting labels on the product packaging. As long as you uncover the surface layer of the logo or scratch the coating of the logo, you can see a set of passwords (16 digits and above) composed of multiple digits. This password is unique and can only be used once. [0003] Most of the current digital anti-counterfeiting labels use coded identification images such as barcodes and two-dimensional codes. However, these coded re...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06K19/06G06Q30/00
CPCG06K19/06037G06K19/06093G06K19/0614G06Q30/0185
Inventor 程烨唐巧提
Owner 程烨
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products