CN111428534A - Decryption identification method based on dot matrix steganographic information coding - Google Patents

Decryption identification method based on dot matrix steganographic information coding Download PDF

Info

Publication number
CN111428534A
CN111428534A CN202010295599.1A CN202010295599A CN111428534A CN 111428534 A CN111428534 A CN 111428534A CN 202010295599 A CN202010295599 A CN 202010295599A CN 111428534 A CN111428534 A CN 111428534A
Authority
CN
China
Prior art keywords
positioning
lattice
dot matrix
point
dot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010295599.1A
Other languages
Chinese (zh)
Other versions
CN111428534B (en
Inventor
李刚
黄翰
刘子钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Jiuzhang Intelligent Technology Co ltd
Original Assignee
Foshan Jiuzhang Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Jiuzhang Intelligent Technology Co ltd filed Critical Foshan Jiuzhang Intelligent Technology Co ltd
Priority to CN202010295599.1A priority Critical patent/CN111428534B/en
Publication of CN111428534A publication Critical patent/CN111428534A/en
Application granted granted Critical
Publication of CN111428534B publication Critical patent/CN111428534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a decryption identification method based on dot matrix steganographic information coding, which comprises the following steps: acquiring a dot matrix image, wherein the dot matrix image comprises a positioning dot matrix and an steganographic information dot matrix, and one positioning dot matrix corresponds to one steganographic information dot matrix; respectively extracting a positioning dot matrix and a steganographic information dot matrix from the obtained dot matrix image; analyzing the type of the positioning dot matrix according to the positioning dot matrix; analyzing effective information according to the type of the positioning dot matrix and the extracted steganographic information dot matrix; and decoding the effective information according to a preset decoding rule. The steganographic information dot matrix in the image can be accurately extracted, the encrypted important information in the image can be accurately identified, the calculation process is simple, and the identification efficiency is high.

Description

Decryption identification method based on dot matrix steganographic information coding
Technical Field
The invention relates to the field of image processing, in particular to a decryption identification method based on dot matrix steganography information coding.
Background
In the prior art, the method for identifying based on specific steganographic information mainly comprises the steps of designing the steganographic information into an irregular shape, identifying the surface of the steganographic information by using a specific device for specific shape matching detection, judging whether the steganographic information is forged or designed into the shape of a bar code, and identifying by using specific infrared scanning equipment. Although the above-mentioned method has realized the anti-counterfeit identifying effect to a certain extent, but need to use specific hardware equipment in the implementing process, therefore have certain difficulty in the aspect of user popularization and anti-counterfeit identifying overhead.
Therefore, in the prior art, a method which does not need to designate a recognition device is designed, namely, the most widely used device, namely, a mobile phone is used for photographing and recognizing, but the method generally adopts a more complex processing process, is more complex to calculate, is more complicated to recognize the steganographic information image, and can be greatly changed when the shape characteristics of the steganographic information are changed, so that the overall conversion process has low efficiency and more time consumption, and cannot be applied to actual requirements and mass production. Meanwhile, the method has more unstable factors, the accuracy rate of identifying the steganographic information on the surface of the printed matter is low, and sometimes the texture characteristics of the steganographic information cannot be extracted.
Disclosure of Invention
The invention aims to overcome at least one defect (deficiency) of the prior art, and provides a decryption identification method based on dot-matrix steganographic information coding, which can accurately extract the steganographic information dot matrix in an image and accurately identify the encrypted important information in the image, and has the advantages of simple calculation process and higher identification efficiency.
The technical scheme adopted by the invention is as follows:
a decryption identification method based on dot matrix steganographic information coding comprises the following steps:
acquiring a dot matrix image, wherein the dot matrix image comprises a positioning dot matrix and an steganographic information dot matrix, and one positioning dot matrix corresponds to one steganographic information dot matrix;
respectively extracting a positioning dot matrix and a steganographic information dot matrix from the obtained dot matrix image;
analyzing the type of the positioning dot matrix according to the positioning dot matrix;
analyzing effective information according to the type of the positioning dot matrix and the extracted steganographic information dot matrix;
and decoding the effective information according to a preset decoding rule.
The method comprises the steps of extracting a positioning dot matrix and an steganography information dot matrix from an obtained dot matrix image, analyzing the type of the positioning dot matrix according to the positioning dot matrix, analyzing effective information according to the type of the positioning dot matrix and the steganography information dot matrix, and decoding the effective information according to a preset decoding rule, so that steganography information in the image is obtained, and the decryption process is simple and the identification accuracy is high.
Furthermore, each positioning lattice comprises a first lattice and a second lattice, the first lattice is used for positioning the second lattice and the steganography information lattice, and the second lattice is used for indicating the type of the positioning lattice;
the step of respectively extracting the positioning lattice and the steganographic information lattice from the acquired lattice image specifically comprises the following steps: extracting a first dot matrix from the acquired dot matrix image;
according to the extracted first dot matrix, positioning and extracting a second dot matrix and an steganographic information dot matrix;
the step of analyzing the type of the positioning lattice according to the extracted positioning lattice specifically comprises the following steps:
and analyzing the type of the positioning dot matrix according to the extracted second dot matrix.
The method comprises the steps of extracting a first dot matrix from an obtained dot matrix image to realize rapid positioning of an steganography information dot matrix, extracting a second dot matrix from the obtained dot matrix image to analyze the type of a positioning dot matrix, thereby extracting an accurate steganography information dot matrix and improving the identification accuracy.
Further, the first lattice is an m1 × n lattice, the second lattice is an m2 × n lattice, m1 and n are integers greater than or equal to 2, m2 is an integer greater than or equal to 1, each point of the first lattice is present, and at least one point of the second lattice is not present;
the step of extracting the first lattice from the acquired lattice image specifically includes:
calculating the dot distance in the acquired dot matrix image;
determining a positioning frame for selecting all 2 × 2 lattices in the positioning lattices according to the point distance;
judging whether each point position of the 2 × 2 lattice selected by the positioning frame exists;
if the point positions of the 2 × 2 lattice selected by the positioning frame all exist, determining that the 2 × 2 lattice selected by the positioning frame is a four-positioning lattice;
when m1 takes a value of 2, the four-positioning lattice is the first lattice;
and when m1 is an integer larger than 2, determining a first dot matrix according to the intersection condition of the four positioning dot matrixes.
The dot distances in the dot matrix images are calculated, the positioning frames of the positioning dot matrixes are determined according to the dot distances, whether all the dot matrixes framed by the positioning frames exist is judged, so that the positioning dot matrixes can be accurately extracted, and the extraction calculation process is simple and convenient.
Further, the step of determining the first lattice according to the intersection of the four positioning lattices specifically includes: selecting points at the same corresponding position of each four-positioning lattice, calculating the inclination angle and the coordinate difference between the points at the same corresponding position of every two four-positioning lattices, determining whether the two four-positioning lattices are crossed or not according to whether the inclination angle and the coordinate difference are within a preset range, and determining a first lattice according to whether the two four-positioning lattices are crossed or not in a preset direction.
Whether the four positioning lattices are crossed or not is determined according to the calculated inclination angle and the coordinate difference between the points at the same corresponding positions of every two four positioning lattices, so that the first lattice is determined, the process is simple, and the accuracy of extracting the first positioning lattice can be improved.
Further, the step of calculating the dot pitch in the acquired dot matrix image specifically includes:
calculating the distance from each point to other points in the acquired dot matrix image;
and selecting the minimum value of the distances from each point to other points, and determining the point distance according to the selected minimum values.
The point distance is determined according to the minimum value of the distance from each point to other points, so that the problem of inaccurate point distance caused by different values is solved, and the accuracy of determining the positioning frame can be improved by determining the point distance according to the selected minimum value.
Further, after the step of determining that the m1 × n lattice selected by the positioning frame is a quad positioning lattice, the method further includes:
calculating theoretical distances from the central points of the four positioning lattices to each point of the four positioning lattices according to the point distances;
calculating the actual distance from the central point of the four-positioning dot matrix to each point of the four-positioning dot matrix according to the extracted positions of each point in the four-positioning dot matrix;
and screening the extracted four-positioning dot matrix according to the error between the theoretical distance and the actual distance.
The theoretical distance and the actual distance from the central point of the four-point lattice to each point of the four-positioning lattice are calculated, the four-positioning lattice is screened according to the error of the theoretical distance and the actual distance, and the four-positioning lattice which does not meet the requirement is removed, so that the accuracy of subsequent analysis of steganography information is improved or the accuracy of subsequent determination of the first lattice is improved.
Further, the step of analyzing the type of the positioning lattice according to the extracted second lattice specifically includes:
and analyzing the type of the positioning dot matrix according to whether the point of each extracted point of the second dot matrix exists.
The type of the positioning dot matrix is analyzed by judging whether each point position of the second dot matrix exists, the process is simple, the accuracy is high, and the identification efficiency is improved.
Further, before the step of analyzing the type of the positioning dot matrix according to whether the point exists at each point position of the positioning dot matrix, the method further includes:
and carrying out affine transformation on the extracted positioning dot matrix and steganographic information dot matrix according to the extracted positioning dot matrix.
The extracted positioning dot matrix and steganographic information dot matrix are subjected to radial transformation, so that the extracted positioning dot matrix and steganographic information dot matrix are more accurate, and the accuracy of decryption is improved.
Further, the step of analyzing the effective information according to the type of the positioning lattice and the extracted steganographic information lattice specifically includes:
judging whether each point position of the extracted steganographic information dot matrix exists, if so, recording as a first number, and if not, recording as a second number so as to convert the extracted steganographic information dot matrix into a digital matrix;
and resolving effective information from the converted digital matrix according to the type of the positioning lattice.
The position of the point of existence is recorded as a first number or not as a second number by judging whether each point position of the extracted steganographic information dot matrix exists, so that the steganographic information dot matrix can be simply and quickly converted into a digital matrix; different types of positioning dot matrixes correspond to different steganographic information, and effective information can be accurately analyzed by analyzing the effective information from the digital matrix according to the types of the positioning points.
Further, the step of analyzing the effective information from the converted digital matrix according to the type of the positioning lattice specifically includes:
when a plurality of positioning dot matrixes of the same type exist, determining an effective digital matrix according to a plurality of digital matrixes converted by steganographic information dot matrixes respectively corresponding to the plurality of positioning dot matrixes of the same type;
when the positioning dot matrix of the same type is only single, the digital matrix converted by the steganographic information dot matrix corresponding to the single positioning dot matrix of the same type is used as an effective digital matrix;
and analyzing effective information from the effective digital matrix according to the type of the positioning lattice.
When the same type of positioning lattice is provided with a plurality of positioning lattices, an effective digital matrix is determined from a plurality of digital matrixes corresponding to the same type of positioning lattices, so that the accuracy of subsequent effective information analysis is greatly improved.
Compared with the prior art, the invention has the beneficial effects that:
the invention realizes the rapid positioning of a single dot matrix image by utilizing the positioning dot matrix matching, thereby rapidly extracting the steganographic information and analyzing the effective information, the processing process is simple, the related calculation process is simpler, and the identification efficiency and the accuracy of the image with the steganographic information are improved; and after the effective information is obtained, decoding the effective information according to a decoding rule, wherein the decoding rule is simple and is convenient to calculate.
Drawings
FIG. 1 is a flowchart illustrating the decryption identification method according to the present embodiment;
FIG. 2 is an image of a printed matter with a dot matrix according to the present embodiment;
fig. 3 is a schematic diagram illustrating an effect of normalizing an image according to this embodiment;
FIG. 4 is a schematic diagram of a six-position lattice according to the present embodiment;
FIG. 5 is a schematic diagram illustrating an effect of the framing four-positioning lattice according to this embodiment;
FIG. 6 is a schematic diagram illustrating an effect of determining a six-position lattice according to this embodiment;
FIG. 7 is a schematic diagram of a repeating dot matrix unit in the present embodiment;
fig. 8 is a schematic diagram of a decoding rule according to the present embodiment.
Detailed Description
The drawings are only for purposes of illustration and are not to be construed as limiting the invention. For a better understanding of the following embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The embodiment provides a decryption identification method based on dot-matrix steganographic information coding, as shown in fig. 1, which is an overall flowchart of the decryption identification method of the embodiment, and the specific process is as follows:
s1, acquiring a dot matrix image, wherein the dot matrix image comprises a positioning dot matrix and an steganographic information dot matrix, and one positioning dot matrix corresponds to one steganographic information dot matrix;
s2, respectively extracting a positioning dot matrix and a steganographic information dot matrix from the obtained dot matrix image;
s3, analyzing the type of the positioning dot matrix according to the positioning dot matrix;
s4, analyzing effective information according to the type of the positioning dot matrix and the extracted steganographic information dot matrix;
and S5, decoding the effective information according to a preset decoding rule.
In this embodiment, the dot matrix image is obtained from a shot image with a dot matrix, then the positioning dot matrix and the steganographic information dot matrix are respectively extracted from the obtained dot matrix image, the type of the positioning dot matrix is analyzed according to the positioning dot matrix, the effective information in the steganographic information dot matrix is analyzed according to the type of the positioning dot matrix, and finally the effective information is decoded according to a preset decoding rule. The decryption process is simple, the recognition accuracy rate is high, specific recognition equipment is not needed for recognizing the image, and the applicable range is wide.
In a specific implementation process, as shown in fig. 2, a printed matter image with a dot matrix is obtained, firstly, preprocessing operations such as normalization and binarization are performed on the shot image with the dot matrix, and the RGB color space of the image is subjected to normalization processing, so that the influence of illumination and shadow on obtaining the dot matrix image can be removed, as shown in fig. 3, the image is obtained by normalizing the printed matter image with the dot matrix; then, the image is converted into an HSV color space from an RGB color space, the dot matrix image in the image is extracted by taking the color of the dot matrix in the image as a characteristic, and compared with the RGB color space, the HSV color space can express the brightness, tone and vividness of the color very visually and is convenient for comparison between the colors, so that the image is converted into the HSV color space from the RGB color space to be beneficial to obtaining the dot matrix image in the image; the positioning lattice can be a four-positioning lattice, a six-positioning lattice, etc., and different types of positioning lattices are different, as shown in fig. 4, the positioning lattice is a schematic diagram of a six-positioning lattice, wherein the six types of positioning lattices are three types, which are a first type positioning lattice, a second type positioning lattice, and a third type positioning lattice.
In this embodiment, each of the positioning lattices includes a first lattice and a second lattice, the first lattice is used to position the second lattice and an steganographic information lattice, and the second lattice is used to indicate a type of the positioning lattice; the step of respectively extracting the positioning lattice and the steganographic information lattice from the acquired lattice image specifically comprises the following steps: extracting a first dot matrix from the acquired dot matrix image;
according to the extracted first dot matrix, positioning and extracting a second dot matrix and an steganographic information dot matrix;
the step of analyzing the type of the positioning lattice according to the extracted positioning lattice specifically comprises the following steps:
and analyzing the type of the positioning dot matrix according to the extracted second dot matrix.
In this embodiment, the first lattice is an m1 × n lattice, the second lattice is an m2 × n lattice, values of m1 and n are integers greater than or equal to 2, a value of m2 is an integer greater than or equal to 1, each point of the first lattice is a point, and at least one point of the second lattice is a point which is not present, and the step of extracting the first lattice from the obtained lattice image specifically includes:
calculating the dot distance in the acquired dot matrix image;
determining a positioning frame for selecting all 2 × 2 lattices in the positioning lattices according to the point distance;
judging whether each point position of the 2 × 2 lattice selected by the positioning frame exists;
if the point positions of the 2 × 2 lattice selected by the positioning frame all exist, determining that the 2 × 2 lattice selected by the positioning frame is a four-positioning lattice;
when m1 takes a value of 2, the four-positioning lattice is the first lattice;
and when m1 is an integer larger than 2, determining a first dot matrix according to the intersection condition of the four positioning dot matrixes.
In this embodiment, after the step of determining that the m1 × n lattice selected by the positioning frame is a quad positioning lattice, the method further includes:
calculating theoretical distances from the central points of the four positioning lattices to each point of the four positioning lattices according to the point distances;
calculating the actual distance from the central point of the four-positioning dot matrix to each point of the four-positioning dot matrix according to the extracted positions of each point in the four-positioning dot matrix;
and screening the extracted four-positioning dot matrix according to the error between the theoretical distance and the actual distance.
In the specific implementation process, as shown in fig. 4, a block 1 indicates a second dot matrix in a positioning dot matrix for indicating the type of the positioning dot matrix, a block 2 indicates a first dot matrix in the positioning dot matrix for positioning the second dot matrix and a steganographic information dot matrix, after a dot matrix image is acquired from an image with the dot matrix, the first dot matrix is an m1 × n dot matrix, each dot position of the first dot matrix is a dot for positioning the second dot matrix and the steganographic information dot matrix, the second dot matrix and the steganographic information dot matrix are positioned according to the extracted first dot matrix, the second dot matrix is an m2 × n dot matrix, the values of m1 and n are integers greater than or equal to 2, the value of m2 is an integer greater than or equal to 1, at least one dot of the second dot matrix is not present, specifically, the dot pitch in the acquired dot matrix image is calculated, then, the positioning frames for selecting all 2 positioning frames in the positioning × in the positioning frames according to the dot pitch, and whether the positioning frames are determined as the four-point positioning frames when the positioning frames are selected, the four-dot matrix positioning frames 675, and the four-point positioning frames are found in the case that the four-point positioning frames, the positioning frames are found in the case that m-frame selection is found that m-on the four-frame selection is found.
Specifically, the method comprises the steps of determining a positioning frame for framing and selecting all 2 × dot matrixes in a positioning dot matrix according to dot distances, determining the positioning frame for framing and selecting 2 × dot matrixes mainly by calculating the bias of each dot in four directions according to the dot distances, determining the 2 × dot matrixes selected by the positioning frame to be four positioning dot matrixes according to the bias of each dot in the four directions of each dot and the center of mass of the dot, then judging whether the dots at all positions in the 2 × dot matrixes selected by the positioning frame exist, if the dots exist, determining the 2 592 dot matrixes selected by the positioning frame to be the four positioning dot matrixes, verifying and screening the four-point dot matrixes after the four positioning dot matrixes are obtained, specifically, calculating the theoretical distance under an ideal condition according to the dot distances, then calculating the error parameter according to the preset error parameters, wherein the error parameter is 0.17, calculating the range of ideal actual distances according to the theoretical distances and the error parameters, finally calculating the position of the 2 × dot matrixes according to the positions of the four dots in the 2 × dot matrixes selected by the frame, determining the range of the ideal distances from the four dot matrixes, and determining the range of the ideal points as the range of the left-point positioning dot-to-point positioning, wherein the range of the ideal points is an integer 395, and the range of the four dot-point positioning dot matrix, and the ideal-positioning dot-point positioning dot.
Specifically, before determining the positioning frames for selecting all 2 × 2 lattices in the positioning lattices according to the dot pitch, the method further includes removing noisy points with too small area and influence areas with too large area in the lattice image, so that the accuracy of extracting the positioning lattices can be improved.
In this embodiment, the step of calculating the dot pitch in the acquired dot matrix image specifically includes:
calculating the distance from each point to other points in the acquired dot matrix image;
and selecting the minimum value of the distances from each point to other points, and determining the point distance according to the selected minimum values.
In the specific implementation process of the embodiment, the distance from the center of each point to the center of other points is calculated firstly, then the minimum value of the distances from the center of each point to the centers of other points is taken, and finally the average value of the selected minimum values is taken as the finally determined point distance.
In this embodiment, the step of determining the first lattice according to the intersection of the four positioning lattices specifically includes:
selecting points at the same corresponding position of each four-positioning lattice, calculating the inclination angle and the coordinate difference between the points at the same corresponding position of every two four-positioning lattices, determining whether the two four-positioning lattices are crossed or not according to whether the inclination angle and the coordinate difference are within a preset range, and determining a first lattice according to whether the two four-positioning lattices are crossed or not in a preset direction.
Specifically, a point of each four-positioning lattice at the same corresponding position is selected, in a specific implementation process, a first point, namely an upper left corner point, in each four-positioning lattice is selected, a coordinate difference between the first points of every two four-positioning points is calculated, specifically, the coordinates of the first points of every two four-positioning points are subtracted and are recorded as dxy, wherein dxy [0] is an error value on an x axis of the two points, dxy [1] is an error value on a y axis of the two points, and then an inclination angle is calculated: the method includes the steps of obtaining an angle (| dxy [0]/dxy [1] |), wherein the angle is an inclination angle of a head point of two four positioning points, determining that the two four positioning points are crossed if the inclination angle of the head point of the two four positioning points is within a preset inclination angle range and a coordinate difference of the two points is within a preset coordinate difference range, specifically, the inclination angle range is [0,15 pi/180 ], and finally determining a first dot matrix according to whether the two four positioning dot matrixes are crossed in a preset direction, specifically, determining the first dot matrix according to whether the two four positioning dot matrixes are crossed in a y-axis direction in a specific implementation process. Taking the value of m1 as 3 as an example, as shown in fig. 5, after the four-point positioning lattice is selected, whether intersection exists is determined according to the inclination angle and the coordinate difference between the first points of every two four-point positioning lattices, if two four-point positioning lattices intersect, whether two intersected four-point positioning lattices intersect in the y-axis direction is determined, if yes, the two four-point positioning lattices are the first lattice, namely, the six-point positioning lattice, and as shown in fig. 6, a result schematic diagram for determining the six-point positioning lattice is shown.
In this embodiment, before the step of analyzing the type of the positioning dot matrix according to whether a dot is present at each dot position of the positioning dot matrix, the method further includes:
and carrying out affine transformation on the extracted positioning dot matrix and steganographic information dot matrix according to the extracted positioning dot matrix.
Specifically, the size of a dot matrix image corresponding to a single positioning dot matrix is obtained according to the side length of a single point of the dot matrix in the original code and a preset point distance during generation; then selecting x nonlinear points from the positioning point array, wherein the value of x is an integer point which is greater than or equal to 3, the x nonlinear points are not positioned on the same straight line, and carrying out affine transformation on the dot matrix image according to the x linear points to obtain a new dot matrix image; in the specific implementation process, three nonlinear points are extracted from the positioning lattice and used as transformation standards to obtain a mapping relation of affine transformation, and affine transformation is carried out on the lattice image according to the mapping relation to obtain a new lattice image.
In this embodiment, the step of analyzing the valid information according to the type of the positioning lattice and the extracted steganographic information lattice specifically includes:
judging whether each point position of the extracted steganographic information dot matrix exists, if so, recording as a first number, and if not, recording as a second number so as to convert the extracted steganographic information dot matrix into a digital matrix;
and resolving effective information from the converted digital matrix according to the type of the positioning lattice.
Specifically, traversing an steganographic information dot matrix extracted from a dot matrix image or a new dot matrix image obtained after affine transformation, judging whether the position of each point of the steganographic information dot matrix exists, if so, recording the position of the point as 1, and if not, recording the position of the point as 0, thereby obtaining a 01 matrix corresponding to the steganographic information dot matrix; finally, effective information is analyzed from the 01 matrix obtained by conversion according to the type of the positioning lattice
In this embodiment, the step of parsing the valid information from the converted digital matrix according to the type of the positioning lattice specifically includes:
when a plurality of positioning dot matrixes of the same type exist, determining an effective digital matrix according to a plurality of digital matrixes converted by steganographic information dot matrixes respectively corresponding to the plurality of positioning dot matrixes of the same type;
when the positioning dot matrix of the same type is only single, the digital matrix converted by the steganographic information dot matrix corresponding to the single positioning dot matrix of the same type is used as an effective digital matrix;
and analyzing effective information from the effective digital matrix according to the type of the positioning lattice.
Specifically, the printed image includes a plurality of repeated dot matrix images including steganographic information, the dot matrix image including complete steganographic information is referred to as a dot matrix unit, the positioning dot matrix type in each dot matrix unit is not repeated, but when the printed image is shot and identified, the repeated dot matrix units may be shot, as shown in fig. 7, the dot matrix images included in the boxes 1, 2, and 3 are the same, or when a first dot matrix determined according to the intersection condition of every two four positioning dot matrixes is intersected with another first dot matrix in the horizontal direction, the positioning dot matrix type is also repeated, therefore, when there are a plurality of positioning dot matrixes of the same type extracted from the acquired dot matrix image, the number of each corresponding position of a plurality of digital matrixes converted from all steganographic information dot matrixes of the same type is accumulated, simultaneously, under the same condition, accumulating a plurality of digital matrixes converted from all steganographic information lattices corresponding to the same type of positioning lattice, taking the inverted digit of each corresponding position, finally voting the accumulated result of each position by taking a certain weight, recording the corresponding position as 1 if the total weight obtained by not inverting the vote is greater than the total weight obtained by inverting the vote, and recording the corresponding position as 0 if the total weight obtained by not inverting the vote is less than the total weight obtained by inverting the vote, finally obtaining an effective digital matrix; finally, decoding the effective digital matrix according to the type of the positioning lattice and the decoding rule shown in fig. 8 to obtain effective information of the lattice image; therefore, when the printed product image is identified, all the steganographic information contained in the printed product image can be obtained only by shooting a part of the printed product image for identification, so that the shooting identification of the complete printed product image is not needed.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the technical solutions of the present invention, and are not intended to limit the specific embodiments of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention claims should be included in the protection scope of the present invention claims.

Claims (10)

1. A decryption identification method based on dot matrix steganographic information coding is characterized by comprising the following steps:
acquiring a dot matrix image, wherein the dot matrix image comprises a positioning dot matrix and an steganographic information dot matrix, and one positioning dot matrix corresponds to one steganographic information dot matrix;
respectively extracting a positioning dot matrix and a steganographic information dot matrix from the obtained dot matrix image;
analyzing the type of the positioning dot matrix according to the positioning dot matrix;
analyzing effective information according to the type of the positioning dot matrix and the extracted steganographic information dot matrix;
and decoding the effective information according to a preset decoding rule.
2. A decryption identification method based on lattice steganographic information coding according to claim 1, wherein each of the positioning lattices comprises a first lattice and a second lattice, the first lattice is used for positioning the second lattice and the steganographic information lattice, and the second lattice is used for indicating the type of the positioning lattice;
the step of respectively extracting the positioning lattice and the steganographic information lattice from the acquired lattice image specifically comprises the following steps:
extracting a first dot matrix from the acquired dot matrix image;
according to the extracted first dot matrix, positioning and extracting a second dot matrix and an steganographic information dot matrix;
the step of analyzing the type of the positioning lattice according to the extracted positioning lattice specifically comprises the following steps:
and analyzing the type of the positioning dot matrix according to the extracted second dot matrix.
3. A decryption identification method based on lattice steganographic information encoding according to claim 2, wherein the first lattice is m1 × n lattice, the second lattice is m2 × n lattice, m1 and n are integers greater than or equal to 2, m2 is an integer greater than or equal to 1, each point of the first lattice is present, and at least one point of the second lattice is not present;
the step of extracting the first lattice from the acquired lattice image specifically includes:
calculating the dot distance in the acquired dot matrix image;
determining a positioning frame for selecting all 2 × 2 lattices in the positioning lattices according to the point distance;
judging whether each point position of the 2 × 2 lattice selected by the positioning frame exists;
if the point positions of the 2 × 2 lattice selected by the positioning frame all exist, determining that the 2 × 2 lattice selected by the positioning frame is a four-positioning lattice;
when m1 takes a value of 2, the four-positioning lattice is the first lattice;
and when m1 is an integer larger than 2, determining a first dot matrix according to the intersection condition of the four positioning dot matrixes.
4. A decryption identification method based on lattice steganographic information encoding as claimed in claim 3, wherein the step of determining the first lattice according to the intersection of four location lattices specifically includes:
selecting points at the same corresponding position of each four-positioning lattice, calculating the inclination angle and the coordinate difference between the points at the same corresponding position of every two four-positioning lattices, determining whether the two four-positioning lattices are crossed or not according to whether the inclination angle and the coordinate difference are within a preset range, and determining a first lattice according to whether the two four-positioning lattices are crossed or not in a preset direction.
5. The decryption identification method based on lattice steganographic information encoding as claimed in claim 3, wherein the step of calculating the dot distance in the obtained lattice image specifically comprises:
calculating the distance from each point to other points in the acquired dot matrix image;
and selecting the minimum value of the distances from each point to other points, and determining the point distance according to the selected minimum values.
6. A decryption identification method based on lattice steganographic information encoding as claimed in claim 3, wherein after the step of determining that the m1 × n lattice selected by the positioning box is a four-positioning lattice, further comprising:
calculating theoretical distances from the central points of the four positioning lattices to each point of the four positioning lattices according to the point distances;
calculating the actual distance from the central point of the four-positioning dot matrix to each point of the four-positioning dot matrix according to the extracted positions of each point in the four-positioning dot matrix;
and screening the extracted four-positioning dot matrix according to the error between the theoretical distance and the actual distance.
7. The decryption identification method based on lattice steganographic information encoding as claimed in claim 3, wherein the step of parsing out the type of the positioning lattice according to the extracted second lattice specifically comprises: and analyzing the type of the positioning dot matrix according to whether the point of each extracted point of the second dot matrix exists.
8. The decryption identification method based on lattice steganographic information coding as claimed in claim 1, wherein before the step of analyzing the type of the positioning lattice according to whether the point exists at each point position of the positioning lattice, further comprising:
and carrying out affine transformation on the extracted positioning dot matrix and steganographic information dot matrix according to the extracted positioning dot matrix.
9. The decryption identification method based on lattice steganographic information encoding as claimed in any one of claims 1 to 8, wherein the step of parsing out valid information according to the type of the positioning lattice and the extracted steganographic information lattice specifically comprises:
judging whether each point position of the extracted steganographic information dot matrix exists, if so, recording as a first number, and if not, recording as a second number so as to convert the extracted steganographic information dot matrix into a digital matrix;
and resolving effective information from the converted digital matrix according to the type of the positioning lattice.
10. The decryption identification method based on lattice steganographic information encoding as claimed in claim 9, wherein the step of parsing out the valid information from the converted digital matrix according to the type of the positioning lattice specifically includes:
when a plurality of positioning dot matrixes of the same type exist, determining an effective digital matrix according to a plurality of digital matrixes converted by steganographic information dot matrixes respectively corresponding to the plurality of positioning dot matrixes of the same type;
when the positioning dot matrix of the same type is only single, the digital matrix converted by the steganographic information dot matrix corresponding to the single positioning dot matrix of the same type is used as an effective digital matrix;
and analyzing effective information from the effective digital matrix according to the type of the positioning lattice.
CN202010295599.1A 2020-04-15 2020-04-15 Decryption identification method based on dot matrix hidden writing information coding Active CN111428534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010295599.1A CN111428534B (en) 2020-04-15 2020-04-15 Decryption identification method based on dot matrix hidden writing information coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010295599.1A CN111428534B (en) 2020-04-15 2020-04-15 Decryption identification method based on dot matrix hidden writing information coding

Publications (2)

Publication Number Publication Date
CN111428534A true CN111428534A (en) 2020-07-17
CN111428534B CN111428534B (en) 2023-10-27

Family

ID=71558109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010295599.1A Active CN111428534B (en) 2020-04-15 2020-04-15 Decryption identification method based on dot matrix hidden writing information coding

Country Status (1)

Country Link
CN (1) CN111428534B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553608A (en) * 2021-08-06 2021-10-26 上海幻电信息科技有限公司 Image encryption method and device and image decryption method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017133533A1 (en) * 2016-02-06 2017-08-10 深圳市天朗时代科技有限公司 Method of encoding and identifying 2d bitmap barcode
CN108334922A (en) * 2018-03-13 2018-07-27 深圳闳宸科技有限公司 The coding and recognition methods of dot matrix Quick Response Code and dot matrix Quick Response Code
CN108549879A (en) * 2018-04-28 2018-09-18 北京奇禄管理咨询有限公司 A kind of processing method of dot matrix image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017133533A1 (en) * 2016-02-06 2017-08-10 深圳市天朗时代科技有限公司 Method of encoding and identifying 2d bitmap barcode
CN108334922A (en) * 2018-03-13 2018-07-27 深圳闳宸科技有限公司 The coding and recognition methods of dot matrix Quick Response Code and dot matrix Quick Response Code
CN108549879A (en) * 2018-04-28 2018-09-18 北京奇禄管理咨询有限公司 A kind of processing method of dot matrix image

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MENG FANJUN: "The application of interleaving coding technique in the halftone dots information hiding", pages 140 - 142 *
田宽: "彩色地形图中的点状符号识别算法研究", no. 4 *
郭倩;陈广学;: "手机可识读的点阵编码与解码方法", no. 02 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553608A (en) * 2021-08-06 2021-10-26 上海幻电信息科技有限公司 Image encryption method and device and image decryption method and device

Also Published As

Publication number Publication date
CN111428534B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN107633192B (en) Bar code segmentation and reading method based on machine vision under complex background
US6934415B2 (en) Visual attention system
CN108416355B (en) Industrial field production data acquisition method based on machine vision
CN111383209A (en) Unsupervised flaw detection method based on full convolution self-encoder network
CN106033544B (en) Template matching-based test paper content area extraction method
CN112651968B (en) Wood board deformation and pit detection method based on depth information
CN109284718B (en) Inspection robot-oriented variable-view-angle multi-instrument simultaneous identification method
CN113963041A (en) Image texture recognition method and system
CN109190625B (en) Large-angle perspective deformation container number identification method
CN110335233B (en) Highway guardrail plate defect detection system and method based on image processing technology
CN102663380A (en) Method for identifying character in steel slab coding image
CN110580481A (en) Light field image key position detection method based on EPI
CN112634262A (en) Writing quality evaluation method based on Internet
CN112509026A (en) Insulator crack length identification method
CN117635609A (en) Visual inspection method for production quality of plastic products
CN111428534B (en) Decryption identification method based on dot matrix hidden writing information coding
CN112084804B (en) Working method for intelligently acquiring complementary pixels aiming at information-missing bar codes
CN113506276A (en) Marker and method for measuring structure displacement
CN113052234A (en) Jade classification method based on image features and deep learning technology
CN114065798A (en) Visual identification method and device based on machine identification
CN114511851B (en) Hairspring algae cell statistical method based on microscope image
CN115222652A (en) Method for identifying, counting and centering end faces of bundled steel bars and memory thereof
CN113160166B (en) Medical image data mining working method through convolutional neural network model
CN108734158B (en) Real-time train number identification method and device
CN113095380B (en) Image hash processing method based on adjacent gradient and structural features

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant