CN115131352B - Corona effect evaluation method for corona machine - Google Patents

Corona effect evaluation method for corona machine Download PDF

Info

Publication number
CN115131352B
CN115131352B CN202211050913.5A CN202211050913A CN115131352B CN 115131352 B CN115131352 B CN 115131352B CN 202211050913 A CN202211050913 A CN 202211050913A CN 115131352 B CN115131352 B CN 115131352B
Authority
CN
China
Prior art keywords
gray
neighborhood
difference
matrix
difference matrix
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.)
Active
Application number
CN202211050913.5A
Other languages
Chinese (zh)
Other versions
CN115131352A (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.)
Nantong Bairuili Electric Tools Co ltd
Original Assignee
Nantong Bairuili Electric Tools 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 Nantong Bairuili Electric Tools Co ltd filed Critical Nantong Bairuili Electric Tools Co ltd
Priority to CN202211050913.5A priority Critical patent/CN115131352B/en
Publication of CN115131352A publication Critical patent/CN115131352A/en
Application granted granted Critical
Publication of CN115131352B publication Critical patent/CN115131352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30144Printing quality

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Algebra (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Quality & Reliability (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to the technical field of electric data processing, in particular to a corona effect evaluation method of a corona machine; in the method, printed images corresponding to materials before and after corona treatment are respectively obtained by using a pattern recognition method; specifically, the method can adopt related electronic equipment to perform pattern recognition, then perform data processing on data in a printed image to obtain a first gray level difference matrix, a gray level neighborhood difference matrix and a second gray level difference matrix, and calculate a gain effect based on the gray level neighborhood difference matrix; obtaining a weight matrix based on the gray level neighborhood difference matrix; multiplying the weight matrix by a second gray difference matrix to obtain a weighted second gray difference matrix; calculating printing difference; and calculating a performance evaluation value according to the gain effect and the printing difference, and evaluating the corona effect of the corona machine according to the performance evaluation value. The invention adopts a pattern recognition mode to obtain the printing image, and carries out data processing on data in the printing image, thereby being capable of accurately evaluating the corona effect.

Description

Corona effect evaluation method for corona machine
Technical Field
The invention relates to the technical field of electric data processing, in particular to a corona effect evaluation method for a corona machine.
Background
The materials such as silicon rubber, plastic metal plates, sheets and the like are not high in surface adhesive force and not strong in coloring capability, so that printed patterns are fuzzy and not high in pattern durability when the materials are directly subjected to printing and dyeing treatment, and the printed patterns are extremely easy to fall off from the surfaces of the materials; therefore, the corona machine is used for carrying out surface treatment on the materials, so that the adhesive force of the surface of the material can be improved, the surface of the material can be coarsened, the surface tension of the material can be improved, and the printing ink, the glue and the coating can be better adhered to the surface of the treated material; meanwhile, ozone generated in the corona process can change the molecular structure of the surface of the material from non-polar to polar. The printing can ensure full color and clean picture for a long time, thereby achieving ideal printing and bonding effects. In the corona treatment process, the corona effect of the corona machine directly influences the quality of later-period printed patterns, if the corona effect does not meet the requirements, the patterns still have the phenomena of fuzziness and low persistence, therefore, in order to ensure the quality of the printed patterns, the corona effect of the corona machine needs to be evaluated, but a relatively mature technical means for evaluating the corona effect of the corona machine does not exist at present.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide a corona effect evaluation method of a corona machine, which adopts the following technical scheme:
respectively acquiring corresponding printing images of the material before and after corona treatment; preprocessing the printed image to obtain a gray image;
the pixel values of the corresponding gray level image after the corona treatment and the corresponding position of the corresponding gray level image before the corona treatment are differed to obtain a first gray level difference image; constructing a first gray difference matrix based on the first gray difference image;
randomly selecting one element in the first gray level difference matrix, calculating the difference value between the element and 8 neighborhood elements of the element to obtain a difference value sum, and taking the difference value sum as the gray level neighborhood difference of the element; acquiring gray neighborhood differences corresponding to each element, and constructing a gray neighborhood difference matrix according to the gray neighborhood differences;
calculating the gain effect of corona treatment according to the gray level neighborhood difference matrix;
the pixel value of the corresponding position of the corresponding gray image after the corona treatment and the corresponding position of the gray image corresponding to the standard printing image are subjected to subtraction, and a second gray difference image is obtained; constructing a second gray difference matrix based on the second gray difference image;
performing data processing on each element in the gray level neighborhood difference matrix to obtain a weight matrix;
multiplying the weight matrix by the second gray difference matrix to obtain a weighted second gray difference matrix;
calculating the average value and the variance corresponding to the weighted second gray level difference matrix, and recording the product of the average value and the variance as the printing difference;
and calculating a performance evaluation value according to the gain effect and the printing difference, and evaluating the corona effect of the corona machine based on the performance evaluation value.
Further, the material comprises silicone, rubber or plastic.
Further, the gain effect obtaining method comprises: and calculating the maximum value, the minimum value, the average value and the variance corresponding to the gray level neighborhood difference matrix, and determining the gain effect based on the maximum value, the minimum value, the average value and the variance.
Further, the data processing comprises normalizing each element in the gray neighborhood difference matrix.
Further, the performance evaluation value is the gain effect to print difference ratio.
Further, the method for evaluating the corona effect of the corona machine comprises the following steps: and comparing the performance evaluation value with an evaluation threshold value, wherein when the performance evaluation value is larger than the evaluation threshold value, the corona effect of the corona machine is good, and when the performance evaluation value is smaller than the evaluation threshold value, the corona effect of the corona machine is poor.
The embodiment of the invention at least has the following beneficial effects:
the method comprises the steps of respectively obtaining corresponding printing images of a material before and after corona treatment by using an identification graph; specifically, relevant electronic equipment can be adopted for pattern recognition, data processing is carried out according to the obtained printing image to obtain a first gray level difference matrix, a gray level neighborhood difference matrix and a second gray level difference matrix, and the gain effect of corona treatment is calculated based on the gray level neighborhood difference matrix; obtaining a weight matrix based on the gray level neighborhood difference matrix; multiplying the weight matrix by a second gray difference matrix to obtain a weighted second gray difference matrix; and calculating printing differences; and calculating a performance evaluation value according to the gain effect and the printing difference, and evaluating the corona effect of the corona machine according to the performance evaluation value.
According to the method, corresponding printing images of the material before and after corona treatment are subjected to related data processing, a gray level neighborhood difference matrix is constructed, and the gain effect of the corona treatment is calculated based on the gray level neighborhood difference matrix; the gain effect of corona treatment can be accurately obtained, and the surface adhesive force and the surface tension increased by the material after corona treatment are obtained; meanwhile, the weighted second gray level difference matrix is obtained through the weight matrix and the second gray level difference matrix, so that the gain effect of corona treatment and the printing effect after corona treatment can be represented, the corona treatment effect of a corona machine on a material can be reflected from multiple angles, and the evaluation on the corona treatment effect of the corona machine is more specific and comprehensive.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating steps of an embodiment of a corona effect evaluation method of a corona machine according to the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the predetermined objects, the following detailed description of the proposed solution, its specific implementation, structure, features and effects will be made with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" refers to not necessarily the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
Referring to fig. 1, a flow chart of steps of a corona effect evaluation method according to an embodiment of the present invention is shown, where the method includes the following steps:
(1) Respectively acquiring corresponding printing images of the material before and after corona treatment; preprocessing a printed image to obtain a gray image, and subtracting the pixel value of the corresponding position of the corresponding gray image after corona treatment from the pixel value of the corresponding position of the corresponding gray image before corona treatment to obtain a first gray difference image; and constructing a first gray difference matrix based on the first gray difference image.
Specifically, the material in the present application includes silicone, rubber or plastic, and the present embodiment takes silicone as an example for description; the method for evaluating the corona effect of the corona machine by using rubber or plastic is consistent with the method for evaluating the corona effect of the corona machine by using silica gel, and is not described in detail.
In the embodiment, the printing operation is directly performed without performing corona treatment on the silica gel to obtain a corresponding printing image of the silica gel before the corona treatment; carrying out corona treatment on the silica gel by using a corona machine, and then carrying out printing operation on the silica gel to obtain a corresponding printing image of the silica gel after corona treatment; during the two printing operations, the printed patterns are consistent.
The method includes the steps that a camera is used for obtaining printing images corresponding to silica gel before and after corona treatment, a component method is adopted for conducting graying treatment on the printing images to obtain grayscale images, furthermore, a histogram equalization algorithm is adopted for conducting image enhancement on the grayscale images, and the contrast of the grayscale images is increased. As another embodiment, the printed image may be subjected to the gradation processing by the maximum value method, the average value method, and the weighted average method.
In this embodiment, a grayscale image corresponding to silica gel before corona treatment is denoted as grayscale image a, a grayscale image corresponding to silica gel after corona treatment is denoted as grayscale image B, and a difference is made between pixel values of corresponding positions of grayscale image a and grayscale image B to obtain a first grayscale difference image
Figure 570156DEST_PATH_IMAGE001
I.e. by
Figure 330040DEST_PATH_IMAGE002
(ii) a Wherein the absolute value is to prevent the gray difference value of the corresponding position from being a negative value; and according to the first gray difference image
Figure 674825DEST_PATH_IMAGE001
And constructing a first gray difference matrix. The size of the grayscale images a and B is equal, m × n, m is the width of the grayscale image, and n is the length of the grayscale image.
The construction rule for constructing the first gray level difference matrix is as follows: taking the pixel value of the 1 st row and the 1 st column in the first gray scale difference image as the element of the 1 st row and the 1 st column in the first gray scale difference matrix, taking the pixel value of the 1 st row and the 2 nd column in the first gray scale difference image as the element of the 1 st row and the 2 nd column in the first gray scale difference matrix, and so on to obtain a first gray scale difference matrix;
that is, the first gray difference matrix is:
Figure 742138DEST_PATH_IMAGE003
in which
Figure 336936DEST_PATH_IMAGE004
Being an element of the 1 st row and 1 st column of the first gray scale difference matrix,
Figure 956137DEST_PATH_IMAGE005
being an element of the 1 st row and the nth column of the first gray scale difference matrix,
Figure 629695DEST_PATH_IMAGE006
is the element of the mth row and the 1 st column of the first gray difference matrix;
Figure 880459DEST_PATH_IMAGE007
is the element of the mth row and the nth column of the first gray scale difference matrix.
It should be noted that the larger the value of each element in the first grayscale difference matrix is, the more obvious the effect of improving the printing quality after corona treatment is; on the contrary, the printing quality improvement effect after the corona treatment is less obvious.
(2) Randomly selecting an element in the first gray level difference matrix, calculating a difference value between the element and an 8-neighborhood element of the element to obtain a difference sum, and taking the difference sum as a gray level neighborhood difference of the element; acquiring gray neighborhood difference corresponding to each element, constructing a gray neighborhood difference matrix according to the gray neighborhood difference, and calculating the gain effect of corona treatment according to the gray neighborhood difference matrix.
Specifically, the difference of the gray neighborhood corresponding to the element in the ith row and the jth column in the first gray difference matrix is as follows:
Figure 346076DEST_PATH_IMAGE008
wherein the content of the first and second substances,
Figure 11543DEST_PATH_IMAGE009
the gray level neighborhood difference corresponding to the element in the ith row and the jth column in the first gray level difference matrix,
Figure 546299DEST_PATH_IMAGE010
is the element in the ith row and the jth column of the first gray scale difference matrix,
Figure 689835DEST_PATH_IMAGE011
is the first in the first gray difference matrix
Figure 744379DEST_PATH_IMAGE012
Go to the first
Figure 79283DEST_PATH_IMAGE013
Elements of a column;
Figure 868379DEST_PATH_IMAGE014
the value set of (a) is { -1,0,1},
Figure 674661DEST_PATH_IMAGE015
is { -1,0,1}, and
Figure 223191DEST_PATH_IMAGE015
and
Figure 105828DEST_PATH_IMAGE014
cannot be 0 at the same time.
It should be noted that, in the calculation of the first gray-scale difference matrix
Figure 733950DEST_PATH_IMAGE004
Figure 343923DEST_PATH_IMAGE005
Figure 389370DEST_PATH_IMAGE006
Figure 66077DEST_PATH_IMAGE007
When the gray level neighborhood of the image is different, the difference value between the gray level neighborhood of the image and the 3 neighborhood elements of the image is calculated to respectively obtain the difference values
Figure 547874DEST_PATH_IMAGE004
Figure 102483DEST_PATH_IMAGE005
Figure 235393DEST_PATH_IMAGE006
Figure 974679DEST_PATH_IMAGE007
Corresponding gray neighborhood difference; similarly, the elements in the 1 st row, 1 st column, the last 1 st row and the last 1 st column of the first gray-scale difference matrix are calculated (excluding the elements
Figure 84718DEST_PATH_IMAGE004
Figure 285761DEST_PATH_IMAGE005
Figure 555068DEST_PATH_IMAGE006
Figure 340621DEST_PATH_IMAGE007
) When the gray scale neighborhood of (1) is different, the difference value with the 5 neighborhood elements is calculated to obtain the elements (excluding the 1 st row, the 1 st column, the last 1 row and the last 1 column) in the first gray scale difference matrix
Figure 317717DEST_PATH_IMAGE004
Figure 73183DEST_PATH_IMAGE005
Figure 806784DEST_PATH_IMAGE006
Figure 137140DEST_PATH_IMAGE007
) Corresponding gray neighborhood difference.
The method for acquiring the intermediate gray level neighborhood difference matrix comprises the following steps: taking the gray neighborhood difference corresponding to the element of the ith row and the jth column in the first gray difference matrix as the element of the ith row and the jth column in the gray neighborhood difference matrix;
namely, the gray neighborhood difference matrix is:
Figure 80825DEST_PATH_IMAGE016
wherein, the first and the second end of the pipe are connected with each other,
Figure 515349DEST_PATH_IMAGE017
is a matrix of the difference of the neighborhood of gray levels,
Figure 477357DEST_PATH_IMAGE018
is the element of the 1 st row and 1 st column of the gray neighborhood disparity matrix,
Figure 73555DEST_PATH_IMAGE019
is the element of the 1 st row and the n th column of the gray neighborhood difference matrix,
Figure 770115DEST_PATH_IMAGE020
the element is the element of the 1 st row of the m-th row of the gray level neighborhood difference matrix;
Figure 241286DEST_PATH_IMAGE021
is the element of the mth row and the nth column of the gray level neighborhood difference matrix.
The reason for constructing the gray neighborhood difference matrix is that the amplitude of the gradient change of the 8 neighborhoods in the first gray neighborhood difference matrix is represented by the gray neighborhood difference matrix; the difference between the two printed images can be represented by a first gray level difference matrix constructed by the corresponding printed image before the silica gel corona treatment and the corresponding printed image after the corona treatment, the larger the difference is, the better the corona treatment effect for representing the corona machine is, and the difference is represented by the size of the value of the element and the fluctuation range, namely the gradient, between the values of the element in the first gray level difference matrix; the gray neighborhood difference matrix is obtained by performing 8 neighborhood processing on elements in the first gray neighborhood difference matrix, so that the value of each element in the gray neighborhood difference matrix represents the gradient change amplitude of the first gray neighborhood difference matrix at the position 8, and the larger the amplitude is, the larger the difference between the printed image corresponding to the silica gel before corona treatment and the printed image corresponding to the silica gel after corona treatment is.
It should be noted that the gray level dependency matrix is constructed according to the number of times of recording gray level dependency in a neighborhood by using 8-neighborhood gradient characteristics, but the gray level dependency matrix cannot express position information, and the construction process is complex, so that in this embodiment, on the basis of constructing the gray level dependency matrix, an eight-neighborhood gradient is used for constructing a gray level neighborhood difference matrix, and the gray level neighborhood difference matrix can record position information of pixels and can express gray level dependency of surrounding pixels; compared with a gray level dependency matrix, the gray level neighborhood difference matrix can represent position information, and meanwhile, the difference between two printed images can be deeply expressed.
The method for acquiring the medium gain effect comprises the following steps: and calculating the maximum value, the minimum value, the average value and the variance corresponding to the gray level neighborhood difference matrix, and determining the gain effect based on the maximum value, the minimum value, the average value and the variance.
The maximum value is:
Figure 90424DEST_PATH_IMAGE022
wherein
Figure 982157DEST_PATH_IMAGE023
Is the maximum value corresponding to the gray neighborhood difference matrix,
Figure 104414DEST_PATH_IMAGE017
as a gray level neighborhood difference matrix,
Figure 84002DEST_PATH_IMAGE024
To find a maximum function; namely, the maximum value corresponding to the gray level neighborhood matrix is the maximum value of the elements in the gray level neighborhood matrix, and the maximum value of the elements represents that the corona treatment gain at the position is maximum.
The minimum value is:
Figure 879658DEST_PATH_IMAGE025
in which
Figure 958603DEST_PATH_IMAGE026
Is the minimum value corresponding to the gray neighborhood difference matrix,
Figure 206920DEST_PATH_IMAGE017
is a matrix of the difference of the neighborhood of gray levels,
Figure 177150DEST_PATH_IMAGE027
to find a minimum function; namely, the minimum value corresponding to the gray level neighborhood matrix is the minimum value of the elements in the gray level neighborhood matrix, and the minimum value of the elements represents the minimum corona treatment gain at the position.
The average values are:
Figure 594356DEST_PATH_IMAGE028
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE029
is the average value corresponding to the gray neighborhood difference matrix,
Figure 749262DEST_PATH_IMAGE009
the element of the ith row and the jth column of the gray level neighborhood difference matrix;
Figure 376553DEST_PATH_IMAGE030
the total number of rows of the gray level neighborhood difference matrix;
Figure 999076DEST_PATH_IMAGE031
the total column number of the gray level neighborhood difference matrix is obtained;
Figure 51215DEST_PATH_IMAGE032
is the total number of elements in the gray level neighborhood difference matrix. The average value represents the average gain after corona treatment.
The variance is:
Figure 65438DEST_PATH_IMAGE033
wherein the content of the first and second substances,
Figure 180025DEST_PATH_IMAGE034
is the variance corresponding to the gray neighborhood difference matrix,
Figure 334800DEST_PATH_IMAGE029
is the average value corresponding to the gray neighborhood difference matrix,
Figure 867544DEST_PATH_IMAGE009
the element of the ith row and the jth column of the gray level neighborhood difference matrix;
Figure 974040DEST_PATH_IMAGE030
the total number of rows of the gray level neighborhood difference matrix;
Figure 90770DEST_PATH_IMAGE031
the total column number of the gray level neighborhood difference matrix is obtained;
Figure 550701DEST_PATH_IMAGE032
is the total number of elements in the gray neighborhood difference matrix. The variance represents the fluctuation degree of the overall gain after the corona treatment, and the larger the variance is, the larger the fluctuation degree is, and the better the effect of the overall gain is.
The gain effect is as follows:
Figure DEST_PATH_IMAGE035
wherein the content of the first and second substances,
Figure 86419DEST_PATH_IMAGE029
is the average value corresponding to the gray neighborhood difference matrix,
Figure 848970DEST_PATH_IMAGE023
is the maximum value corresponding to the gray neighborhood difference matrix,
Figure 46471DEST_PATH_IMAGE026
the minimum value corresponding to the gray level neighborhood difference matrix is obtained;
Figure 434727DEST_PATH_IMAGE034
the variance corresponding to the gray level neighborhood difference matrix.
According to the common knowledge, the corona treatment effect should be uniform, i.e. the smaller the fluctuation degree of the overall gain, the better the corona treatment effect, the smaller the difference between the maximum value and the minimum value, the better the corona treatment effect, the larger the average gain, the better the corona treatment effect, and based on this, the gain effect after corona treatment is obtained
Figure 676483DEST_PATH_IMAGE036
The larger the gain effect, the higher the quality of the printed pattern corresponding to the corona-treated silicone rubber.
In the embodiment, materials with the same specification are selected, and the same printing operation is carried out on the materials without corona treatment and the materials after corona treatment by using the same printing equipment; obtaining corresponding printing images, and judging the gain effect on the printing operation after the corona treatment according to the difference of the two printing images; the adhesion and the coloring capability added to the material by the corona treatment can be accurately obtained.
(3) The pixel value of the corresponding position of the corresponding gray image after the corona treatment and the corresponding position of the gray image corresponding to the standard printing image are subjected to subtraction, and a second gray difference image is obtained; constructing a second gray difference matrix based on the second gray difference image; processing data of each element in the gray level neighborhood difference matrix to obtain a weight matrix; and multiplying the weight matrix by the second gray level difference matrix to obtain a weighted second gray level difference matrix.
Before a material is printed, a relevant worker will generally design a printed image and a printing effect to obtain a standard printed image; and this standard print image is used to evaluate the print quality of the actual print image.
In this embodiment, the standard printed image is grayed to obtain a grayscale image corresponding to the standard printed image, and the graying process is a known technique and is not described again; and recording the gray level image corresponding to the standard printing image as a gray level image C, and subtracting the pixel values of the corresponding positions of the gray level image B and the gray level image C to obtain a second gray level difference image
Figure 233104DEST_PATH_IMAGE037
I.e. by
Figure 75158DEST_PATH_IMAGE038
(ii) a Wherein the absolute value is to prevent the gray difference value of the corresponding position from being a negative value; and according to the second gray difference image
Figure 611313DEST_PATH_IMAGE037
And constructing a second gray scale difference matrix. The size of the grayscale image B is equal to that of the grayscale image C, the size is m × n, m is the width of the grayscale image, and n is the length of the grayscale image.
The construction rule for constructing the second gray level difference matrix is as follows: taking the pixel value of the 1 st row and the 1 st column in the second gray scale difference image as the element of the 1 st row and the 1 st column in the second gray scale difference matrix, taking the pixel value of the 1 st row and the 2 nd column in the second gray scale difference image as the element of the 1 st row and the 2 nd column in the second gray scale difference matrix, and so on to obtain a second gray scale difference matrix;
that is, the second gray variance matrix is:
Figure 206111DEST_PATH_IMAGE039
wherein, in the process,
Figure 700678DEST_PATH_IMAGE040
being the elements of the 1 st row and 1 st column of the second gray scale difference matrix,
Figure 498869DEST_PATH_IMAGE041
which is an element of the 1 st row and the nth column of the second gray scale difference matrix,
Figure 608689DEST_PATH_IMAGE042
is the element of the mth row and the 1 st column of the second gray scale difference matrix;
Figure 293879DEST_PATH_IMAGE043
is an element of the mth row and nth column of the second gray scale difference matrix. The larger the value of each element in the second gray scale difference matrix, the greater the difference between the corresponding printed image after corona treatment and the standard printed image, and the poorer the quality of the printing.
And further, carrying out data processing on each element in the gray level neighborhood difference matrix to obtain a weight matrix.
The data processing method comprises the following specific steps:
1) Firstly, normalizing each element in a gray level neighborhood difference matrix to obtain each element after normalization, wherein the size sequence of each element after normalization is unchanged;
the normalized elements are:
Figure 349560DEST_PATH_IMAGE044
wherein, the first and the second end of the pipe are connected with each other,
Figure 8949DEST_PATH_IMAGE045
is the normalized element corresponding to the element in the ith row and jth column of the gray neighborhood difference matrix,
Figure 886906DEST_PATH_IMAGE009
is the element of the ith row and the jth column in the gray neighborhood difference matrix,
Figure 190718DEST_PATH_IMAGE030
the total number of rows of the gray level neighborhood difference matrix;
Figure 27087DEST_PATH_IMAGE031
is the total column number of the gray neighborhood difference matrix.
2) Calculating the difference between 1 and the normalized element to obtain each element in the weight matrix, i.e. each element
Figure 534291DEST_PATH_IMAGE046
(ii) a Wherein
Figure 980054DEST_PATH_IMAGE047
Is the element in the ith row and the jth column in the weight matrix.
In this embodiment, the larger the value of the element in the second gray scale difference matrix is, the larger the difference between the corona-treated printed image and the standard printed image at the position is, the worse the printing quality is; in the gray level neighborhood difference matrix at the same position, the larger the value of the element at the position is, the larger the gain of the corona treatment is, and the better the printing quality at the position is; therefore, the gain of the corona treatment is larger, and the weight corresponding to the difference at the position of the second gray level difference matrix is smaller; on the contrary, if the corona gain effect is small, the weight corresponding to the difference at the position of the second gray level difference matrix is large, so the difference value between 1 and the normalized element is used as each element in the weight matrix.
The weight matrix in the above is:
Figure 905416DEST_PATH_IMAGE048
wherein, in the step (A),
Figure 163220DEST_PATH_IMAGE049
as elements of row 1 and column 1 of the weight matrix,
Figure 423300DEST_PATH_IMAGE050
as the element of the weight matrix at row 1 and column n,
Figure 49585DEST_PATH_IMAGE051
the element is the element of the mth row and the 1 st column of the weight matrix;
Figure 452622DEST_PATH_IMAGE052
is the element of the mth row and the nth column of the weight matrix.
Specifically, the calculation formula of the weighted second gray level difference matrix is:
Figure 489848DEST_PATH_IMAGE053
i.e. the weighted second gray level difference matrix is:
Figure 112590DEST_PATH_IMAGE054
(ii) a Wherein, the first and the second end of the pipe are connected with each other,
Figure 634576DEST_PATH_IMAGE055
to weight the elements of the second gray scale difference matrix row 1 and column 1,
Figure 534530DEST_PATH_IMAGE056
to weight the elements of the 1 st row and the n th column of the second gray scale disparity matrix,
Figure 8237DEST_PATH_IMAGE057
to weight the elements of the mth row and 1 st column of the second gray scale difference matrix,
Figure 351231DEST_PATH_IMAGE058
is the element of the mth row and the nth column of the weighted second gray-scale difference matrix;
Figure 53739DEST_PATH_IMAGE055
the calculation formula of (2) is as follows:
Figure 437228DEST_PATH_IMAGE059
in the formula (I), the reaction is carried out,
Figure 816257DEST_PATH_IMAGE049
as elements of row 1 and column 1 of the weight matrix,
Figure 148012DEST_PATH_IMAGE060
is the second gray scale difference momentThe elements in row 1 and column 1 of the matrix, and the formula for weighting the other elements in the second gray level difference matrix
Figure 152746DEST_PATH_IMAGE055
The calculation formulas are similar and are not described in detail. The weighted second gray scale difference matrix can characterize the gain effect of the corona treatment and the print effect after the corona treatment.
It should be noted that the second gray level difference matrix is only used for expressing the printing quality from the difference between the printed image corresponding to the corona-treated material and the standard image, and does not consider the change of the printing effect of the material before and after the corona treatment, in the gray level neighborhood difference matrix, the larger the value of an element is, the better the corona treatment gain effect of the position is represented, that is, the larger the gain of the position after the corona treatment is, the better the printing effect is, and the smaller the gain is, the worse the printing quality is, therefore, the present embodiment performs data processing on each element in the gray level neighborhood difference matrix to obtain the weight matrix. The change of material printing effect around the weight matrix characterization corona treatment, multiply weight matrix and second gray difference matrix, obtain weighted second gray difference matrix, the gain effect of corona treatment not only can be characterized to weighted second gray difference matrix, and the printing effect after the corona treatment can be characterized in addition, embodies the corona treatment effect of corona machine to the material from many angles, makes follow-up evaluation to corona machine corona treatment effect more specifically comprehensive.
(4) And calculating the average value and the variance corresponding to the weighted second gray difference matrix, and recording the product of the variance and the average value as the printing difference.
Specifically, the average value corresponding to the weighted second gray scale difference matrix is:
Figure 886347DEST_PATH_IMAGE061
wherein the content of the first and second substances,
Figure 701856DEST_PATH_IMAGE062
for weighting the ith row of the second gray difference matrixThe elements of the j columns are,
Figure 19443DEST_PATH_IMAGE030
the total row number of the second gray difference matrix is weighted;
Figure 63753DEST_PATH_IMAGE031
the total column number of the weighted second gray scale difference matrix;
Figure 150396DEST_PATH_IMAGE032
is the weighting of the total number of elements in the second gray difference matrix.
The variance corresponding to the weighted second gray level difference matrix is:
Figure 402386DEST_PATH_IMAGE063
wherein the content of the first and second substances,
Figure 708733DEST_PATH_IMAGE062
to weight the elements of the ith row and jth column of the second gray level difference matrix,
Figure 49410DEST_PATH_IMAGE064
to weight the average value corresponding to the second gray scale difference matrix,
Figure 492024DEST_PATH_IMAGE030
the total row number of the second gray difference matrix is weighted;
Figure 383757DEST_PATH_IMAGE031
the total column number of the weighted second gray scale difference matrix;
Figure 675936DEST_PATH_IMAGE032
the total number of elements in the second gray variance matrix is weighted.
The calculation formula of the printing difference is as follows:
Figure 62049DEST_PATH_IMAGE065
wherein, in the process,
Figure 857704DEST_PATH_IMAGE064
to weight the average value corresponding to the second gray scale difference matrix,
Figure 61283DEST_PATH_IMAGE066
the variance corresponding to the second gray difference matrix is weighted.
The larger the variance corresponding to the weighted second gray scale difference matrix is, the more uneven the color of the printed image after corona treatment is, and the worse the printing quality is; the larger the average value corresponding to the weighted second gray scale difference matrix is, the larger the difference between the printed image subjected to the characteristic corona treatment and the standard printed image is, and the worse the printing quality is; the larger the printing difference, the worse the printing quality.
(5) And calculating a performance evaluation value according to the gain effect and the printing difference, and evaluating the corona effect of the corona machine based on the performance evaluation value.
Specifically, the performance evaluation value is a ratio of the gain effect to the printing difference, and is calculated by the following formula:
Figure 778441DEST_PATH_IMAGE067
wherein, in the step (A),
Figure 348006DEST_PATH_IMAGE068
in order to evaluate the value of the performance,
Figure 342376DEST_PATH_IMAGE036
in order to achieve the effect of the gain,
Figure DEST_PATH_IMAGE069
is the print difference.
The method for evaluating the corona effect of the corona machine comprises the following steps: comparing the performance evaluation value with the evaluation threshold value, when the performance evaluation value is larger than the evaluation threshold value, the corona effect of the corona machine is good, and when the performance evaluation value is smaller than the evaluation threshold value, the corona effect of the corona machine is poor, and the expression is as follows:
Figure 294020DEST_PATH_IMAGE070
wherein
Figure 764054DEST_PATH_IMAGE071
To evaluate the threshold, the evaluation threshold was obtained by big data analysis,
Figure 351024DEST_PATH_IMAGE068
is a performance evaluation value.
Meanwhile, the performance evaluation value can also show the working state of the corona machine, and in the actual running process of the corona machine, the performance of the corona machine is possibly influenced by various factors such as the increase of the service time, the change of the environmental temperature, the aging of certain components and the like, so that the treatment effect of the corona machine is increasingly poor, and therefore whether the working state of the corona machine is normal or not is judged through the performance evaluation value, namely when the performance evaluation value is larger than an evaluation threshold value and the corona effect is good, the working state of the corona machine is judged to be normal at the moment, and when the performance evaluation value is smaller than the evaluation threshold value and the corona effect is poor, the working state of the corona machine is judged to be abnormal at the moment and needs to be overhauled.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (5)

