Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a three-dimensional detection method for the surface morphology quality of paper.
In a first aspect, an embodiment of the present invention provides a method for three-dimensionally detecting the surface morphology quality of paper, where the method includes:
acquiring the thickness of paper;
receiving an area selected by a user on the surface of the paper, wherein the area contains point cloud;
dividing the thickness of the paper into multiple parts on the longitudinal section of the paper, and calculating the point number of point clouds in the area corresponding to each part of height;
receiving a height range selected by a user, and eliminating point clouds which are not in the height range;
and generating a paper surface morphology quality map according to the number of point cloud points in the area corresponding to each height in the height range.
Further, according to the number of cloud points in the area corresponding to each height in the height range, a paper surface morphology quality map is generated, and the method comprises the following steps:
and generating a triangular mesh model of the paper according to the number of point cloud points in the area corresponding to each height in the height range.
Further, before generating the triangular mesh model of the paper according to the number of cloud points in the area corresponding to each height in the height range, the method further includes:
when the number of point cloud points is too much, thinning the point cloud, and reducing the number of point cloud points.
Further, according to the number of cloud points in the area corresponding to each height in the height range, a paper surface morphology quality map is generated, and the method comprises the following steps:
and generating a height statistical histogram according to the point number of the point cloud in the region corresponding to each height.
Further, after generating a paper surface morphology quality map according to the number of point clouds in the area corresponding to each height in the height range, the method further comprises:
and storing the number of point clouds in the area corresponding to each height and the generated paper surface morphology quality graph.
In a second aspect, an embodiment of the present invention further provides a device for three-dimensionally detecting the surface morphology quality of a paper sheet, where the device includes:
the acquisition module is used for acquiring the thickness of the paper;
the area module is used for receiving an area selected by a user on the surface of the paper, wherein the area comprises point cloud;
the calculating module is used for dividing the thickness of the paper into multiple parts on the longitudinal section of the paper and calculating the point cloud number in the area corresponding to each part of height;
the eliminating module is used for receiving the height range selected by the user and eliminating the point clouds which are not in the height range;
and the generation module is used for generating a paper surface morphology quality map according to the number of point clouds in the area corresponding to each height in the height range.
Further, the generating module is further configured to:
and generating a triangular mesh model of the paper according to the number of point cloud points in the area corresponding to each height in the height range.
Further, the generating module is further configured to:
and generating a height statistical histogram according to the point number of the point cloud in the region corresponding to each height.
Further, the apparatus further comprises:
and the storage module is used for storing the number of the point clouds in the area corresponding to each height and the generated paper surface morphology quality graph.
In a third aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the apparatus according to the second aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a three-dimensional detection method and a three-dimensional detection device for the surface form quality of paper. The method realizes the detection and characterization of height, texture distribution and other three-dimensional detail information of the paper surface morphology, and enriches the observation, characterization and evaluation system of the paper surface quality.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to a flow chart of a three-dimensional detection method for the surface morphology quality of paper shown in fig. 1, the method specifically comprises the following steps:
s101, obtaining the thickness of paper;
and acquiring the surface thickness of the paper by using a two-dimensional laser scanner, a three-dimensional translation table, a vacuum object carrying sucker and the like.
(1) Adopting a paper surface morphology stereo observation system, placing paper to be detected on a three-dimensional translation table, connecting a vacuum objective sucking disc on the three-dimensional translation table with a vacuum pump, and turning on the vacuum pump to keep the paper flat; the system mainly comprises a two-dimensional laser scanner, a three-dimensional translation table, a vacuum object carrying sucker, a computer and matched software. The two-dimensional laser scanner is arranged on an X-axis translation arm of the three-dimensional translation table, the vacuum object carrying sucker is connected with the three-dimensional translation table, the computer is connected with the two-dimensional laser scanner and the three-dimensional translation table to acquire data, and the software system can acquire data, control data transmission, control storage, splice data and perform three-dimensional modeling;
(2) and opening corresponding software on the computer and starting related equipment. After the translation stage is reset, the selection is made in the software
Scanning specification and precision, and determining the movement control program of the three-dimensional translation table and the two-dimensional laser scanner. The two-dimensional scanner works along the Y-axis direction of the three-dimensional translation table on an X-axis translation arm of the three-dimensional translation table, and the three-dimensional translation table works along the X-axis. After the three-dimensional data of the X-axis and Z-axis paper surface are obtained through line laser scanning by the two-dimensional laser scanner, the three-dimensional data of the Y-axis paper surface are read in by combining the three-dimensional translation table. Completing the acquisition of three-dimensional data and transmitting the three-dimensional data to a computer; the stereoscopic data includes a paper thickness.
The two-dimensional laser scanner is a Kenzy LJV-7200 two-dimensional laser scanner, linear laser scanning is adopted, and the principle is laser ranging. The laser range finder transmits laser to a measured object through a transmitting module, the laser is reflected by the surface of the measured object, received by a receiving module of the laser range finder and transmitted to a signal processing module for processing, according to the deviation of the light band on the object, the depth information on the surface of the measured object can be measured according to the triangular geometric principle through the relation among a reference plane, an image point, an image distance and the like of the measured object, and finally the distance between the laser range finder and the measured object is obtained.
The three-dimensional translation table is a DT-400E precise program control three-dimensional translation table, a corresponding control program is compiled by adopting a teaching box, the translation table loaded with a vacuum object carrying sucker is connected to move in the Y direction of the translation table, a translation arm provided with a two-dimensional laser scanner is controlled to move in the X direction of the translation table, and finally three-dimensional data of the surface morphology of the paper is obtained.
The software mainly comprises a laser scanning control and processing part. The specifications for scanning are: A3/B4/16K (< 300 × 427mm), A4/B5/8K (< 235 × 297mm), A5/B6/B7 (< 155 × 210mm), A7/A8 (< 75 × 105 mm). The scanning line spacing has four accuracies of 320 μm, 160 μm, 80 μm and 32 μm. The software records and displays the height of the paper surface where each layer of points is located and the number of points occupied by the layer. The height of the paper surface at any point on the abscissa surface of the height statistical chart is recorded by the ordinate, and the maximum points of the whole width of the paper on the same layer are marked. And simultaneously recording and displaying the maximum and minimum values of the X axis, the Y axis and the Z axis of the scanned paper. Meanwhile, the section selection can be carried out on the statistical graph of the height of the paper surface, a section of height is selected for segmentation analysis, and finally the obtained integral point cloud information and layered point cloud information of the paper surface are stored so as to facilitate modeling operation and evaluation in three-dimensional software.
S102, receiving an area selected by a user on the surface of the paper, wherein the area contains point cloud;
the region shape selection can be selected by drawing line selection, connecting point selection, total selection and rectangle selection. The operations in the software may be:
● drawing line selection: and pressing a left mouse button at the point cloud position to be selected, dragging the mouse according to the contour track of the range to be selected, and finally putting down. The track range passed by the mouse is the selected point cloud area;
● selection of connection points: clicking a left mouse button, selecting a point, pressing the clockwise or anticlockwise direction to select the point, and clicking a right mouse button after the point is selected. And forming a point cloud selection area according to the point selection connecting line.
● all the following options: the mouse is not required to operate in the point cloud display area.
● rectangle selection: and clicking the left mouse button twice at different positions to serve as the vertex of a rectangle, namely selecting a point cloud area.
S103, dividing the thickness of the paper into multiple parts on the longitudinal section of the paper, and calculating the point number of point clouds in the area corresponding to each part of height; wherein the paper thickness is generally divided into 200 parts.
S104, receiving a height range selected by a user, and eliminating point clouds which are not in the height range;
and S105, generating a paper surface morphology quality map according to the number of point cloud points in the area corresponding to each height in the height range.
Example two
Referring to a flowchart of three-dimensional inspection of the surface morphology quality of the paper shown in fig. 2, the method is implemented on the basis of the three-dimensional inspection of the surface morphology quality of the paper provided in the first embodiment, and specifically includes the following steps:
s201, obtaining the thickness of paper;
s202, receiving an area selected by a user on the surface of the paper, wherein the area contains point cloud;
s203, dividing the thickness of the paper into multiple parts on the longitudinal section of the paper, and calculating the point number of point clouds in the area corresponding to each part of height;
s204, receiving a height range selected by a user, and eliminating point clouds which are not in the height range;
and S205, generating a paper surface morphology quality map according to the number of point cloud points in the area corresponding to each height in the height range.
And S206, storing the number of point clouds in the area corresponding to each height and the generated paper surface morphology quality graph.
EXAMPLE III
As to the three-dimensional detection method for the surface morphology quality of the paper provided in the foregoing embodiment, an embodiment of the present invention provides an apparatus for three-dimensional detection of the surface morphology quality of the paper, referring to a block diagram of a structure of the apparatus for three-dimensional detection of the surface morphology quality of the paper shown in fig. 3, the apparatus includes the following parts:
an obtaining module 31 for obtaining the thickness of the paper;
an area module 32, configured to receive an area selected by a user on the surface of the paper, where the area includes a point cloud;
the calculating module 33 is used for dividing the thickness of the paper into multiple parts on the longitudinal section of the paper and calculating the point number of the point cloud in the area corresponding to each part of height;
the eliminating module 34 is used for receiving the height range selected by the user and eliminating the point clouds which are not in the height range;
and the generation module 35 is configured to generate a paper surface morphology quality map according to the number of point clouds in the area corresponding to each height in the height range.
Further, the generating module 35 is further configured to:
and generating a triangular mesh model of the paper according to the number of point cloud points in the area corresponding to each height in the height range.
Further, the generating module 35 is further configured to:
and generating a height statistical histogram according to the point number of the point cloud in the region corresponding to each height.
Further, the apparatus further comprises:
and the storage module 36 is configured to store the number of cloud points in the area corresponding to each height and the generated paper surface morphology quality map.
The embodiment of the invention also provides a computer storage medium for storing computer software instructions for the device provided by the embodiment.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It should be noted that, in the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to realize the destination of the scheme of the embodiment.
In addition, functional units in the embodiments provided by the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.