CN110530895A - A kind of method and device detecting printing quality - Google Patents
A kind of method and device detecting printing quality Download PDFInfo
- Publication number
- CN110530895A CN110530895A CN201910655755.8A CN201910655755A CN110530895A CN 110530895 A CN110530895 A CN 110530895A CN 201910655755 A CN201910655755 A CN 201910655755A CN 110530895 A CN110530895 A CN 110530895A
- Authority
- CN
- China
- Prior art keywords
- dot pattern
- nominal position
- group
- point
- printing quality
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41F—PRINTING MACHINES OR PRESSES
- B41F33/00—Indicating, counting, warning, control or safety devices
- B41F33/0036—Devices for scanning or checking the printed matter for quality control
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N21/956—Inspecting patterns on the surface of objects
- G01N21/95607—Inspecting patterns on the surface of objects using a comparative method
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N21/956—Inspecting patterns on the surface of objects
- G01N21/95607—Inspecting patterns on the surface of objects using a comparative method
- G01N2021/95615—Inspecting patterns on the surface of objects using a comparative method with stored comparision signal
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention discloses a kind of method and devices for detecting printing quality, comprising: the group of data points of dot pattern is obtained from dot pattern to be detected;According to the group of data points in dot pattern, the information of each nominal position in dot pattern is extracted;According to code-point, nominal position and the preset coding rule of dot pattern of dot pattern, the printing index of dot pattern is detected;According to printing index, the printing quality of the dot pattern is determined.In this way, realizing the automatic detection to dot pattern printing quality, it is not necessarily to manual intervention, even if not knowing about the technical staff of dot pattern create-rule, the method that can also use the present embodiment detects the quality of dot pattern.
Description
Technical field
The present invention relates to field of image processing more particularly to a kind of method and devices for detecting printing quality.
Background technique
With the development of graphics encoding techniques, occur using with certain regular arrangement in recent years on various print medias
To record the optics geometric figure of characteristic, wherein these figures generally use the block of different colours, or by sparse
Dot matrix is constituted, and can be used to record characteristic symbolic information on these geometrical patterns, wherein the figure being made of sparse dot matrix
Shape is dot pattern.
During printing to dot pattern, dot pattern may be distorted, may be due to some environment or behaviour
Make it is improper cause print result mistake occur, still, since dot pattern midpoint is excessive, where being visually difficult to differentiate and ging wrong, and
And for some technical staff for not knowing about dot pattern rule, the root of problem can not be even more found.
Summary of the invention
In view of this, realizing the embodiment of the invention provides a kind of method and device for detecting printing quality to point diagram
The automatic detection of shape printing quality.
The embodiment of the invention discloses a kind of methods for detecting printing quality, comprising:
The group of data points of dot pattern is obtained from dot pattern to be detected;
According to the group of data points in dot pattern, the information of each nominal position in dot pattern is extracted;
According to the preset coding rule of group of data points, nominal position and dot pattern of the dot pattern, dot pattern is detected
Print index;
According to the printing index, the printing quality of the dot pattern is determined.
Optionally, the group of data points according to the dot pattern detects the printing index of dot pattern, comprising:
According to the nominal position of dot pattern, the straightness of nominal position is detected;
According to the nominal position of dot pattern, the degree of consistency of nominal position spacing is detected;
According to the nominal position and group of data points in dot pattern, the satisfaction of test point graphic point;
The degree of purity for the data point for including in group of data points in detection dot pattern;
Detect the quantity of stain in dot pattern.
Optionally, the nominal position according to dot pattern, detects the straightness of nominal position, comprising:
According to the coordinate of each nominal position, row and column locating for each nominal position is determined;
It determines in the straight line where the nominal position of a line or same row;
It counts in every a line and each column, not the quantity of the nominal position on the straight line where nominal position.
Optionally, the nominal position according to dot pattern detects the degree of consistency of nominal position spacing, comprising:
Calculate the distance between each adjacent nominal position;
Calculate the mean value of the distance between each adjacent nominal position;
Count the distance between each adjacent nominal position and the unequal quantity of the mean value.
Optionally, the nominal position and group of data points according in dot pattern, the satisfaction of test point graphic point,
Include:
Whether within the preset angle range successively judge the angle of each group of data points;
The quantity of the angle of statistical number strong point group not within the preset angle range.
Optionally, the degree of purity for the data point that group of data points includes in the detection dot pattern, comprising:
Each dot pattern sub-block in dot pattern is determined according to the nominal position;
Whether judge in each dot pattern sub-block comprising the miscellaneous point in addition to group of data points and reference point group;
Count the quantity of the figure sub-block in the dot pattern comprising miscellaneous point.
Optionally, the quantity for detecting stain in the dot pattern, comprising:
Obtain the connected domain in dot pattern;
Connected domain in dot pattern is compared with preset upper threshold;
Statistics is greater than the quantity of the connected domain of preset upper threshold.
Optionally, described according to the printing index, determine the printing quality of the dot pattern, comprising:
Based on the straightness of the nominal position detected, the first level of printing quality is determined;
The degree of consistency of spacing based on the dot pattern nominal position, determines the second level of printing quality;
Based on the satisfaction of the dot pattern angle detected, the third level of printing quality is determined;
Based on the degree of purity of data point in the dot pattern, the fourth level of printing quality is determined;
Based on the quantity of stain in the dot pattern, the fifth level of printing quality is determined;
The first level, second level, third level, fourth level and fifth level are analyzed, described in determination
The rank of dot pattern printing quality.
The embodiment of the invention discloses a kind of devices for detecting printing quality, comprising:
Acquiring unit, for obtaining the group of data points of dot pattern from dot pattern to be detected;
Extraction unit, for extracting the letter of each nominal position in dot pattern according to the group of data points in dot pattern
Breath;
Detection unit, for the preset coding rule of group of data points, nominal position and dot pattern according to the dot pattern
Then, the printing index of dot pattern is detected;
Printing quality determination unit, for determining the printing quality of the dot pattern according to the printing index.
Optionally, the detection unit, comprising:
Linearity surveying subelement detects the straightness of nominal position for the nominal position of strong point figure;
Degree of consistency detection sub-unit detects the consistent of nominal position spacing for the nominal position according to dot pattern
Property degree;
Angle satisfaction detection sub-unit, for detecting dot pattern according to the nominal position and group of data points in dot pattern
The satisfaction of angle;
Data degree of purity detection sub-unit, for detecting the degree of purity for the data point for including in group of data points in dot pattern;
Stain quantity detection sub-unit, for detecting the quantity of stain in dot pattern.
The embodiment of the invention discloses a kind of method and devices for detecting printing quality, comprising: from dot pattern to be detected
The middle group of data points for obtaining dot pattern;According to the group of data points in dot pattern, the letter of each nominal position in dot pattern is extracted
Breath;According to code-point, nominal position and the preset coding rule of dot pattern of dot pattern, the printing index of dot pattern is detected;According to
Index is printed, determines the printing quality of the dot pattern.In this way, realizing the automatic detection to dot pattern printing quality, nothing
Manual intervention is needed, even if not knowing about the technical staff of dot pattern create-rule, the method that the present embodiment can also be used, to point
The quality of figure is detected.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The embodiment of the present invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to the attached drawing of offer.
Fig. 1 shows a kind of flow diagram of method for detecting printing quality provided in an embodiment of the present invention;
Fig. 2 shows the schematic diagrames of dot pattern provided in an embodiment of the present invention;
Fig. 3 shows the schematic diagram of nominal position in dot pattern provided in an embodiment of the present invention;
Fig. 4 shows a kind of structural schematic diagram of device for detecting printing quality provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment, shall fall within the protection scope of the present invention.
With reference to Fig. 1, a kind of flow diagram of method for detecting printing quality provided in an embodiment of the present invention is shown,
In the present embodiment, this method comprises:
S101: the group of data points of dot pattern is obtained from dot pattern to be detected;
In the present embodiment, the detection process to group of data points may include:
Binary conversion treatment is carried out to the region where the code-point, obtains the bianry image comprising multiple connected domains;
Obtain the quantity for the pixel for including in each connected domain;
Filter out connected domain of the quantity of pixel in preset first range;
Two nearest connected domains of distance are calculated into the distance value of two connected domains in every group as one group, and calculate institute
There is the average value of distance value;
If the distance value of two connected domains is less than the average value of distance value in every group, using the connected domain of the group as one
A code-point;
If connected domain is greater than preset third threshold value, using the connected domain as two code-points;
Using two nearest code-points of distance as a group of data points.
In the present embodiment, in dot pattern, each group of data points occurs in pairs, and between the two group of data points
Distance be it is nearest, in the present embodiment can code-point by distance for pairing, and then determine group of data points.
Firstly, first find the code-point that can be used for matching, comprising: count the number for the pixel for including in each connected domain
Amount, the quantity for filtering out pixel are greater than the target connected domain of preset first range;It is directed to the connection of any one target
Domain calculates the distance between the target connected domain and other target connected domains, and filters out apart from nearest target connected domain,
Using two nearest connected domains of the distance as one group.The distance value of every group of connected domain is calculated, and calculates the flat of all distance values
Mean value.
Then, according to the connected domain filtered out, code-point all in the region where code-point is determined, comprising: judgement is each
Relationship between the size of connected domain and preset third threshold value will be greater than the connected domain of third threshold value as two code-points, example
The connected domain can be such as divided into two parts, every part is as a connected domain, such as is segmented into up and down that two parts can also be with
It is divided into left and right two parts;And judge in every group the relationship of the distance of two connected domains and the average value of distance value, if two in every group
The distance of a connected domain is less than the average value of distance value, then using two connected domains in the group as a code-point.
Calculate the centers of each code-point and other code-points away from, wherein center away from it is to be understood that a code-point center
To another code-point center away from.
It is directed to any one code-point, calculates the center of the code-point and other code-points away from by the corresponding code of minimum centers-distance
Pairing code-point of the point as the code-point, and using the two code-points as a group of data points, that is, it is directed to any one code-point,
An other code-point nearest apart from the code-point is searched out, and using the two code-points as a group of data points.
S102: according to the group of data points in dot pattern, the information of each nominal position in dot pattern is extracted;
In the present embodiment, it includes group of data points and nominal position etc. that dot pattern, which includes: multiple subelements, each subelement,.
For example: as shown in Fig. 2, dot pattern block 100 includes multiple subelements 101, each subelement includes data point
Nominal position 102, the two sides of each data point nominal position include two code-points, and the two of each data point nominal position two sides
A code-point is expressed as group of data points 103, and the surface of reference point nominal position 104 includes a reference point group 104.
Also, there is the first geometrical relationship, each data point nominal position and corresponding number between all nominal positions
Include the second geometrical relationship between the group of strong point, includes third geometrical relationship between each reference point nominal position and reference point group.
Therefore, according to the geometrical relationship between group of data points and nominal position, the position of all nominal positions can be extracted
Confidence breath.
S103: according to the preset coding rule of group of data points, nominal position and dot pattern of the dot pattern, test point
The printing index of figure;
In the present embodiment, the problem of including when printing to dot pattern, may be very much, there are the problem of need by some
Index embodies, and the fine or not degree of index embodies the quality of printing quality, wherein printing index for example may include: nominal position
The degree of consistency of the spacing of the straightness, nominal position set, the satisfaction of dot pattern angle, the degree of purity of code-point, stain
Quantity.
Wherein, the calculating process for printing index includes:
According to the nominal position of dot pattern, the straightness of nominal position is detected;
According to the nominal position of dot pattern, the degree of consistency of nominal position spacing is detected;
According to the nominal position and group of data points in dot pattern, the satisfaction of test point graphic point;
The degree of purity for the data point for including in group of data points in detection dot pattern;
Detect the quantity of stain in dot pattern.
Wherein, for straightness index, such as may include:
According to the coordinate of each nominal position, row and column locating for each nominal position is determined;
It determines in the straight line where the nominal position of a line or same row;
It counts in every a line and each column, not the quantity of the nominal position on the straight line where nominal position.
In the present embodiment, determine that the process of row and column locating for each nominal position includes:
Three nominal positions nearest from reference point nominal position are calculated, and calculate point diagram according to these three nominal positions
The width and height of shape sub-block;The distance between each nominal position and reference point nominal position are calculated, reference distance is expressed as;Meter
The first wide multiple proportion of reference distance and dot pattern sub-block is calculated, high second times of reference distance and dot pattern sub-block is calculated
Number relationship;According to the first multiple proportion and the second multiple proportion, the row and column where nominal position is determined.
For example: as shown in figure 3, point D is reference point nominal position, A, C, B are that distance reference point nominal position is nearest
Three nominal positions, thenDifference between the y-coordinate of A and the y-coordinate of C is equal to height.
In the present embodiment, the nominal position in same a line and same row should point-blank, still, due to print
The influence of swiped through journey causes the nominal position being calculated also inaccurate, then marking since group of data points printing goes wrong
Claim position that may deviate original position.
Determination for the straight line where nominal position, such as may include:
For any a line or any one column, if the quantity of the nominal position on certain straight line is greater than on other straight lines
Nominal position quantity, then using the straight line as the linear position of the nominal position in the row or the column.
Then, it counts in every a line and each column, deviates the quantity of the nominal position of the straight line where nominal position, and lead to
The quantity for crossing the nominal position of statistics indicates straightness.
Wherein, for the detection of the degree of consistency of nominal position spacing, may include:
Calculate the distance between each adjacent nominal position;
Calculate the mean value of the distance between each adjacent nominal position;
Count the distance between each adjacent nominal position and the unequal quantity of the mean value.
Wherein, for the detection of the satisfaction of dot pattern angle, may include:
Whether within the preset angle range successively judge the angle of each group of data points;
The quantity of the angle of statistical number strong point group not within the preset angle range.
In the present embodiment, as can be seen from FIG. 2, the angle of dot pattern includes: 0 degree, 45 degree, 90 degree, 135 degree, each angle
A corresponding range intervals, such as 0 degree of correspondence [0,2] degree, 45 degree of correspondence [35,45] degree, 90 degree of correspondences [85,95], 135 degree
Corresponding [120,140] degree, it is understood that, the angular range of the example above is only used for illustrating, each angle pair
The interval range answered can be configured according to actual needs.
Calculating each sub-unit of data nominal position two sides includes group of data points, and group of data points includes two code-points, this two
Angle between a code-point is the angle of group of data points.
Wherein, in dot pattern the degree of purity of data point detection, may include:
Each dot pattern sub-block in dot pattern is determined according to the nominal position;
Whether judge in each dot pattern sub-block comprising the miscellaneous point in addition to group of data points and reference point group;
Count the quantity of the figure sub-block in the dot pattern comprising miscellaneous point.
In the present embodiment, above describe calculate each figure by reference to nominal position and data point nominal position
The width and height of sub-block, and then determine the position of all figure sub-blocks for including in dot pattern, and as shown in Fig. 2, each
It include a nominal position in dot pattern sub-block, each nominal position corresponds to a group of data points or a reference point group, if
It is in dot pattern sub-block other than group of data points and reference point group, also comprising other code-points, then the code-point is miscellaneous point.
Wherein, to the detection of the quantity of stain in dot pattern, may include:
Obtain the connected domain in dot pattern;
Connected domain in dot pattern is compared with preset upper threshold;
Statistics is greater than the quantity of the connected domain of preset upper threshold.
In the present embodiment, it can be obtained by carrying out binary conversion treatment to image by the binary conversion treatment to image
The each connected domain for including in dot pattern.
In the present embodiment, preset upper threshold can pass through following formula 1) it is calculated:
Interim, the pixel number in dot pattern is x, and the pixel number of the corresponding module in the picture of acquisition is y, i.e., in threshold value
It is limited to y.
S104: according to the printing index, the printing quality of the dot pattern is determined;
In the present embodiment, the problem of index can reflect printing quality is printed, the severity of problem can be anti-
Reflect the printing quality of dot pattern.
Interim, S104 may include:
Based on the straightness of the nominal position detected, the first level of printing quality is determined;
The degree of consistency of spacing based on the dot pattern nominal position, determines the second level of printing quality;
Based on the satisfaction of the dot pattern angle detected, the third level of printing quality is determined;
Based on the degree of purity of data point in the dot pattern, the fourth level of printing quality is determined;
Based on the quantity of stain in the dot pattern, the fifth level of printing quality is determined;
The first level, second level, third level, fourth level and fifth level are analyzed, described in determination
The rank of dot pattern printing quality.
In the present embodiment, first level, second level, third level, fourth level and fifth level respectively indicate printing
The different brackets of quality, higher grade, indicates that printing quality is better, and lower grade, indicates that printing quality is poorer.
Wherein, by analyzing first level, second level, third level, fourth level and fifth level, really
It may include a variety of for determining the method for printing quality, such as may include:
Mode one determines print by the weight of each index and the rank of each index to each setup measures weight
Brush quality;
Mode two, chosen from the corresponding rank of each index it is elementary, by it is elementary be used as printing quality
Amount.
In the present embodiment, for the straightness according to nominal position, the first level of printing quality is determined, wherein can be with
It is interpreted as, the quantity of the nominal position on the straight line where nominal position is not fewer in the every a line and each column counted, table
Show that printing quality is higher;On the contrary, the not nominal position on the straight line where nominal position in every a line and each column for counting
Quantity it is more, printing quality is poorer.
In the present embodiment, for the degree of consistency of the spacing based on the dot pattern nominal position, printing quality is determined
Second level: the distance between each adjacent nominal position counted and the unequal quantity of the mean value can indicate one
Cause property degree, the degree of consistency can reflect the quality of printing quality.For example, between each adjacent nominal position counted
Distance and the unequal quantity of the mean value are fewer, indicate that printing quality is better, the higher grade of printing quality;It counts
The distance between each adjacent nominal position and the unequal quantity of the mean value are more, indicate that printing quality is poorer, printing quality
Lower grade.
In the present embodiment, for the satisfaction based on the dot pattern angle detected, the third level of printing quality is determined
Other: the quantity of the angle of the group of data points counted not within the preset angle range can reflect the satisfaction of dot pattern angle
Degree, the satisfaction of dot pattern angle can reflect the quality of printing quality.For example, the angle of the group of data points counted does not exist
Quantity in preset angular range is fewer, indicates that printing quality is better, the higher grade of printing quality;The data counted
The quantity of the angle of point group not within the preset angle range is more, indicates that printing quality is poorer, the grade of printing quality is got over
It is low.
In the present embodiment, for the degree of purity based on data point in the dot pattern, the fourth stage of printing quality is determined
Other: the quantity of the dot pattern sub-block in the dot pattern counted comprising miscellaneous point can reflect the pure of data point in dot pattern
It spends, the degree of purity of data point can reflect the quality of printing quality in dot pattern.For example, comprising miscellaneous in the dot pattern counted
The quantity of the dot pattern sub-block of point is fewer, indicates that printing quality is better, the higher grade of printing quality;The dot pattern counted
In comprising miscellaneous point dot pattern sub-block quantity it is more, indicate printing quality it is poorer, the lower grade of printing quality.
In the present embodiment, for the quantity based on stain in the dot pattern, the fifth level of printing quality is determined: point
The quantity of stain can reflect the quality of reflection printing quality in figure.For example, the quantity of stain is fewer in dot pattern, indicate
Printing quality is better, and the higher grade of printing quality;The quantity of stain is more in dot pattern, indicates that printing quality is poorer, printing
The lower grade of quality.
The embodiment of the invention provides a kind of method and devices for detecting printing quality, comprising: from dot pattern to be detected
The middle group of data points for obtaining dot pattern;According to the group of data points in dot pattern, the letter of each nominal position in dot pattern is extracted
Breath;According to code-point, nominal position and the preset coding rule of dot pattern of dot pattern, the printing index of dot pattern is detected;According to
Index is printed, determines the printing quality of the dot pattern.In this way, realizing the automatic detection to dot pattern printing quality, nothing
Manual intervention is needed, even if not knowing about the technical staff of dot pattern create-rule, the method that the present embodiment can also be used, to point
The quality of figure is detected.
With reference to Fig. 4, a kind of structural schematic diagram of device for detecting printing quality provided in an embodiment of the present invention is shown,
In the present embodiment, which includes:
Acquiring unit 401, for obtaining the group of data points of dot pattern from dot pattern to be detected;
Extraction unit 402, for extracting each nominal position in dot pattern according to the group of data points in dot pattern
Information;
Detection unit 403, for the preset coding of group of data points, nominal position and dot pattern according to the dot pattern
Rule detects the printing index of dot pattern;
Printing quality determination unit 404, for determining the printing quality of the dot pattern according to the printing index.
Optionally, the detection unit, comprising:
Linearity surveying subelement detects the straightness of nominal position for the nominal position of strong point figure;
Degree of consistency detection sub-unit detects the consistent of nominal position spacing for the nominal position according to dot pattern
Property degree;
Angle satisfaction detection sub-unit, for detecting dot pattern according to the nominal position and group of data points in dot pattern
The satisfaction of angle;
Data degree of purity detection sub-unit, for detecting the degree of purity for the data point for including in group of data points in dot pattern;
Stain quantity detection sub-unit, for detecting the quantity of stain in dot pattern.
Optionally, the nominal position according to dot pattern, detects the straightness of nominal position, comprising:
According to the coordinate of each nominal position, row and column locating for each nominal position is determined;
It determines in the straight line where the nominal position of a line or same row;
It counts in every a line and each column, not the quantity of the nominal position on the straight line where nominal position.
Optionally, the nominal position according to dot pattern detects the degree of consistency of nominal position spacing, comprising:
Calculate the distance between each adjacent nominal position;
Calculate the mean value of the distance between each adjacent nominal position;
Count the distance between each adjacent nominal position and the unequal quantity of the mean value.
Optionally, the nominal position and group of data points according in dot pattern, the satisfaction of test point graphic point,
Include:
Whether within the preset angle range successively judge the angle of each group of data points;
The quantity of the angle of statistical number strong point group not within the preset angle range.
Optionally, the degree of purity for the data point that group of data points includes in the detection dot pattern, comprising:
Each dot pattern sub-block in dot pattern is determined according to the nominal position;
Whether judge in each dot pattern sub-block comprising the miscellaneous point in addition to group of data points and reference point group;
Count the quantity of the figure sub-block in the dot pattern comprising miscellaneous point.
Optionally, the quantity for detecting stain in the dot pattern, comprising:
Obtain the connected domain in dot pattern;
Connected domain in dot pattern is compared with preset upper threshold;
Statistics is greater than the quantity of the connected domain of preset upper threshold.
The printing quality determination unit, comprising:
Based on the straightness of the nominal position detected, the first level of printing quality is determined;
The degree of consistency of spacing based on the dot pattern nominal position, determines the second level of printing quality;
Based on the satisfaction of the dot pattern angle detected, the third level of printing quality is determined;
Based on the degree of purity of data point in the dot pattern, the fourth level of printing quality is determined;
Based on the quantity of stain in the dot pattern, the fifth level of printing quality is determined;
The first level, second level, third level, fourth level and fifth level are analyzed, described in determination
The rank of dot pattern printing quality.
Device through this embodiment realizes the automatic detection to dot pattern printing quality, is not necessarily to manual intervention,
Even if not knowing about the technical staff of dot pattern create-rule, the method that the present embodiment can also be used, to the quality of dot pattern into
Row detection.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, defined herein
General Principle can realize in other embodiments without departing from the spirit or scope of the present invention.Therefore, originally
Invention is not intended to be limited to the embodiments shown herein, and is to fit to special with principles disclosed herein and novelty
The consistent widest scope of point.
Claims (10)
1. a kind of method for detecting printing quality characterized by comprising
The group of data points of dot pattern is obtained from dot pattern to be detected;
According to the group of data points in dot pattern, the information of each nominal position in dot pattern is extracted;
According to the preset coding rule of group of data points, nominal position and dot pattern of the dot pattern, the printing of dot pattern is detected
Index;
According to the printing index, the printing quality of the dot pattern is determined.
2. the method according to claim 1, wherein the group of data points according to the dot pattern, test point
The printing index of figure, comprising:
According to the nominal position of dot pattern, the straightness of nominal position is detected;
According to the nominal position of dot pattern, the degree of consistency of nominal position spacing is detected;
According to the nominal position and group of data points in dot pattern, the satisfaction of test point graphic point;
The degree of purity for the data point for including in group of data points in detection dot pattern;
Detect the quantity of stain in dot pattern.
3. according to the method described in claim 2, it is characterized in that, the nominal position according to dot pattern, detects nominal position
The straightness set, comprising:
According to the coordinate of each nominal position, row and column locating for each nominal position is determined;
It determines in the straight line where the nominal position of a line or same row;
It counts in every a line and each column, not the quantity of the nominal position on the straight line where nominal position.
4. according to the method described in claim 2, it is characterized in that, the nominal position according to dot pattern, detects nominal position
Set the degree of consistency of spacing, comprising:
Calculate the distance between each adjacent nominal position;
Calculate the mean value of the distance between each adjacent nominal position;
Count the distance between each adjacent nominal position and the unequal quantity of the mean value.
5. according to the method described in claim 2, it is characterized in that, the nominal position and data point according in dot pattern
Group, the satisfaction of test point graphic point, comprising:
Whether within the preset angle range successively judge the angle of each group of data points;
The quantity of the angle of statistical number strong point group not within the preset angle range.
6. according to the method described in claim 2, it is characterized in that, the data point that group of data points includes in the detection dot pattern
Degree of purity, comprising:
Each dot pattern sub-block in dot pattern is determined according to the nominal position;
Whether judge in each dot pattern sub-block comprising the miscellaneous point in addition to group of data points and reference point group;
Count the quantity of the figure sub-block in the dot pattern comprising miscellaneous point.
7. according to the method described in claim 2, it is characterized in that, the quantity for detecting stain in the dot pattern, comprising:
Obtain the connected domain in dot pattern;
Connected domain in dot pattern is compared with preset upper threshold;
Statistics is greater than the quantity of the connected domain of preset upper threshold.
8. according to the method described in claim 2, determining the dot pattern it is characterized in that, described according to the printing index
Printing quality, comprising:
Based on the straightness of the nominal position detected, the first level of printing quality is determined;
The degree of consistency of spacing based on the dot pattern nominal position, determines the second level of printing quality;
Based on the satisfaction of the dot pattern angle detected, the third level of printing quality is determined;
Based on the degree of purity of data point in the dot pattern, the fourth level of printing quality is determined;
Based on the quantity of stain in the dot pattern, the fifth level of printing quality is determined;
The first level, second level, third level, fourth level and fifth level are analyzed, determine the point diagram
The rank of shape printing quality.
9. a kind of device for detecting printing quality characterized by comprising
Acquiring unit, for obtaining the group of data points of dot pattern from dot pattern to be detected;
Extraction unit, for extracting the information of each nominal position in dot pattern according to the group of data points in dot pattern;
Detection unit, for the preset coding rule of group of data points, nominal position and dot pattern according to the dot pattern, detection
The printing index of dot pattern;
Printing quality determination unit, for determining the printing quality of the dot pattern according to the printing index.
10. device according to claim 9, which is characterized in that the detection unit, comprising:
Linearity surveying subelement detects the straightness of nominal position for the nominal position of strong point figure;
Degree of consistency detection sub-unit detects the consistency journey of nominal position spacing for the nominal position according to dot pattern
Degree;
Angle satisfaction detection sub-unit, for according to the nominal position and group of data points in dot pattern, test point graphic point
Satisfaction;
Data degree of purity detection sub-unit, for detecting the degree of purity for the data point for including in group of data points in dot pattern;
Stain quantity detection sub-unit, for detecting the quantity of stain in dot pattern.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910655755.8A CN110530895B (en) | 2019-07-19 | 2019-07-19 | Method and device for detecting printing quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910655755.8A CN110530895B (en) | 2019-07-19 | 2019-07-19 | Method and device for detecting printing quality |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110530895A true CN110530895A (en) | 2019-12-03 |
CN110530895B CN110530895B (en) | 2022-05-27 |
Family
ID=68660814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910655755.8A Active CN110530895B (en) | 2019-07-19 | 2019-07-19 | Method and device for detecting printing quality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110530895B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101044026A (en) * | 2004-10-15 | 2007-09-26 | 吉田健治 | Printing structure of medium surface on which dot pattern is formed by printing, printing method, and its reading method |
CN101636035A (en) * | 2008-07-23 | 2010-01-27 | 精工爱普生株式会社 | Fault detection of a printed dot-pattern bitmap |
CN201628690U (en) * | 2010-03-15 | 2010-11-10 | 深圳市天朗时代科技有限公司 | Print detecting system |
CN103164723A (en) * | 2011-12-13 | 2013-06-19 | 李卫伟 | Coding method, coding device, decoding method, decoding device and printing method |
JP5966277B2 (en) * | 2011-08-19 | 2016-08-10 | 大日本印刷株式会社 | Barcode appearance inspection system, barcode appearance inspection method, image processing apparatus |
CN108693194A (en) * | 2018-06-22 | 2018-10-23 | 湖南大学 | Plate Production line lattice ink jet numbering machine device vision automatic checkout system |
-
2019
- 2019-07-19 CN CN201910655755.8A patent/CN110530895B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101044026A (en) * | 2004-10-15 | 2007-09-26 | 吉田健治 | Printing structure of medium surface on which dot pattern is formed by printing, printing method, and its reading method |
CN101636035A (en) * | 2008-07-23 | 2010-01-27 | 精工爱普生株式会社 | Fault detection of a printed dot-pattern bitmap |
CN201628690U (en) * | 2010-03-15 | 2010-11-10 | 深圳市天朗时代科技有限公司 | Print detecting system |
JP5966277B2 (en) * | 2011-08-19 | 2016-08-10 | 大日本印刷株式会社 | Barcode appearance inspection system, barcode appearance inspection method, image processing apparatus |
CN103164723A (en) * | 2011-12-13 | 2013-06-19 | 李卫伟 | Coding method, coding device, decoding method, decoding device and printing method |
CN108693194A (en) * | 2018-06-22 | 2018-10-23 | 湖南大学 | Plate Production line lattice ink jet numbering machine device vision automatic checkout system |
Non-Patent Citations (2)
Title |
---|
中华人民共和国国家质量监督检验检疫总局 等: "《中华人民共和国国家标准 GB/23704-2017 二维条码符号印制质量的检验》", 31 January 2018 * |
王亚男: "二维连续点阵码印刷质量检测***设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技I辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110530895B (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3413239B1 (en) | Methods of encoding and reading 2d bitmap barcode | |
CN106846298B (en) | Optical fiber flat cable identification method and device | |
CN104200188B (en) | Method and system for rapidly positioning position detection patterns of QR code | |
CN105338342B (en) | The detection method and device of a kind of dead pixel points of images | |
CN106909869B (en) | Sampling grid division method and device for matrix type two-dimensional code | |
CN110348266A (en) | The reading method and device of a kind of horizontal and vertical parity check code image | |
CN106407973B (en) | It is marked on the Robust identifying method of the AR code on cylinder | |
CN109948393A (en) | A kind of localization method and device of bar code | |
CN108895959A (en) | A kind of camera calibration plate angle point calculating method based on sub-pix | |
CN109029203A (en) | A kind of semi-automatic measuring dimension of object device based on Digital Image Processing | |
CN101146236A (en) | Method for testing image obtaining device, related test flat and image card | |
CN117437223B (en) | Intelligent defect detection method for high-speed board-to-board connector | |
CN111462214A (en) | Line structure light stripe central line extraction method based on Hough transformation | |
CN110852333A (en) | Automatic reading method and device for pointer instrument | |
CN111598104A (en) | License plate character recognition method and system | |
CN105469384B (en) | The integrated evaluating method of license plate image quality | |
CN110889304A (en) | Two-dimensional code quality evaluation method and device, storage medium, electronic device and system | |
CN110530895A (en) | A kind of method and device detecting printing quality | |
CN110288619B (en) | Vision-based sunflower module surface screw hole position detection method | |
CN112016565B (en) | Segmentation method for fuzzy numbers at account number of financial bill | |
CN108629308A (en) | A kind of orbit generation method based on dot matrix image | |
CN109711405B (en) | Non-supervised extraction method of corrugated board based on skeleton self-correction | |
CN103827793A (en) | Mark reading device and mark reading method | |
CN104166843B (en) | Document image source judgment method based on linear continuity | |
CN114581915A (en) | Noise robust multi-class dial plate pointer reading identification method and device |
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 |