1. A corona effect evaluation method of a corona machine is characterized by comprising the following steps:
respectively acquiring corresponding printing images of the material before and after corona treatment; preprocessing the printed image to obtain a gray image;
the pixel values of the corresponding gray level image after the corona treatment and the corresponding position of the corresponding gray level image before the corona treatment are differed to obtain a first gray level difference image; constructing a first gray difference matrix based on the first gray difference image;
randomly selecting an element in the first gray level difference matrix, calculating a difference value between the element and an 8-neighborhood element of the element to obtain a difference sum, and taking the difference sum as a gray level neighborhood difference of the element; acquiring gray neighborhood differences corresponding to each element, and constructing a gray neighborhood difference matrix according to the gray neighborhood differences;
calculating the gain effect of corona treatment according to the gray level neighborhood difference matrix;
the gain effect obtaining method comprises the following steps: calculating the maximum value, the minimum value, the average value and the variance corresponding to the gray level neighborhood difference matrix, and determining the gain effect based on the maximum value, the minimum value, the average value and the variance;
the maximum value is:
Figure DEST_PATH_IMAGE002
wherein
Figure DEST_PATH_IMAGE004
Is the maximum value corresponding to the gray neighborhood difference matrix,
Figure DEST_PATH_IMAGE006
is a matrix of the difference of the neighborhood of gray levels,
Figure DEST_PATH_IMAGE008
to find a maximum function; the maximum value corresponding to the gray level neighborhood matrix is the maximum value of elements in the gray level neighborhood matrix;
the minimum value is:
Figure DEST_PATH_IMAGE010
wherein
Figure DEST_PATH_IMAGE012
Is the minimum value corresponding to the gray neighborhood difference matrix,
Figure 532604DEST_PATH_IMAGE006
is a matrix of the difference of the neighborhood of gray levels,
Figure DEST_PATH_IMAGE014
to find a minimum function; the minimum value corresponding to the gray level neighborhood matrix is the minimum value of elements in the gray level neighborhood matrix;
the average values are:
Figure DEST_PATH_IMAGE016
wherein, the first and the second end of the pipe are connected with each other,
Figure DEST_PATH_IMAGE018
is the average value corresponding to the gray neighborhood difference matrix,
Figure DEST_PATH_IMAGE020
the element of the ith row and the jth column of the gray level neighborhood difference matrix;
Figure DEST_PATH_IMAGE022
the total number of rows of the gray level neighborhood difference matrix;
Figure DEST_PATH_IMAGE024
the total column number of the gray level neighborhood difference matrix is obtained;
Figure DEST_PATH_IMAGE026
the total number of elements in the gray level neighborhood difference matrix;
the variance is:
Figure DEST_PATH_IMAGE028
wherein, the first and the second end of the pipe are connected with each other,
Figure DEST_PATH_IMAGE030
is the variance corresponding to the gray neighborhood difference matrix,
Figure DEST_PATH_IMAGE032
is the average value corresponding to the gray neighborhood difference matrix,
Figure 516258DEST_PATH_IMAGE020
the element of the ith row and the jth column of the gray level neighborhood difference matrix;
Figure 109044DEST_PATH_IMAGE022
the total number of rows of the gray level neighborhood difference matrix;
Figure 35412DEST_PATH_IMAGE024
the total column number of the gray level neighborhood difference matrix is obtained;
Figure 912101DEST_PATH_IMAGE026
the total number of elements in the gray level neighborhood difference matrix;
the gain effect is as follows:
Figure DEST_PATH_IMAGE034
wherein the content of the first and second substances,
Figure 216787DEST_PATH_IMAGE032
is the average value corresponding to the gray neighborhood difference matrix,
Figure 31291DEST_PATH_IMAGE004
is the maximum value corresponding to the gray neighborhood difference matrix,
Figure 26928DEST_PATH_IMAGE012
the minimum value corresponding to the gray level neighborhood difference matrix is obtained;
Figure 508856DEST_PATH_IMAGE030
the variance corresponding to the gray level neighborhood difference matrix;
the pixel value of the corresponding position of the corresponding gray level image after corona treatment and the corresponding position of the gray level image corresponding to the standard printing image are subjected to difference, and a second gray level difference image is obtained; constructing a second gray difference matrix based on the second gray difference image;
performing data processing on each element in the gray neighborhood difference matrix to obtain a weight matrix;
multiplying the weight matrix by the second gray difference matrix to obtain a weighted second gray difference matrix;
calculating the average value and the variance corresponding to the weighted second gray level difference matrix, and recording the product of the average value and the variance as the printing difference;
and calculating a performance evaluation value according to the gain effect and the printing difference, and evaluating the corona effect of the corona machine based on the performance evaluation value.
2. The method according to claim 1, wherein the material comprises silicone, rubber or plastic.
3. The corona effect evaluation method of claim 1, wherein the data processing comprises normalizing each element in the gray neighborhood difference matrix.
4. The corona effect evaluation method of claim 1, wherein the performance evaluation value is a ratio of the gain effect to a print variation.
5. The corona effect evaluation method of claim 1, wherein the corona effect of the corona machine is evaluated by: and comparing the performance evaluation value with an evaluation threshold value, wherein when the performance evaluation value is larger than the evaluation threshold value, the corona effect of the corona machine is good, and when the performance evaluation value is smaller than the evaluation threshold value, the corona effect of the corona machine is poor.
CN202211050913.5A 2022-08-30 2022-08-30 Corona effect evaluation method for corona machine Active CN115131352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211050913.5A CN115131352B (en) 2022-08-30 2022-08-30 Corona effect evaluation method for corona machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211050913.5A CN115131352B (en) 2022-08-30 2022-08-30 Corona effect evaluation method for corona machine

