CN113310404A - Segment difference measuring method and device, computer equipment and storage medium thereof - Google Patents

Segment difference measuring method and device, computer equipment and storage medium thereof Download PDF

Info

Publication number
CN113310404A
CN113310404A CN202110486207.4A CN202110486207A CN113310404A CN 113310404 A CN113310404 A CN 113310404A CN 202110486207 A CN202110486207 A CN 202110486207A CN 113310404 A CN113310404 A CN 113310404A
Authority
CN
China
Prior art keywords
groove
error range
information
difference
level difference
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.)
Pending
Application number
CN202110486207.4A
Other languages
Chinese (zh)
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.)
Shenzhen Shizong Automation Equipment Co Ltd
Original Assignee
Shenzhen Shizong Automation Equipment 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 Shenzhen Shizong Automation Equipment Co Ltd filed Critical Shenzhen Shizong Automation Equipment Co Ltd
Priority to CN202110486207.4A priority Critical patent/CN113310404A/en
Publication of CN113310404A publication Critical patent/CN113310404A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures

Abstract

The invention discloses a segment difference measuring method, a segment difference measuring device, computer equipment and a storage medium thereof, wherein the method comprises the following steps: controlling a camera to acquire a three-dimensional image of a detected part; acquiring the step difference information of the measured part through the Z-axis data of the three-dimensional image; and judging whether the step difference information is in an error range, and prompting if the step difference information is not in the error range. The three-dimensional camera can acquire the three-dimensional data while acquiring the two-dimensional picture data of the segment difference part, and the position of the three-dimensional data is relatively fixed. According to the step difference measuring method and device, the computer equipment and the storage medium thereof provided by the embodiment of the invention, the high-precision measurement of the step difference part can be realized through three-dimensional data, and the quality of a measured product is ensured.

Description

