Disclosure of Invention
The invention provides an environment-friendly non-woven fabric surface coating detection method and system, which are used for detecting whether all coating surfaces have flatness defects according to whether the edge thickness of each edge surface in the coating surfaces is uniform or not and according to the gray value distribution of gray images of the coating surfaces except for each edge surface in the coating surfaces.
In order to achieve the above purpose, the present invention is realized by the following technical scheme:
the method for detecting the surface coating of the environment-friendly non-woven fabric comprises the following steps:
step 1), cleaning all coating surfaces, and scanning all edge surfaces in the coating surfaces to detect whether the thickness of all edges of the coating is uniform, wherein an edge thickness detection method is adopted to detect whether the thickness of all edges of the coating is uniform;
scanning the coating surfaces except for the edge surfaces of the coating surfaces by adopting a transverse and longitudinal linear distribution method;
converting the acquired coating surface images except for each edge surface in the coating surface into gray images, and calculating gray value distribution of the gray images, wherein the gray images are analyzed by a gray depth analysis method;
and 4) evaluating all the coating surfaces, and detecting whether all the coating surfaces have defects of flatness.
Optionally, in step 1), dust on the surface of the coating layer is lightly brushed by using a soft brush on the dust collector in all coating layer surface cleaning processes, so that the fiber on the surface of the coating layer is prevented from being damaged, and the dust is adsorbed by the dust collector.
Alternatively, the edge thickness detection method is as follows formula (1):
(1);
Wherein, For a scanning line on a certain edge surface of the coating surface, the direction of the scanning line is from one direction to the other direction, or the direction of the scanning line is from the other direction to one direction,An operation is performed for the scanning,Scanning a certain edge surface of the coating surfaces along a scanning linear direction;
Is the first A point of height at which the height of the container is greater than the height of the container,For what is obtained after scanningA set of the height points,For scanningA point of height at which the height of the container is greater than the height of the container,Is thatThe scanning direction of the points of height,From the scanning direction of the altitude pointTo the point ofOr fromTo the point of;
To scan along the direction of the scanning lineA plurality of height points;
Calculating an average height for the heights of the obtained height points; The average height of a certain edge surface of the coating surfaces is taken as the edge thickness of the certain edge surface of the coating surfaces.
Optionally, in step 2), the transverse and longitudinal straight line distribution method comprises the following steps:
Step 01), scanning the coating surface along a straight line direction;
step 02), obtaining a plurality of scanning points in the scanning process, wherein each moment corresponds to each scanning point;
And 03) decomposing each scanning point to scan in two directions perpendicular to each other.
Optionally, in step 2), the transverse-longitudinal linear distribution method is as follows formula (2):
(2);
Wherein, Is straight lineUpper firstMultiple points, the scanning direction being in straight lineThe upper part of the upper part is provided with a plurality of grooves,For scanning straight linesAt each of the scanning points on the scanning beam,Is straight lineWith thereonScanning points; is along a straight line Scanning to obtainScanning points;
Is straight line Upper firstThe individual points are decomposed inStraight line in direction,Edge of the frameScanning in a direction; Is straight line Upper firstThe individual points are decomposed inStraight line in direction,Edge of the frameScanning in a direction; Is along a straight line Scanning, straight lineEach scanning point on the image is decomposed onIn the direction and decompose inPerforming scanning in the direction;
Is in a straight line of alignment When each scanning point on the image is scanned, each scanning point is decomposed intoIn the direction and decompose inScanning in the direction;
Is that At the moment of time of day,To collect the firstTime of day,For the time period of time it is possible,For the acquisition time periodEach time within;
for a time period of Each time within corresponds to a straight lineEach scanning point on the scanning line; is the scanning result of the transverse and longitudinal straight line distribution.
Optionally, in step 3), the gray-scale depth analysis method analyzes the gray-scale image, and the following formula (3) is adopted:
(3);
Wherein, Is the area of the gray-scale image,Is the first on the gray scale imageThe depth of the individual gray-scale points,Is the total number of gray points,In order to calculate the total number of gray points,For the depth recognition operation of the gray points,In order to identify gray points on the gray image and calculate the total number of the gray points;
is the total number of gray points in the area of the gray image Upper duty cycle;
to the area of the gray image according to the total number of gray points The upper proportion analyzes the gray value distribution condition on the gray image; As a result of the gray value distribution.
Optionally, in step 4), whether all the coating surfaces have a defect of flatness is detected according to whether the edge thickness of each of the coating surfaces is uniform or not, and according to the gray value distribution of the gray image of the coating surface other than each of the coating surfaces.
An environmental protection nonwoven fabric surface coating detecting system, comprising:
the scanning module is used for scanning each edge surface and the coating surface except each edge surface;
An image generation module for generating each edge surface image and generating a coating surface image outside each edge surface;
An image processing module for processing the respective edge surface images and processing the coating surface images outside the respective edge surfaces;
The data processing module is used for evaluating whether all the coating surfaces have flatness defects or not;
And the scanning module, the image generating module and the image processing module are sequentially connected with the data processing module.
The invention has the beneficial effects that:
The method comprises the steps of scanning all edge surfaces in a coating surface, converting all edge surfaces into images to detect whether the thickness of each edge of the coating is uniform, converting the acquired coating surface images except for all edge surfaces in the coating surface into images, wherein the images are gray images, calculating gray value distribution of the gray images, evaluating all the coating surfaces, and detecting whether all the coating surfaces have defects of flatness according to whether the thickness of each edge surface in the coating surface is uniform and according to the gray value distribution of the gray images except for all edge surfaces in the coating surface.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Example 1;
As shown in fig. 1, this embodiment provides an environment-friendly non-woven fabric surface coating detection system, which includes:
the scanning module is used for scanning each edge surface and the coating surface except each edge surface;
An image generation module for generating each edge surface image and generating a coating surface image outside each edge surface;
An image processing module for processing the respective edge surface images and processing the coating surface images outside the respective edge surfaces;
The data processing module is used for evaluating whether all the coating surfaces have flatness defects or not;
And the scanning module, the image generating module and the image processing module are sequentially connected with the data processing module.
The scanning module scans each edge surface in the coating surface, the image generating module generates images of each edge surface, and the image processing module detects whether the thickness of each edge of the coating is uniform.
The scanning module scans the coating surfaces except for the edge surfaces of the coating surfaces, the image generating module generates images of the coating surfaces except for the edge surfaces of the coating surfaces, and the image processing module calculates gray value distribution of gray images.
The data processing module evaluates all the coating surfaces and detects whether all the coating surfaces have defects of flatness.
Example 2;
As shown in fig. 3, the outer surface of the nonwoven fabric 1 is coated with a coating 2, the first plane 3 is defined as an edge surface among the coating surfaces, and the second plane 4 is defined as a coating surface other than each of the coating surfaces.
Example 3;
Based on embodiment 1-embodiment 2, as shown in fig. 2, the embodiment provides a method for detecting a surface coating of an environment-friendly non-woven fabric, which includes the following steps:
Step 1) cleaning all coating surfaces (namely a first plane 3 and a second plane 4), and scanning each edge surface (namely the first plane 3) in the coating surfaces to detect whether the thickness of each edge of the coating is uniform;
scanning the coating surface (namely a second plane 4) except for each edge surface in the coating surface by adopting a transverse and longitudinal linear distribution method;
converting the acquired coating surface images except for each edge surface in the coating surface into gray images, and calculating gray value distribution of the gray images, wherein the gray images are analyzed by a gray depth analysis method;
and 4) evaluating all the coating surfaces, and detecting whether all the coating surfaces have defects of flatness.
In the step 1), dust on the surface of the coating is lightly brushed by using a soft brush on the dust collector in all coating surface cleaning processes, so that the fiber on the surface of the coating is prevented from being damaged, and the dust is adsorbed by the dust collector.
Specifically, the edge thickness detection method in step 1) is as follows formula (1):
(1);
Wherein, For a scanning line on a certain edge surface of the coating surface, the direction of the scanning line is from one direction to the other direction, or the direction of the scanning line is from the other direction to one direction,An operation is performed for the scanning,Scanning a certain edge surface of the coating surfaces along a scanning linear direction;
Is the first A point of height at which the height of the container is greater than the height of the container,For what is obtained after scanningA set of the height points,For scanningA point of height at which the height of the container is greater than the height of the container,Is thatThe scanning direction of the points of height,From the scanning direction of the altitude pointTo the point ofOr fromTo the point of;
To scan along the direction of the scanning lineA plurality of height points;
Calculating an average height for the heights of the obtained height points; In order to obtain the average height of a certain edge surface of the coating surface as the edge thickness of a certain edge surface of the coating surface (since after comparing the average height of the first plane 3 with the respective height points, if the average height of the first plane 3 is not different from or identical to the height of the respective height points, the average height is taken as the thickness of the first plane 3; otherwise, if the average height of the first plane 3 is very different from the height of the respective height points, the average height is not taken as the thickness of the first plane 3).
In the step 2), the transverse and longitudinal straight line distribution method comprises the following steps:
Step 01), scanning the coating surface along a straight line direction;
step 02), obtaining a plurality of scanning points in the scanning process, wherein each moment corresponds to each scanning point;
And 03) decomposing each scanning point to scan in two directions perpendicular to each other.
Or, in the step 2), the transverse and longitudinal straight line distribution method is as follows formula (2):
(2);
Wherein, Is straight lineUpper firstMultiple points, the scanning direction being in straight lineThe upper part of the upper part is provided with a plurality of grooves,For scanning straight linesAt each of the scanning points on the scanning beam,Is straight lineWith thereonScanning points; is along a straight line Scanning to obtainScanning points;
Is straight line Upper firstThe individual points are decomposed inStraight line in direction,Edge of the frameScanning in a direction; Is straight line Upper firstThe individual points are decomposed inStraight line in direction,Edge of the frameScanning in a direction; Is along a straight line Scanning, straight lineEach scanning point on the image is decomposed onIn the direction and decompose inPerforming scanning in the direction;
Is in a straight line of alignment When each scanning point on the image is scanned, each scanning point is decomposed intoIn the direction and decompose inScanning in the direction;
Is that At the moment of time of day,To collect the firstTime of day,For the time period of time it is possible,For the acquisition time periodEach time within;
for a time period of Each time within corresponds to a straight lineEach scanning point on the scanning line; is the scanning result of the transverse and longitudinal straight line distribution.
In step 3), the gray-scale depth analysis method analyzes the gray-scale image, using the following formula (3):
(3);
Wherein, Is the area of the gray-scale image,Is the first on the gray scale imageThe depth of the individual gray-scale points,Is the total number of gray points,In order to calculate the total number of gray points,For the depth recognition operation of the gray points,In order to identify gray points on the gray image and calculate the total number of the gray points;
is the total number of gray points in the area of the gray image Upper duty cycle;
to the area of the gray image according to the total number of gray points The upper proportion analyzes the gray value distribution condition on the gray image; As a result of the gray value distribution.
In step 4), whether or not all of the coating surfaces have a defect of flatness is detected from whether or not the edge thickness of each of the edge surfaces (i.e., each of the first planes 3) in the coating surfaces is uniform, and from the gray value distribution of the gray image of the coating surface (i.e., each of the second planes 4) other than each of the edge surfaces in the coating surfaces.
Example 4;
Based on example 2, explained by equation (1) in connection with fig. 4, fig. 4 is a schematic diagram of scanning the first plane 3 of the coating 2.
Scanning straight lineThe scanning direction of (a) is from the left end to the right end, or from the right end to the left end.
Along a scan lineIs obtained after scanning the first plane 3 in the scanning direction of (a)The set of height points, i.e.If scan straight lineThe scanning direction of (a) is from the left end to the right endThe height points are slavesTo the point ofArrangement, if a straight line is scannedThe scanning direction of (a) is from right end to left endThe height points are slavesTo the point ofArranging;
By obtaining the height of each height point (height is the distance between the top end face and the bottom end face of the first plane 3 of fig. 2), the height of each height point is The average height of each height point of the first plane 3 is calculated as the edge thickness of a certain edge surface of the coating surface, i.e. the edge thickness of the first plane 3.
Example 5;
Based on example 2, illustrated by equation (2) in connection with fig. 5, fig. 5 is a schematic diagram of scanning the second plane 4 of the coating 2.
In straight lineWith thereonThe scanning points, i.e. along straight linesScanning to obtainScanning points;
Straight line The 1 st point on the graph is decomposed inStraight line in the directionStraight line, straight lineAt the position ofScanning in the direction, straight lineThe 1 st point on the graph is decomposed inStraight line in the directionStraight line, straight lineAt the position ofScanning in the direction, analogizing in the same way, straight lineUpper firstThe individual points are decomposed inStraight line in the directionStraight line, straight lineAt the position ofScanning in the direction, straight lineUpper firstThe individual points are decomposed inStraight line in the directionStraight line, straight lineAt the position ofScanning in the direction until a straight line is scannedUpper firstA point.
Time periodIn, haveAt a straight lineIn the course of the above-mentioned scanning process,Corresponding to straight lineAt the 1 st point on the top of the table,Corresponding to straight lineUpper firstA single point, and so on,Corresponding to straight lineUpper firstA scanning result of transverse and longitudinal linear distribution is finally obtained at a plurality of points。
Example 6;
Based on embodiment 2, the description of fig. 5 is combined with the formula (3), and the scanning area of fig. 5 is obtained after scanning with a horizontal-vertical linear distribution, and the scanning area of fig. 5 can be converted into a gray-scale image, i.e., a straight line Point 1 on to straight lineUpper firstRectangular areas between points can be converted into grayscale images.
The area of the gray image isEach point in the gray image is the depth of each point according to the color of each point, the gray of the point is darker, the depth of the point in the gray image is darker, a depth threshold value is set for the depth of the point, the point in the gray image is darker than the depth threshold value, the gray point in the gray image is the gray point, and the gray point on the gray image is found.
Finally, the total number of gray points is used for displaying the area of the gray imageThe upper duty ratio analyzes the distribution of the gradation values on the gradation image.
The above description is merely an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present invention, and it is intended to cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.