Publications (2)

Publication Number Publication Date
CN115131352A CN115131352A (en) 2022-09-30
CN115131352B true CN115131352B (en) 2022-11-18

Family

ID=83387631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211050913.5A Active CN115131352B (en) 2022-08-30 2022-08-30 Corona effect evaluation method for corona machine

Country Status (1)

Country Link
CN (1) CN115131352B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116823809B (en) * 2023-08-23 2023-11-24 威海迈尼生物科技有限公司 Visual detection method for speckle reduction effect of microneedle patch technology

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508887A (en) * 2020-11-26 2021-03-16 西安电子科技大学 Image definition evaluation method, system, storage medium, equipment and application
CN114913248A (en) * 2022-07-18 2022-08-16 南通金丝楠膜材料有限公司 Self-adaptive control method of corona machine in film production process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108230272B (en) * 2018-01-04 2022-04-15 京东方科技集团股份有限公司 Image enhancement method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508887A (en) * 2020-11-26 2021-03-16 西安电子科技大学 Image definition evaluation method, system, storage medium, equipment and application
CN114913248A (en) * 2022-07-18 2022-08-16 南通金丝楠膜材料有限公司 Self-adaptive control method of corona machine in film production process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于游程统计的含噪图像分割效果评价方法;张雪锋等;《计算机科学》;20110115(第01期);第277-281页 *