Segment difference measuring method and device, computer equipment and storage medium thereof
Technical Field
The present invention relates to the field of level difference detection technologies, and in particular, to a level difference measurement method and apparatus, a computer device, and a storage medium thereof.
Background
In the production and processing of the tablet personal computer, the wireless antenna can achieve better transceiving quality. The wireless antenna is installed in the antenna groove at one side of the tablet computer, so that after the wireless antenna is installed in the antenna groove, a step difference may be generated due to the installation accuracy problem, thereby affecting the beauty and quality of the product. Therefore, it is necessary to detect a level difference groove formed between the wireless antenna and the antenna groove.
At present, the level difference detection method mainly adopts a stylus mode for measurement. Although the step difference can also be measured by means of a laser (for example, CN200975874Y step difference detector). However, the error of the laser scanning mode driven by the motion module is relatively large, and the measurement requirement cannot be met.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, the invention aims to provide a step difference measuring method, a step difference measuring device, a computer device and a storage medium thereof.
In order to achieve the above object, in a first aspect, a level difference measuring method according to an embodiment of the present invention includes:
controlling a camera to acquire a three-dimensional image of a detected part;
acquiring the step difference information of the measured part through the Z-axis data of the three-dimensional image;
and judging whether the step difference information is in an error range, and prompting if the step difference information is not in the error range.
According to an embodiment of the present invention, the determining whether the level difference information is within an error range includes:
respectively acquiring each section difference groove formed by the section difference according to the section difference information;
judging the error range of each segment difference groove;
and if the size or the shape of one of the segment difference grooves exceeds the error range, judging that the segment difference information exceeds the error range.
According to an embodiment of the present invention, the level difference groove includes: the groove is formed between the front, back, left and right peripheral areas between the mounting groove and the mounting component.
According to an embodiment of the present invention, the level difference measuring method further includes:
processing according to XY axis image data of the three-dimensional image to acquire contour information of the measured part;
acquiring each groove formed by the outline according to the outline information;
respectively judging the error range of each groove;
and if the size or the shape of one groove exceeds the error range, judging that the step difference information exceeds the error range.
According to an embodiment of the present invention, the method for processing the XY-axis image data of the three-dimensional image to obtain the contour information of the measured portion includes:
carrying out global binarization reprocessing on the XY axis image by using a global binarization algorithm;
carrying out noise elimination on the XY axis image after global binarization reprocessing so as to remove an interference area on the XY axis image;
and dividing the groove region in the XY axis image by adopting a vertical projection method to obtain the peripheral boundary of each groove, and cutting out each groove.
In a second aspect, a level difference measuring apparatus according to an embodiment of the present invention includes:
the three-dimensional image acquisition unit is used for controlling the camera to acquire a three-dimensional image of the measured part;
a step information acquisition unit for acquiring step information of a measured portion from the Z-axis data of the three-dimensional image;
and the error range judging unit is used for judging whether the step difference information is in the error range or not, and prompting if the step difference information is not in the error range.
According to an embodiment of the present invention, the error range determination unit includes:
a step difference groove acquisition unit for respectively acquiring each step difference groove formed by the step difference according to the step difference information;
the segment difference groove judging unit is used for judging the error range of each segment difference groove; and if the size or the shape of one of the segment difference grooves exceeds the error range, judging that the segment difference information exceeds the error range.
According to an embodiment of the present invention, the level difference groove includes: the groove is formed between the front, back, left and right peripheral areas between the mounting groove and the mounting component.
According to an embodiment of the present invention, the level difference measuring apparatus further includes:
the contour acquisition module is used for processing according to XY-axis image data of the three-dimensional image so as to acquire contour information of the measured part;
the groove acquisition module is used for acquiring each groove formed by the contour according to the contour information;
the groove judgment module is used for judging the error range of each groove; and if the size or the shape of one groove exceeds the error range, judging that the step difference information exceeds the error range.
In a third aspect, a computer device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the level difference measurement method as described above when executing the computer program.
In a fourth aspect, a computer storage medium according to an embodiment of the present invention has a computer program stored thereon, which when executed by a processor implements the level difference measuring method as described above.
According to the step difference measuring method, the step difference measuring device, the computer equipment and the storage medium thereof, the step difference measuring method provided by the embodiment of the invention obtains the three-dimensional image of the measured part by controlling the camera; acquiring the step difference information of the measured part through the Z-axis data of the three-dimensional image; and judging whether the step difference information is in an error range, and prompting if the step difference information is not in the error range. The three-dimensional camera can acquire the three-dimensional data while acquiring the two-dimensional picture data of the segment difference part, and the position of the three-dimensional data is relatively fixed. Therefore, high-precision measurement of the segment difference part can be realized through the three-dimensional data, and the quality of a measured product is ensured.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or 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 for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a wireless antenna mounted on a side of a tablet computer according to an embodiment of the present invention;
FIG. 2 is a flow chart of a step difference measurement method according to an embodiment of the present invention;
fig. 3 is a flowchart of step S103 in the step difference measuring method according to the embodiment of the present invention;
FIG. 4 is a flow chart of another step difference measurement method provided by the embodiment of the invention;
fig. 5 is a flowchart of step S204 in the step difference measuring method according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a step difference measuring device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an error range determination unit according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of another step difference measuring device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Reference numerals:
a three-dimensional image acquisition unit 101;
a level difference information acquisition unit 102;
an error range determination unit 103;
a step difference recess obtaining unit 1031;
a step difference groove judgment unit 1032;
a contour acquisition module 104;
a groove acquisition module 105;
a groove judgment module 106;
a computer device 20;
a memory 201;
a computer program 2011;
a processor 202;
a tablet computer 30;
a mounting groove 301;
a step difference groove 3011;
a mounting part (wireless antenna) 40.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
Referring to fig. 1 and fig. 2, fig. 2 is a flowchart illustrating an embodiment of a level difference measurement method provided by an embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown.
Specifically, the step difference measuring method specifically comprises the following steps:
and S101, controlling a camera to acquire a three-dimensional image of the detected part.
And S102, acquiring the step difference information of the measured part through the Z-axis data of the three-dimensional image.
S103, judging whether the step difference information is in an error range or not, and if not, prompting.
Specifically, as shown in fig. 1 and 2, in the production process of the tablet computer, a better transceiving quality can be achieved for the wireless antenna. The wireless antenna is installed in the antenna groove at one side of the tablet computer, so that after the wireless antenna is installed in the antenna groove, a step difference may be generated due to the installation accuracy problem, thereby affecting the beauty and quality of the product. Therefore, the part with the wireless antenna needs to be detected through a step difference detection mode so as to judge whether the installation of the wireless antenna meets the requirement or not through the detection result, and in step S101, a three-dimensional image of the detected part is acquired through controlling the camera; the three-dimensional camera is adopted to acquire the three-dimensional image of the detected part, and the three-dimensional image contains XY-axis and Z-axis information, so that the step difference information of the detected part can be acquired conveniently through the three-dimensional image; in step S102, step information of the measured portion is acquired from the Z-axis data of the three-dimensional image; the formed level difference information between the wireless antenna and the mounting groove can be extracted by the Z-axis data of the three-dimensional image. In step S103, it is determined whether the step information is within the error range, and if the step information is not within the error range, the step information is presented. Since the level difference is formed by the gap between the wireless antenna and the mounting groove, the level difference information corresponds to the gap condition around the antenna. That is, the level difference information may directly reflect the formed groove around the wireless antenna, such as the shape and size of the groove. And judging the level difference information to obtain whether the wireless antenna meets the requirement of installation precision. If the step difference information is in the error range, the installation of the wireless antenna meets the precision requirement, and the wireless antenna can be judged to be qualified. Otherwise, it indicates that the installation of the wireless antenna is out of tolerance. It is prompted to be disposed of as a defective product.
According to the step difference measuring method provided by the embodiment of the invention, the three-dimensional image of the measured part is obtained by controlling the camera; acquiring the step difference information of the measured part through the Z-axis data of the three-dimensional image; and judging whether the step difference information is in an error range, and prompting if the step difference information is not in the error range. The three-dimensional camera can acquire the three-dimensional data while acquiring the two-dimensional picture data of the segment difference part, and the position of the three-dimensional data is relatively fixed. Therefore, high-precision measurement of the segment difference part can be realized through the three-dimensional data, and the quality of a measured product is ensured.
Referring to fig. 1 and 3, the step of determining whether the level difference information is within the error range includes the steps of:
and S1031, respectively acquiring each level difference groove formed by the level difference according to the level difference information.
And S1032, judging the error range of each step groove.
S1033, if the size or the shape of one of the step difference grooves exceeds the error range, judging that the step difference information exceeds the error range.
Specifically, when the step difference information is acquired through the three-dimensional graph to determine the error, the step difference groove formed by the Z-axis data needs to be acquired through the Z-axis data of the three-dimensional graph. In step S1031, each level difference groove formed by the level difference is acquired according to the level difference information; such as a stepped groove formed by the both ends of the wireless antenna and the mounting groove shown in fig. 1. After obtaining each level difference groove, respectively judging the error range of each level difference groove through step S1032; specifically. Such as a step notch at both ends of the wireless antenna in fig. 1. After the wireless antenna is accurately installed, the grooves at the two ends of the wireless antenna are symmetrical, namely, the size and the shape are consistent. When the wireless antenna is installed with a deviation, the size of the groove with a section difference on one side is inconsistent with that of the groove with a section difference on the other side. In step S1033, if the size or the shape of one of the level difference grooves exceeds the error range, it is determined that the level difference information exceeds the error range. For example, as in the case of fig. 1, when the level difference on the left or upper side exceeds the error range, it can be judged that the level difference information exceeds the error range. Referring to fig. 1, in one embodiment of the present invention, the level difference groove includes: the groove is formed between the front, back, left and right peripheral areas between the mounting groove and the mounting component.
Referring to fig. 1 and 4, the level difference measuring method further includes the steps of:
and S204, processing according to the XY-axis image data of the three-dimensional image to acquire the contour information of the measured part.
And S205, acquiring each groove formed by the contour according to the contour information.
And S206, judging the error range of each groove.
And S207, if the size or the shape of one groove exceeds the error range, judging that the step difference information exceeds the error range.
Specifically, as shown in fig. 1 and 4, while the level difference groove is acquired by the Z-axis data of the three-dimensional image, the data of the XY-axis may also be acquired by the three-dimensional image, and the error of the level difference groove is further judged by the processing of the image data of the XY-axis to obtain an error judgment result according to precision. And step S204, processing according to the XY-axis image data of the three-dimensional image to acquire the contour information of the measured part. As shown in fig. 1, by processing the XY-axis image data, contour information similar to that in fig. 1 can be obtained. Passing the waiting information. Then, through S205, according to the contour information, obtaining each groove formed by the contour; for example, a stepped groove is formed at both left and right ends of the wireless antenna. After obtaining each step difference groove, respectively judging the error range of each groove through step S206; for example, the profile information of the stepped groove may be extracted, the extracted profile information may be compared with the profile information formed after standard installation one by one, and when an error between any one of the extracted profile information and the standard profile information exceeds a set range, it may be determined that the stepped information exceeds the error range through step S207 if the size or shape of one of the grooves exceeds the error range. By integrating the XY plane image error judgment result and the Z-axis data judgment result, the error judgment rate can be greatly improved, and the condition of erroneous judgment is avoided.
Referring to fig. 5, the method for processing the XY-axis image data of the three-dimensional image to obtain the contour information of the measured portion includes:
s2041, carrying out global binarization reprocessing on the XY axis image by using a global binarization algorithm.
S2042, carrying out noise elimination on the XY axis image after the global binarization reprocessing so as to remove an interference area on the XY axis image.
S2043, dividing the groove region in the XY axis image by a vertical projection method to obtain the peripheral boundary of each groove, and cutting out each groove.
Specifically, when processing an image, in order to better perform corresponding processing on the image, in step S2041, global binarization reprocessing is performed on the XY-axis image by using a global binarization algorithm; in this way, the image is converted into a binarization amount so as to implement correlation processing of the image by using an algorithm based on binarization. After the image is binarized, the noise of the image needs to be removed by the image noise removing method in step S2042. The image noise may be image noise caused by light interference or stain interference, and the noise may affect the acquisition of the peripheral boundary of the groove, causing a relatively large error problem. After the noise information in the image is eliminated, in step S2043, the groove region in the XY-axis image is divided by using a vertical projection method to obtain the peripheral boundary of each groove. Therefore, the boundary tracks of the grooves can be obtained, the grooves can be cut out through the boundary tracks of the grooves and the positions of the grooves in the image, and the judgment of groove errors is achieved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a level difference measuring device according to an embodiment of the present invention, and for convenience of description, only a portion related to the embodiment of the present invention is shown. Specifically, the level difference measuring device includes: a three-dimensional image acquisition unit 101, wherein the three-dimensional image acquisition unit 101 is used for controlling the camera to acquire a three-dimensional image of the measured part.
A step information acquiring unit 102 and an error range judging unit 103, wherein the step information acquiring unit 102 is used for acquiring step information of a measured part through Z-axis data of the three-dimensional image.
The error range determination unit 103 is configured to determine whether the step information is in an error range, and prompt if the step information is not in the error range.
Referring to fig. 7, in an embodiment of the present invention, the error range determining unit 103 includes: a level difference groove obtaining unit 1031, a level difference groove judging unit 1032, the level difference groove obtaining unit 1031 being configured to obtain each level difference groove 3011 formed by the level difference according to the level difference information;
the level difference groove judgment unit 1032 is configured to respectively judge an error range of each level difference groove 3011; if the size or the shape of one of the segment difference grooves 3011 exceeds the error range, it is determined that the segment difference information exceeds the error range.
Referring to fig. 1, further, in an embodiment of the present invention, the level difference groove 3011 includes: the grooves are formed between the front, rear, left and right peripheral regions between the mounting groove 301 and the mounting member 40.
Referring to fig. 8, in an embodiment of the present invention, the level difference measuring apparatus further includes: the device comprises a contour acquisition module 104, a groove acquisition module 105 and a groove judgment module 106, wherein the contour acquisition module 104 is used for processing according to XY axis image data of the three-dimensional image to acquire contour information of the measured part.
The groove obtaining module 105 is configured to obtain each groove formed by the profile according to the profile information.
The groove judgment module 106 is configured to judge an error range of each groove; and if the size or the shape of one groove exceeds the error range, judging that the step difference information exceeds the error range.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
According to the step difference measuring device provided by the embodiment of the invention, the three-dimensional image acquisition unit 101 is used for controlling the camera to acquire the three-dimensional image of the measured part; the three-dimensional image acquisition unit 101 is used for controlling the camera to acquire a three-dimensional image of the measured part; the step information acquiring unit 102 is configured to acquire step information of a measured portion from Z-axis data of the three-dimensional image; the error range determination unit 103 is configured to determine whether the step information is in an error range, and present the step information if the step information is not in the error range. Therefore, high-precision measurement of the segment difference part can be realized through the three-dimensional data, and the quality of a measured product is ensured.
Referring to fig. 9, fig. 9 shows a computer device 20 provided by an embodiment of the present invention, which includes a memory 201, a processor 202, and a computer program 2011 stored on the memory 201 and executable on the processor 202, and when the processor 202 executes the computer program 2011, the level difference measurement method is implemented as described above.
Illustratively, the computer program 2011 can be partitioned into one or more modules/units, which are stored in the memory 201 and executed by the processor 202 to implement the present invention. The one or more modules/units may be a series of computer programs 2011 instruction segments for describing the execution of the computer programs 2011 in the computer device 20, which can perform specific functions.
The computer device 20 may include, but is not limited to, a processor 202, a memory 201. Those skilled in the art will appreciate that the figure is merely an example of a computer device 20 and is not intended to limit the computer device 20 and may include more or fewer components than those shown, or some of the components may be combined, or different components, for example the computer device 20 may also include input output devices, network access devices, buses, etc.
The Processor 202 may be a Central Processing Unit (CPU), other general-purpose Processor 202, a Digital Signal Processor 202 (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic, discrete default hardware components, etc. The general purpose processor 202 may be a microprocessor 202 or the processor 202 may be any conventional processor 202 or the like.
The storage 201 may be an internal storage unit of the computer device 20, such as a hard disk or a memory of the computer device 20. The memory 201 may also be an external storage device of the computer device 20, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 20. Further, the memory 201 may also include both an internal storage unit and an external storage device of the computer device 20. The memory 201 is used for storing the computer program 2011 and other programs and data required by the computer device 20. The memory 201 may also be used to temporarily store data that has been output or is to be output.
An embodiment of the present invention further provides a computer storage medium, on which a computer program 2011 is stored, and when the program is executed by the processor 202, the method for measuring a level difference is implemented.
The computer program 2011 may be stored in a computer readable storage medium, and when executed by the processor 202, the computer program 2011 may implement the steps of the method embodiments. Wherein the computer program 2011 comprises computer program 2011 code, the computer program 2011 code may be in source code form, object code form, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules or units in the system of the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic pre-set hardware or in a combination of computer software and electronic pre-set hardware. Whether these functions are performed by pre-determined hardware or software depends on the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus/computer device 600 and method may be implemented in other ways. For example, the above-described embodiment of the apparatus/computer device 600 is merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will 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 invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A level difference measurement method, characterized by comprising:
controlling a camera to acquire a three-dimensional image of a detected part;
acquiring the step difference information of the measured part through the Z-axis data of the three-dimensional image;
and judging whether the step difference information is in an error range, and prompting if the step difference information is not in the error range.
2. The level difference measuring method according to claim 1, wherein the determining whether the level difference information is within an error range includes:
respectively acquiring each section difference groove formed by the section difference according to the section difference information;
judging the error range of each segment difference groove;
and if the size or the shape of one of the segment difference grooves exceeds the error range, judging that the segment difference information exceeds the error range.
3. The level difference measuring method according to claim 2, wherein the level difference groove includes: the groove is formed between the front, back, left and right peripheral areas between the mounting groove and the mounting component.
4. The level difference measuring method according to claim 1, further comprising:
processing according to XY axis image data of the three-dimensional image to acquire contour information of the measured part;
acquiring each groove formed by the outline according to the outline information;
respectively judging the error range of each groove;
and if the size or the shape of one groove exceeds the error range, judging that the step difference information exceeds the error range.
5. The level difference measuring method according to claim 4, wherein the method of processing the XY-axis image data of the three-dimensional image to obtain the contour information of the measured portion includes:
carrying out global binarization reprocessing on the XY axis image by using a global binarization algorithm;
carrying out noise elimination on the XY axis image after global binarization reprocessing so as to remove an interference area on the XY axis image;
and dividing the groove region in the XY axis image by adopting a vertical projection method to obtain the peripheral boundary of each groove, and cutting out each groove.
6. A level difference measuring device, comprising:
the three-dimensional image acquisition unit is used for controlling the camera to acquire a three-dimensional image of the measured part;
a step information acquisition unit for acquiring step information of a measured portion from the Z-axis data of the three-dimensional image;
and the error range judging unit is used for judging whether the step difference information is in the error range or not, and prompting if the step difference information is not in the error range.
7. The level difference measuring device according to claim 6, wherein the determining whether the level difference information is within an error range includes:
a step difference groove acquisition unit for respectively acquiring each step difference groove formed by the step difference according to the step difference information;
the segment difference groove judging unit is used for judging the error range of each segment difference groove; and if the size or the shape of one of the segment difference grooves exceeds the error range, judging that the segment difference information exceeds the error range.
8. The level difference measuring device according to claim 6, wherein the level difference groove includes: the groove is formed between the front, back, left and right peripheral areas between the mounting groove and the mounting component.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the level difference measuring method according to any one of claims 1 to 6 when executing the computer program.
10. A computer storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the level difference measurement method of any one of claims 1 to 6.
CN202110486207.4A 2021-04-30 2021-04-30 Segment difference measuring method and device, computer equipment and storage medium thereof Pending CN113310404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110486207.4A CN113310404A (en) 2021-04-30 2021-04-30 Segment difference measuring method and device, computer equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110486207.4A CN113310404A (en) 2021-04-30 2021-04-30 Segment difference measuring method and device, computer equipment and storage medium thereof

Publications (1)

Publication Number Publication Date
CN113310404A true CN113310404A (en) 2021-08-27

Family

ID=77371419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110486207.4A Pending CN113310404A (en) 2021-04-30 2021-04-30 Segment difference measuring method and device, computer equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN113310404A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102706880A (en) * 2012-06-26 2012-10-03 哈尔滨工业大学 Road information extraction device based on two-dimensional image and depth information and road crack information detection method based on same
CN110405773A (en) * 2019-08-19 2019-11-05 广东博智林机器人有限公司 A kind of floor mounting method and robot
CN111044522A (en) * 2019-12-14 2020-04-21 中国科学院深圳先进技术研究院 Defect detection method and device and terminal equipment
CN111174706A (en) * 2019-12-30 2020-05-19 广东博智林机器人有限公司 Floor installation detection method, electronic device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102706880A (en) * 2012-06-26 2012-10-03 哈尔滨工业大学 Road information extraction device based on two-dimensional image and depth information and road crack information detection method based on same
CN110405773A (en) * 2019-08-19 2019-11-05 广东博智林机器人有限公司 A kind of floor mounting method and robot
CN111044522A (en) * 2019-12-14 2020-04-21 中国科学院深圳先进技术研究院 Defect detection method and device and terminal equipment
CN111174706A (en) * 2019-12-30 2020-05-19 广东博智林机器人有限公司 Floor installation detection method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108896278B (en) Optical filter silk-screen defect detection method and device and terminal equipment
CN110766679A (en) Lens contamination detection method and device and terminal equipment
CN113240630B (en) Speckle image quality evaluation method and device, terminal equipment and readable storage medium
US20130101158A1 (en) Determining dimensions associated with an object
CN113304971B (en) 3D dynamic guiding dispensing compensation method, device and equipment and storage medium thereof
CN113160161A (en) Method and device for detecting defects at edge of target
WO2019001164A1 (en) Optical filter concentricity measurement method and terminal device
US11415408B2 (en) System and method for 3D profile determination using model-based peak selection
CN112967272A (en) Welding defect detection method and device based on improved U-net and terminal equipment
CN112700440A (en) Object defect detection method and device, computer equipment and storage medium
CN111507055A (en) Circuit design layout and electron microscope scanning image registration method and system, circuit design layout and imaging error calculation method thereof
US20080240510A1 (en) Method and system for examining a surface
CN113310404A (en) Segment difference measuring method and device, computer equipment and storage medium thereof
CN117252837A (en) Data processing method and device for wafer test, medium and electronic equipment
CN111336938A (en) Robot and object distance detection method and device thereof
CN113781392A (en) Method for detecting adhesive path, electronic device and storage medium
CN112529952B (en) Object volume measurement method and device and electronic equipment
CN115235626A (en) Method and device for acquiring light source spectrum image, computer equipment and medium
CN111046878A (en) Data processing method and device, computer storage medium and computer
CN112907480B (en) Point cloud surface ripple removing method and device, terminal and storage medium
CN116109815B (en) Positioning method and device for test card calculation area and terminal equipment
CN112199418B (en) State identification method, device and equipment for industrial object
CN115330826B (en) Linear detection method, linear detection device, electronic equipment and computer readable storage medium
CN117494030B (en) Abnormal event identification method and related device based on distributed optical fiber acoustic wave sensing
CN117745660A (en) Chip appearance defect detection method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210827

RJ01 Rejection of invention patent application after publication