Also Published As

Publication number Publication date
CN115131352A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN114937055B (en) Image self-adaptive segmentation method and system based on artificial intelligence
CN115131352B (en) Corona effect evaluation method for corona machine
CN113888536B (en) Printed matter double image detection method and system based on computer vision
CN109740553B (en) Image semantic segmentation data screening method and system based on recognition
CN112396061B (en) Otsu target detection method based on target gray scale tendency weighting
CN114612714A (en) Curriculum learning-based non-reference image quality evaluation method
CN117147561B (en) Surface quality detection method and system for metal zipper
Anbarjafari et al. Image illumination enhancement with an objective no-reference measure of illumination assessment based on Gaussian distribution mapping
CN111047618A (en) Multi-scale-based non-reference screen content image quality evaluation method
Yang et al. EHNQ: Subjective and objective quality evaluation of enhanced night-time images
CN114154552A (en) Method, device, medium and equipment for detecting grading and color separation of ceramic tiles
CN111091554B (en) Railway wagon swing bolster fracture fault image identification method
CN117314787A (en) Underwater image enhancement method based on self-adaptive multi-scale fusion and attention mechanism
CN110349119B (en) Pavement disease detection method and device based on edge detection neural network
Annaby et al. Defect detection methods using boolean functions and the φ-coefficient between bit-plane slices
CN115272203A (en) No-reference image quality evaluation method based on deep learning
CN115457614B (en) Image quality evaluation method, model training method and device
KR20190058753A (en) Image processing method and image processor performing the same
CN114581407A (en) Self-adaptive defect detection method for photovoltaic module
CN114067165A (en) Image screening and learning method and device containing noise mark distribution
CN111597934A (en) System and method for processing training data for statistical applications
CN111325730A (en) Underwater image index evaluation method based on random connection network
CN115100186B (en) Textile color difference detection method based on image data
CN115908834A (en) Method and device for identifying silicone rubber aging degree
CN113642534B (en) Mining equipment fault detection method and system based on artificial intelligence

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