Calibration method and system of measuring device

By taking calibration images on the laser light emission plane and optimizing the internal parameters of the camera device based on marker information, the problem of insufficient internal parameter calibration accuracy in non-contact measurement devices is solved, the calibration process is simplified and the measurement accuracy is improved.

CN118537412APending Publication Date: 2024-08-23PMT TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410586806.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The internal parameter calibration accuracy of the camera device in existing non-contact measurement devices is insufficient and the calibration process is complicated, making it difficult to meet the measurement accuracy requirements of the laser and camera device.

Method used

By configuring the first calibration component on the light exit plane of the laser, using the camera device to capture the first calibration image, combining the image position information and actual position information of the marker, the internal parameters of the camera device are determined, and the objective function is optimized based on the initial internal parameter values ​​to obtain The optimal solution simplifies the internal parameter calibration process.

Benefits of technology

The calibration accuracy of the camera device in the measurement device is improved, the internal parameter calibration process is simplified, and the measurement accuracy is ensured through the calibration of the laser light output plane.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537412A
    Figure CN118537412A
Patent Text Reader

Abstract

The invention discloses a calibration method and system of a measuring device, computer equipment, a computer readable storage medium and a computer program product, the measuring device is provided with a laser and a camera device which are matched to perform non-contact measurement on a to-be-measured object, and the laser and the camera device have a fixed position relationship. The calibration method comprises the following steps: when a first calibration piece is configured on a light emitting plane of the laser, shooting the first calibration piece through the camera device to obtain a first calibration image; wherein the first calibration piece is provided with a plurality of markers, and the first calibration image comprises a plurality of calibration features corresponding to the plurality of markers; and determining the internal reference of the camera device in the fixed position relation by using the image position information of the plurality of calibration features in the first calibration image and the actual position information of the plurality of markers in the first calibration piece.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of calibration technology, and in particular to a calibration method and system for a measuring device, a computer device, a computer-readable storage medium, and a computer program product. Background Art

[0002] At present, in the fields of electronics, optics, industrial production, or medical equipment, contact probes are usually used to measure the objects to be inspected (such as parts, assemblies, or molds, etc.). For special-shaped curved components that are difficult to accurately reach with contact probes, non-contact measuring devices are usually used for measurement.

[0003] Non-contact measuring devices usually use a laser and a camera to achieve non-contact measurement of the object to be measured. Before using the non-contact measuring device, it is usually necessary to calibrate the camera internal parameters to ensure the measurement accuracy. In the commonly used internal parameter calibration method, the camera is required to shoot the calibration object in different postures to use the multiple images taken for internal parameter calibration. The calibration process of this method is relatively complicated and is usually calibrated for a single camera. The adaptability and accuracy of the calibration result cannot meet the requirements of the measuring device including the laser and the camera.

[0004] Therefore, how to ensure the internal parameter calibration accuracy of the camera device in the non-contact measurement device and simplify the internal parameter calibration process is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0005] In view of the shortcomings of the related technologies mentioned above, the purpose of the present application is to provide a calibration method and system for a measuring device, a computer device, a computer-readable storage medium, and a computer program product, which are used to solve the technical problem of how to ensure the internal parameter calibration accuracy of a camera device in a non-contact measuring device and simplify the internal parameter calibration process.

[0006] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present application provides a calibration method for a measuring device, wherein the measuring device is provided with a laser and a camera device that cooperate to perform non-contact measurement of an object to be measured, and the laser and the camera device have a fixed positional relationship, and the calibration method comprises: when the first calibration piece is configured on a light emitting plane of the laser, photographing the first calibration piece by the camera device to obtain a first calibration image; wherein a plurality of markers are provided on the first calibration piece, and the first calibration image includes a plurality of calibration features corresponding to the plurality of markers; and utilizing the image position information of the plurality of calibration features in the first calibration image and the actual position information of the plurality of markers in the first calibration piece to determine the internal parameters of the camera device maintained in the fixed positional relationship.

[0007] In certain embodiments disclosed in the first aspect of the present application, the configuration position of the first calibration component corresponding to the light emitting plane is determined by providing an indication through the laser line emitted by the laser.

[0008] In certain embodiments disclosed in the first aspect of the present application, the measuring device is configured as a measuring probe used in an articulated arm three-dimensional coordinate measuring machine.

[0009] In certain embodiments disclosed in the first aspect of the present application, a calibration bracket is provided for setting up the measuring device, wherein the calibration bracket includes a horizontal platform for placing the first calibration component and a mounting component connected to the horizontal platform for fixing the measuring device.

[0010] In certain embodiments disclosed in the first aspect of the present application, the step of determining the internal parameters of the camera device maintained in the fixed position relationship using the image position information of multiple calibration features in the first calibration image and the actual position information of multiple markers in the first calibration part includes: determining, based on an internal parameter initial value, the optimal solution of a first objective function determined using the image position information of multiple calibration features in the first calibration image and the actual position information of multiple markers in the first calibration part, as the internal parameter of the camera device maintained in the fixed position relationship.

[0011] In certain embodiments disclosed in the first aspect of the present application, the step of obtaining the initial value of the internal parameter is further included, wherein the initial value of the internal parameter is obtained by calibrating the internal parameter of the camera device that is not maintained in the fixed position relationship.

[0012] In certain embodiments disclosed in the first aspect of the present application, a step of calibrating the light emitting plane of the laser is also included.

[0013] In certain embodiments disclosed in the first aspect of the present application, the step of calibrating the light-emitting plane includes: when the line laser emitted by the laser irradiates the step structure of the second calibration part, photographing the second calibration part through the camera device to obtain a second calibration image including step features, so as to calibrate the light-emitting plane using the step features; wherein the step features included in the second calibration image are configured to be obtained by receiving, by the camera device, reflected light formed by the line laser being reflected by the horizontal plane in the step structure.

[0014] In certain embodiments disclosed in the first aspect of the present application, the step of calibrating the light-emitting plane using the step feature includes: determining, based on an initial light-emitting plane equation, an optimal solution of a second objective function determined by using the step feature, the internal parameters of the camera device maintained in the fixed position relationship, and the actual step height of the step structure, as equation parameters of the light-emitting plane.

[0015] In certain embodiments disclosed in the first aspect of the present application, the initial light-exiting plane equation is a plane equation of a plane where multiple markers are located, which is calculated using the acquired first calibration image.

[0016] In certain embodiments disclosed in the first aspect of the present application, the second calibration member is disposed on a surface of the first calibration member opposite to the marker, so that the first calibration member and the second calibration member form an integral structure.

[0017] In certain embodiments disclosed in the first aspect of the present application, the step structure is configured to include a top step and at least two side steps symmetrically arranged on both sides of the top step.

[0018] According to a second aspect of the present application, there is provided a calibration system for a measuring device, wherein the measuring device is provided with a laser and a camera device which cooperate to perform non-contact measurement of an object to be measured, and the laser and the camera device have a fixed positional relationship. The calibration system comprises: an acquisition module, which is used to acquire a first calibration image by photographing the first calibration member through the camera device when the first calibration member is configured on a light emitting plane of the laser; wherein a plurality of markers are provided on the first calibration member, and the first calibration image comprises a plurality of calibration features corresponding to the plurality of markers; and an internal parameter calibration module, which is used to determine the internal parameters of the camera device maintained in the fixed positional relationship by using the image position information of the plurality of calibration features in the first calibration image and the actual position information of the plurality of markers in the first calibration member.

[0019] In certain embodiments disclosed in the second aspect of the present application, the calibration system further includes a light output plane calibration module for calibrating the light output plane of the laser.

[0020] The third aspect of the present application provides a computer device, comprising: a storage device for storing at least one program; a processing device connected to the storage device, for calling the at least one program from the storage device and executing it to implement the calibration method of the measuring device as described in any embodiment disclosed in the first aspect of the present application.

[0021] A fourth aspect of the present application provides a computer-readable storage medium storing at least one program, which, when called, executes and implements the calibration method of the measuring device as described in any embodiment disclosed in the first aspect of the present application.

[0022] A fifth aspect of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the calibration method of the measuring device as described in any embodiment disclosed in the first aspect of the present application.

[0023] In summary, the calibration method and system of the measuring device, computer equipment, computer-readable storage medium, and computer program product provided by the present application, when the first calibration part is configured on the light-emitting plane of the laser, the first calibration part is photographed by a camera device to obtain a first calibration image, so as to calibrate the internal parameters of the camera device that maintains a fixed positional relationship with the laser. The present application does not need to change the posture of the first calibration part to obtain the first calibration image in different postures to calibrate the internal parameters of the camera device. In this way, the calibration accuracy of the camera device in the measuring device can be guaranteed, and the internal parameter calibration process can be simplified. Furthermore, the present application will also calibrate the light-emitting plane of the laser based on the internal parameters of the camera device that maintains a fixed positional relationship with the laser after the calibration, so as to ensure the measurement accuracy of the measuring device. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The specific features of the present application are shown in the attached claims. The features and advantages of the invention involved in the present application can be better understood by referring to the exemplary embodiments and drawings described in detail below. The drawings are briefly described as follows:

[0025] Figure 1 Shown is a schematic structural diagram of an articulated arm three-dimensional coordinate measuring machine in one embodiment of the present application.

[0026] Figure 2 It is a schematic diagram showing the combination of the measuring device and the probe base in one embodiment of the present application.

[0027] Figure 3 Shown is a schematic structural diagram of a measuring device in one embodiment of the present application at a viewing angle.

[0028] Figure 4 Shown is a schematic flow chart of a calibration method for a measuring device in one embodiment of the present application.

[0029] Figure 5 It is a schematic diagram showing that a plurality of markers on a first calibration piece are arranged in rows and columns in one embodiment of the present application.

[0030] Figure 6 It is a schematic diagram showing a first calibration element configured on a light emitting plane of a laser in one embodiment of the present application.

[0031] Figure 7 It is a schematic diagram showing the structure of a measuring device arranged on a calibration bracket in one embodiment of the present application.

[0032] Figure 8 Shown is a schematic diagram of a first calibration image in one embodiment of the present application.

[0033] Fig. 9Shown is a flow chart of a calibration method in another embodiment of the present application.

[0034] Fig.10 Shown is a side view of a step structure in one embodiment of the present application.

[0035] Fig.11 Displayed as camera receiving Fig.10 A schematic diagram of a second calibration image obtained by reflecting light formed by linear laser reflection on a horizontal surface in the step structure of the illustrated embodiment.

[0036] Fig.12 Shown is a structural block diagram of a calibration system for a measuring device in one embodiment of the present application.

[0037] Fig.13 Shown is a structural block diagram of a calibration system for a measuring device in another embodiment of the present application.

[0038] Fig.14 Shown is a schematic diagram of the structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

[0039] The following is an explanation of the implementation of the present application by means of specific embodiments. People familiar with the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification.

[0040] The present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The technical solutions in the embodiments of the present application are clearly and completely described. Obviously, the described embodiments are only embodiments of a part of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. "An implementation method", "implementation method" or similar expressions mentioned in the whole text of this specification mean that the specific features, structures or characteristics described together with the implementation method are included in at least one embodiment of the present application. Therefore, in the whole text of this specification, the appearance of the phrases "in an implementation method", "in an implementation method" and similar expressions may (but not necessarily) relate to the same implementation method.

[0041] Although in some instances the terms first, second, etc. are used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first calibration piece may be referred to as a second calibration piece, and similarly, a second calibration piece may be referred to as a first calibration piece without departing from the scope of the various described embodiments. The first calibration piece and the second calibration piece are both describing a certain calibration piece, but unless the context clearly indicates otherwise, they are not the same calibration piece. Similar situations also include a first calibration image and a second calibration image, etc.

[0042] In view of the technical problems mentioned in the background technology, the present application discloses a calibration method and system, a computer device, a computer-readable storage medium, and a computer program product. When a first calibration part is configured on a light-emitting plane of a laser, the first calibration part is photographed by a camera device to obtain a first calibration image, so as to calibrate the internal parameters of the camera device that maintains a fixed positional relationship with the laser. The present application does not need to change the posture of the first calibration part to obtain images in different postures to calibrate the internal parameters of the camera device. Only an image (i.e., the first calibration image) taken by the first calibration part on the light-emitting plane can complete the internal parameter calibration of the camera device. In this way, the calibration accuracy of the camera device in the measuring device can be guaranteed, and the internal parameter calibration process can be simplified.

[0043] The measuring device corresponding to the calibration method described in the present application is configured as a non-contact measuring device including a laser and a camera device, and its adoptable structure will be introduced in the embodiments later. In some embodiments, the measuring device can be configured on a measuring device to perform a measuring operation, for example, the measuring device is configured as a measuring probe applied to a measuring device. Among them, the measuring device is a device for measuring the geometric features of an object to be measured. In one embodiment, the object to be measured is exemplified by parts, assemblies, or molds in the fields of electronics, optics, industrial production, or medical equipment, and the geometric features are exemplified by the size, shape, surface quality, or / and texture of the object to be measured. For example, the measuring device can be configured as a three-dimensional coordinate measuring machine, and further, it can be configured as an articulated arm three-dimensional coordinate measuring machine or a handheld three-dimensional coordinate measuring machine.

[0044] Take the measurement device as an articulated arm three-dimensional coordinate measuring machine as an example, please refer to Figure 1, which is a schematic diagram of the structure of an articulated arm three-dimensional coordinate measuring machine in one embodiment of the present application, wherein the articulated arm three-dimensional coordinate measuring machine comprises an articulated arm 1 and a base 2, wherein the articulated arm 1 has a proximal end and a distal end opposite to each other, wherein the proximal end is connected to the base 2, and a probe holder 31 is arranged at the distal end, and the measuring device can be connected to the distal end of the articulated arm 1 through the probe holder 31. The articulated arm 1 provides the measuring device with a degree of freedom of movement in space so that the measuring device can move to the object to be measured for measurement. For example, the articulated arm 1 can be configured as a seven-axis robot arm to provide seven degrees of freedom of movement (in the form of Figure 1 The articulated arm 1 shown is configured as a seven-axis robotic arm), and can also be configured as a six-axis robotic arm to provide six degrees of freedom. Of course, it can also be configured as a robotic arm with more or fewer axes according to actual needs, and this application does not limit this.

[0045] Furthermore, the articulated arm 1 includes an encoder that provides rotation information of the articulated arm 1. The rotation information provided by all encoders can determine the position of the measuring device relative to the base 2, so as to determine the three-dimensional coordinates of the point to be measured in combination with the measurement data of the measuring device (such as an image taken by a camera). The base 2 is used to be installed on a measuring platform, so that the base 2 can be used as a connecting part so that the articulated arm 1 can rotate in space with the measuring platform as a base point, so that the measuring device can be freely oriented in space and positioned near the object to be measured for measurement.

[0046] In one embodiment, if Figure 2 FIG. 1 is a schematic diagram showing a combination method of a measuring device and a probe base in an embodiment of the present application. As shown in the figure, the measuring device 32 is detachably mounted on the probe base 31. In one example, the probe base 31 may be configured with an interface unit, and the interface unit includes a probe interface module 311 configured on the probe base 31. The measuring device 32 may be detachably mounted on the probe base 31 through the probe interface module 311. A plurality of probe interface modules 311 may be provided (for example, two) so that more measuring probes may be connected to the probe base 31, for example Figure 2 As shown in the figure, the measuring device 32 can be connected to the probe base 31 through the probe interface module 311 on the side of the probe base 31, and the contact probe 33 can be connected to the probe base 31 through the probe interface module (not shown) at the front end of the probe base 31. The interface unit can further include a trigger component interface module (not shown), which is used to connect the trigger component. The trigger component can be, for example, Figure 2 The handle shown may also be a keypad.

[0047] In one embodiment, see Figure 3, which is a schematic diagram of the structure of a measuring device in one embodiment of the present application at a viewing angle, as shown in the figure, the measuring device is equipped with a laser 322 and a camera 321 that cooperate to perform non-contact measurement of the object to be measured. In a specific embodiment, the laser 322 emits laser light toward the object to be measured, and the object to be measured reflects the laser light. The camera 321 receives the reflected light of the object to be measured to form an image, so that the three-dimensional coordinates of the object to be measured can be determined by using a triangulation method.

[0048] The laser and the camera have a fixed positional relationship so that the laser and the camera can cooperate to measure the object to be measured. The fixed positional relationship refers to the positional relationship between the laser and the camera when they are installed on the measuring device. The fixed positional relationship includes the distance between the laser and the camera, and the angle between the laser and the camera. In one embodiment, the angle is the angle between the optical axes of the laser and the camera, for example, Figure 3 The angle θ is shown. The distance is the baseline length of the laser and the camera device, and the baseline is a line segment connecting the laser and the optical center of the camera device.

[0049] It should be noted that Figure 3 The structure of the measuring device in the embodiment shown, and the fixed positional relationship between the laser and the camera are only examples, and are not intended to limit the structure of the measuring device of the present application, and the configuration of the laser and the camera. The measuring device only needs to be equipped with a laser and a camera that cooperate to perform non-contact measurement of the object to be measured, and the two have a fixed positional relationship.

[0050] In order to ensure the measurement accuracy of the measuring device, it is necessary to calibrate the internal parameters of the camera device configured in the measuring device. For example, the internal parameters of the camera device need to be calibrated before the measuring device leaves the factory or after the measuring device is assembled.

[0051] In view of this, the present application provides a calibration method for a measuring device, wherein the measuring device is a non-contact measuring device, for example Figure 2 and Figure 3 The measuring device 32 shown in FIG. The calibration method can be executed by a computer device equipped with a calibration system for the measuring device. The calibration system for the measuring device is a software tool or software module that can process data, and it processes data with the help of the hardware device in the computer device and the operating environment provided by the operating system.

[0052] In one embodiment, the computer device can be configured as an electronic device, that is, the calibration method of the measuring device is executed by the electronic device. For example, the electronic device includes computer devices such as desktop computers, laptop computers, tablet computers, smart TVs, smart phones, and tablets. The electronic device can also be an electronic device composed of a host with multiple virtual machines and a human-computer interaction device corresponding to each virtual machine (such as a touch display, keyboard and mouse).

[0053] In one embodiment, the computer device can be configured as a server, that is, the calibration method of the measuring device is executed by the server. The server can be arranged on one or more physical servers according to various factors such as function and load. In some examples, the server can be a server based on cloud architecture, and the server refers to a cloud computing platform provided by a cloud computing provider, and the cloud computing platform can provide services such as IaaS (Infrastructureas-a-Service), PaaS (Platform-as-a-Service), and SaaS (Software-as-a-Service). Among them, the cloud computing platform includes public cloud (Public Cloud), private cloud (Private Cloud), and hybrid cloud (Hybrid Cloud). In some examples, the server can be composed of a distributed or centralized server cluster. For example, the server cluster is composed of at least one physical server. Multiple virtual servers are configured in each physical server, each virtual server runs at least one functional module in the system, and each virtual server communicates through a network.

[0054] See also Figure 4 , which is a flow chart of a calibration method for a measuring device in an embodiment of the present application, as shown in the figure, the calibration method includes step S110 and step S120. The following takes the calibration method executed by a computer device as an example to describe various embodiments.

[0055] In step S110, when the first calibration piece is arranged on the light emitting plane of the laser, the computer device photographs the first calibration piece through the camera device to obtain a first calibration image.

[0056] The first calibration piece is provided with a plurality of markers, and the plurality of markers are arranged according to a preset rule, and the preset rule represents the arrangement of the plurality of markers on the first calibration piece. For example, the preset rule may be that the markers are arranged according to a row and column rule. Figure 5 As shown, it is a schematic diagram showing that a plurality of markers on the first calibration piece are arranged in rows and columns in one embodiment of the present application. Figure 5 In the embodiment, the first calibration element is provided with nine markers arranged in rows and columns, and the spacing between adjacent markers in the same row or column is equal. Figure 5 The figure is only an example. In other examples, more or less than nine markers may be set, and the spacing between adjacent markers in the same row or column direction may be the same or different.

[0057] In one embodiment, the marker is a pattern mark, and the pattern mark may have a specific geometric shape, for example, the pattern mark may be configured as a regular pattern such as a circular pattern, a square pattern, a diamond pattern, etc. In the following embodiments, the marker is configured as a circular pattern as an example for description.

[0058] In one embodiment, the first calibration member is configured as a calibration plate. Further, the calibration plate is configured as a thin plate, so that it is convenient for a staff member to configure the first calibration member on the light emitting plane of the laser. In one example, the thickness of the first calibration member is configured to be between 1 mm and 6 mm. For example, the thickness of the first calibration member is configured to be 1 mm, 1.5 mm, 2 mm, 2.5 mm, 3 mm, 3.5 mm, 4 mm, 4.5 mm, 5 mm, 5.5 mm, or 6 mm.

[0059] The light emitting plane of the laser refers to the light plane formed by the line laser emitted by the laser. In view of this, in order to conveniently and accurately configure the first calibration component on the light emitting plane of the laser, the laser can be used to emit a line laser to provide an indication of the configuration position. Figure 6 , which is a schematic diagram showing that the first calibration piece is configured on the light-emitting plane of the laser in one embodiment of the present application. As shown in the figure, the laser 322 emits a line laser, and the line laser forms a light-emitting plane 5 in space. In this way, a visual indication can be provided to indicate the configuration position of the corresponding light-emitting plane 5. The staff or automated equipment can place the first calibration piece 6 on the light-emitting plane 5 corresponding to the line laser according to the visual indication provided by the line laser. It should be noted that Figure 6 It is a diagram at a viewing angle perpendicular to the light emitting plane. In actual space, the light emitting plane 5 corresponding to the line laser is a laser plane.

[0060] Furthermore, the first calibration member being arranged on the light emitting plane means that the surface where the multiple markers of the first calibration member are located is arranged on the light emitting plane, so that the multiple markers are irradiated by the line laser. Figure 6 As shown, the surface 60 where the multiple markers of the first calibration piece 6 are located is arranged on the light emitting plane 5 corresponding to the line laser, and the multiple markers are irradiated by the line laser.

[0061] During the calibration process, in order to ensure the stability of the measuring device so that the first calibration component can be stably configured on the light emitting plane, the present application provides a calibration bracket in one embodiment, and the calibration bracket is used to set the measuring device so as to fix the measuring device on the calibration bracket. In this way, not only the stability of the camera device and the laser during the calibration process is guaranteed, but also the reliability and repeatability of the calibration can be improved.

[0062] See also Figure 7 , which is a schematic diagram of a structure in which a measuring device is arranged on a calibration bracket in one embodiment of the present application. As shown in the figure, the calibration bracket 4 includes a horizontal platform 41 and a mounting member 42. The horizontal platform 41 is used to place a first calibration member for calibrating the internal reference to avoid unnecessary tilt or offset of the first calibration member. The mounting member 42 is connected to the horizontal platform 41, for example, Figure 7 The mounting member 42 is vertically arranged on the side of the horizontal platform 41. Further, the mounting member 42 may be provided with an interface device for detachably connecting with the measuring device 32. The interface device may be configured as a clamping device to clamp the end of the measuring device, but is not limited thereto. In other embodiments, the interface device may also be configured as a snap-fit ​​device, etc. Figure 7 In the embodiment shown, after the measuring device 32 is arranged on the calibration bracket 4, the internal parameters of the camera device in the measuring device 32 can be calibrated. However, this is not limited to this. In other embodiments, the measuring device can also be directly arranged above a test platform, and the first calibration component can be placed on the test platform to perform internal parameter calibration.

[0063] When the first calibration piece is arranged on the light emitting plane of the laser, the camera device photographs the first calibration piece so that the computer device connected to the measuring device for communication obtains a first calibration image. The first calibration image is obtained by the camera device receiving the reflected light formed by the line laser irradiating the surface where the multiple markers are located and reflected by the surface. For example Figure 6 As shown, when the first calibration piece 6 is arranged on the light emitting plane 5 corresponding to the line laser of the laser 322, the line laser is irradiated on the surface where the multiple markers are located, and then the line laser is reflected by the surface where the multiple markers are located to form reflected light 50, and the camera device 321 receives the reflected light 50 to obtain the first calibration image. For example, the staff can directly operate the measuring device to control the camera device to shoot the first calibration piece to obtain the first calibration image. The staff can also operate a computer device that is communicatively connected to the measuring device to control the camera device to shoot the first calibration piece to obtain the first calibration image. The present application does not limit the process of how the camera device is operated to shoot.

[0064] The first calibration image includes a plurality of calibration features corresponding to the plurality of markers. The calibration feature corresponding to a marker may be an image feature composed of all pixel points representing the marker in the first calibration image, or may be an image feature composed of edge pixel points representing the marker in the first calibration image. Figure 8 , which is a schematic diagram of a first calibration image in one embodiment of the present application, Figure 8 5 is a first calibration image obtained by photographing the first calibration piece shown in FIG. 5 . As shown in the figure, each black dot represents a calibration feature corresponding to a marker, that is, Figure 8 There are 9 calibration features, namely calibration feature a1, calibration feature a2, calibration feature a3, ..., calibration feature a9.

[0065] It should be noted that in step S110, when the first calibration component is configured on the light emitting plane of the laser, the computer device can directly execute step S120 using only a first calibration image taken by the camera device, or can filter out one of the two or more first calibration images taken by the camera device in step S110 for executing step S120.

[0066] It should be understood that, since the camera device of the measuring device always maintains the fixed position relationship with the laser during the actual measurement of the object to be measured, so as to capture the reflected light reflected by the surface of the object to be measured from the light emitting plane, and calculate the geometric parameters of the object to be measured based on the captured image, in step S120, the computer device can accurately determine the internal parameters of the camera device maintained in the fixed position relationship using only one first calibration image.

[0067] In step S120, the computer device determines the internal parameters of the camera device maintained in the fixed position relationship by using the image position information of multiple calibration features in the first calibration image and the actual position information of multiple markers in the first calibration piece.

[0068] The actual position information refers to the real position information of each marker on the first calibration piece in the actual world coordinate system. In one embodiment, the actual position information includes the physical coordinates of the marker. In one embodiment, the actual position information of the multiple markers is determined based on the size information between the markers. Figure 5Taking the first calibration piece shown as an example, if the spacing between any two adjacent markers in the row direction is equal to the spacing between any two adjacent markers in the column direction and is 1, and if an actual world coordinate system is established with marker b1 as the origin, then the actual position information of markers b1 to b9 can be b1(0,0), b2(1,0), b3(2,0), b4(0,1), b5(1,1), b6(2,1), b7(0,2), b8(1,2), and b9(2,2).

[0069] The image position information of the calibration feature refers to pixel position information. In one embodiment, the pixel position information includes pixel coordinates of the calibration feature. The pixel coordinates can refer to the description of the actual position information in the above embodiment, which will not be repeated here.

[0070] It should be noted that in the embodiments of the present application, the physical coordinates and the pixel coordinates are the coordinates of the center point of the marker and the coordinates of the center point of the calibration feature, respectively, but this is not limited to this. In other embodiments, the physical coordinates and the pixel coordinates may also be the coordinates of a point on the edge of the marker and the coordinates of a point on the edge of the calibration feature, respectively. For example, if the marker is a square pattern, the physical coordinates and the pixel coordinates may be the coordinates of the corner point of the upper left corner of the marker and the coordinates of the corner point of the upper left corner of the calibration feature, respectively.

[0071] In one embodiment, the computer device determines an optimal solution of a first objective function determined by using the image position information of multiple calibration features in the first calibration image and the actual position information of multiple markers in the first calibration piece based on an internal parameter initial value, as an internal parameter for the camera device to maintain the fixed position relationship. The first objective function is a function determined by using the image position information of multiple calibration features and the actual position information of multiple markers with the internal parameter of the camera device as a variable.

[0072] In one embodiment, the computer device uses the internal parameters of the camera device and the actual position information of multiple markers to perform reprojection to obtain the reprojection position information of each marker to determine the first objective function using the reprojection position information, wherein the reprojection position information is the theoretical pixel coordinates of the marker obtained after reprojection in the pixel coordinate system. In one example, the computer device calculates the pixel distance between the theoretical pixel coordinates of each marker and the pixel coordinates of the corresponding calibration feature according to the reprojection position information of each marker, and sums the pixel distances corresponding to the multiple markers as the first objective function. When the first objective function reaches the minimum value, the corresponding internal parameter is the optimal solution of the first objective function, and the optimal solution is used as the internal parameter of the camera device to maintain the fixed position relationship. In another example, the computer device obtains the theoretical pixel distance between any two adjacent theoretical pixel coordinates through multiple reprojection position information, and obtains the actual pixel distance of any two adjacent calibration features according to the pixel coordinates of multiple calibration features, and subtracts and sums each theoretical pixel distance from the corresponding actual pixel distance as the first objective function. Similarly, when the first objective function reaches the minimum value, the corresponding internal parameter is the optimal solution of the first objective function, and the optimal solution is used as the internal parameter for maintaining the camera device in the fixed position relationship.

[0073] It should be noted that the first objective function described in the present application is not limited to the description in the above embodiments. Those skilled in the art can determine other forms of the first objective function based on the image position information of multiple calibration features and the actual position information of multiple markers (for example, only taking the markers at both ends of each row to calculate the theoretical pixel distance, and correspondingly, only taking the calibration features at both ends of each row to calculate the actual pixel distance).

[0074] In one embodiment, when solving the optimal solution of the first objective function, the computer device obtains the internal parameter of the camera device in the fixed position relationship based on an internal parameter initial value and a preset first optimization algorithm. The internal parameter initial value can be randomly generated by the computer device or obtained based on the input of the staff. The first optimization algorithm can be a nonlinear least squares method such as the Levenberg-Marquard algorithm or other optimization algorithms that can solve the first objective function.

[0075] In one embodiment, the initial value of the internal parameter is obtained based on the input of the staff, and the calibration method further includes the step of obtaining the initial value of the internal parameter. For example, the staff inputs the initial value of the internal parameter through the input device of the computer device. In this embodiment, the initial value of the internal parameter is obtained by calibrating the internal parameter of the camera device that is not kept in the fixed position relationship. The camera device that is not kept in the fixed position relationship refers to a camera device that is not configured on the measuring device. In a specific embodiment, the internal parameter of the camera device that is not kept in the fixed position relationship can be calibrated using the first calibration piece or other calibration pieces for calibrating the internal parameter. For example, the computer device obtains multiple images of the first calibration piece taken by the camera device in different postures, and then uses the calibration algorithm such as the Zhang Zhengyou calibration method and the multiple images to calculate the internal parameter of the camera device that is not kept in the fixed position relationship as the initial value of the internal parameter. In this way, the internal parameter obtained by the internal parameter calibration of the camera device that is not kept in the fixed position relationship is used as the initial value of the internal parameter, which can speed up the calculation speed of the computer device to obtain the optimal solution.

[0076] In order to ensure the measurement accuracy of the measuring device on the object to be measured, it is necessary to calibrate the internal parameters of the camera device and the light emitting plane in the fixed position relationship.

[0077] See also Fig. 9 , shown as a flow chart of the calibration method in another embodiment of the present application, as shown in the figure, the calibration method also includes step S130, in which the computer device calibrates the light output plane of the laser. Specifically, calibrating the light output plane refers to determining the equation parameters of the light output plane. For example, the light output plane can be represented by the equation AX+BY+CZ-1=0, wherein (X, Y, Z) are the physical coordinates of the point on the light output plane in the coordinate system of the camera device, and A, B, and C are all equation parameters of the light output plane. The light output plane can be calibrated by calibrating the equation parameters of the light output plane.

[0078] In one embodiment, step S130 includes the step of photographing the second calibration part through the camera device to obtain a second calibration image including step features when the line laser emitted by the laser is irradiated on the step structure of the second calibration part, so as to calibrate the light output plane using the step features in the second calibration image.

[0079] For example, the step structure can be directly used as the second calibration piece, or the step structure and a structure such as a back plate used to install or form the step structure can be used together as the second calibration piece. In one embodiment, the second calibration piece is arranged on the surface of the first calibration piece opposite to the marker, so that the first calibration piece and the second calibration piece form an integral structure, which is convenient for the staff to complete the internal reference calibration and the light output plane calibration using both sides of an integral structure, which can prevent the calibration piece from being lost at will and improve the calibration efficiency. For example, the first calibration piece is a calibration plate including a plurality of circular patterns, and the second calibration piece is configured as a step structure, and the step structure is arranged on the surface of the calibration plate opposite to the circular pattern to form an integral structure.

[0080] In one embodiment, the step structure is configured to include a top step and at least two side steps symmetrically arranged on both sides of the top step. Each step includes a horizontal surface. For example, see Fig.10 , which is a side view of a step structure in an embodiment of the present application, as shown in the figure, the step structure 7 includes a top step 70 and four side steps 71 symmetrically arranged on both sides of the top step 70, and both the top step 70 and the side step 71 include a horizontal plane. For another example, the step structure may also include only two side steps symmetrically arranged on both sides of the top step, or include more than four side steps symmetrically arranged on both sides of the top step. In the following embodiments, the step structure is configured to include a top step and four side steps symmetrically arranged on both sides of the top step as an example for description.

[0081] When the staff or automated equipment places the second calibration piece within the irradiation range of the laser, the line laser emitted by the laser can irradiate the step structure of the second calibration piece. In one embodiment, the laser emits a line laser to provide the configuration position of the second calibration piece, and the staff or automated equipment can place the second calibration piece under the laser according to the visual indication provided by the laser emitting the line laser, so that the line laser emitted by the laser can irradiate the horizontal surface in the step structure.

[0082] When the line laser emitted by the laser irradiates the step structure of the second calibration part, the computer device photographs the second calibration part through the camera device to obtain a second calibration image. Specifically, the computer device connected to the camera device in communication obtains the second calibration image obtained by the camera device photographing the second calibration part. The manner in which the camera device photographs the second calibration part to obtain the second calibration image is the same or similar to the manner in which the camera device is controlled to obtain the first calibration image, and is not described in detail here.

[0083] The second calibration image acquired by the computer device includes the step features obtained by the camera receiving the reflected light formed by the line laser being reflected by the horizontal surface in the step structure. Specifically, the line laser emitted by the laser irradiates the horizontal surface in the step structure, and the position where the horizontal surface contacts the line laser reflects the line laser to form reflected light, and the camera receives the reflected light to obtain the step features composed of line features. For example, refer to Fig.10 and Fig.11 , Fig.11 Displayed as camera receiving Fig.10 A schematic diagram of a second calibration image obtained by reflecting light formed by linear laser reflection on a horizontal surface in the step structure shown in the figure, as shown in the figure, Fig.10 The step structure comprises five horizontal planes. Fig.11 The second calibration image includes a step feature composed of five line features corresponding to the five horizontal planes.

[0084] Further, the computer device calibrates the light exit plane using the step features in the second calibration image. Specifically, the computer device calibrates the equation parameters of the light exit plane using the step features.

[0085] In one embodiment, the computer device determines the optimal solution of the second objective function determined by the step feature, the internal parameter of the camera device maintained in the fixed position relationship, and the actual step height of the step structure based on an initial light exit plane equation as the equation parameter of the light exit plane. In one embodiment, the computer device uses the step feature and the internal parameter of the camera device maintained in the fixed position relationship obtained in step S120 to reconstruct the contour to obtain the three-dimensional coordinate information corresponding to the step feature. The measured height of the step in the step structure is calculated based on the three-dimensional coordinate information. Among them, the measured height is a function expressed by the equation parameters of the light exit plane. In other words, the variables included in the measured height are the equation parameters, and the multiple measured heights are respectively subtracted from the actual heights of the corresponding steps in the step structure and summed up as the second objective function containing the equation parameters.

[0086] In one embodiment, when solving the optimal solution of the second objective function, the computer device obtains the equation parameters of the light output plane based on the initial light plane equation and a preset second optimization algorithm. The initial light plane equation can be randomly generated by the computer device or obtained based on the input of the worker. The second optimization algorithm can be a nonlinear least squares method such as the Levenberg-Marquard algorithm or other optimization algorithms that can solve the second objective function.

[0087] In one embodiment, the initial light plane equation is obtained based on the input of a worker. For example, the initial light-exiting plane equation is the plane equation of the plane where the multiple markers are located, which is calculated using the acquired first calibration image. Specifically, the computer device calculates the plane equation of the plane where the multiple markers of the first calibration part are located in the camera device coordinate system based on the acquired first calibration image, and uses the plane equation of the plane where the multiple markers are located as the initial light plane equation. In this way, the calculation speed of the computer device to obtain the optimal solution of the second objective function can be accelerated.

[0088] In one embodiment, see Fig.12 , which is a structural block diagram of a calibration system for a measuring device in one embodiment of the present application. As shown in the figure, the calibration system for the measuring device includes an acquisition module 80 and an internal parameter calibration module 81.

[0089] It should be understood that the acquisition module 80 and the internal reference calibration module 81 can also be implemented in software run by different types of processors. For example, a module of executable code may include one or more physical or logical blocks of computer instructions, which are organized as objects, programs or functions. However, the executable files of the modules do not have to be physically located together, but may include different commands stored in different locations, which, when logically connected together, include the modules and achieve the specified goals of the modules.

[0090] Of course, the module of executable code can be one or many instructions, and can even be distributed in several different code segments, distributed in different programs and distributed in multiple storage devices. Similarly, operation data can be identified and shown in the module, and the operation data can be embodied in any suitable form and organized in any suitable type of data structure. The operation data can be collected as a single data set, or can be distributed in different locations (including different storage devices), and can exist at least partially as electrical signals in a system or network. When a module or a portion of a module is implemented in software, the software portion is stored on one or more computer-readable media.

[0091] The acquisition module 80 is used to acquire a first calibration image by photographing the first calibration member through the camera device when the first calibration member is arranged on the light emitting plane of the laser. The first calibration member is provided with a plurality of markers, and the first calibration image includes a plurality of calibration features corresponding to the plurality of markers.

[0092] The internal parameter calibration module 81 is used to determine the internal parameters of the camera device when it is maintained in the fixed position relationship by using the image position information of multiple calibration features in the first calibration image and the actual position information of multiple markers in the first calibration piece.

[0093] In one embodiment, see Fig.13 , which is a structural block diagram of a calibration system of a measuring device in another embodiment of the present application, as shown in the figure, the calibration system of the measuring device also includes a light-emitting plane calibration module 82, and the light-emitting plane calibration module 82 is used to calibrate the light-emitting plane of the laser. In this way, by calibrating the internal parameters and the light-emitting plane of the camera device, the measurement accuracy of the measuring device is ensured.

[0094] Here, the working mode of each module in the calibration system 8 of the measuring device of the present application is the same as or similar to the corresponding steps in the calibration method of the measuring device mentioned above, and will not be repeated here.

[0095] The present application also provides a computer-readable and writable storage medium, on which at least one program is stored. When the at least one program is called, it executes the calibration method of the measuring device described in any of the above embodiments.

[0096] In one embodiment, the present application further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the calibration method of the measuring device described in any of the above-mentioned embodiments.

[0097] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

[0098] In the embodiments provided in the present application, the computer readable and writable storage medium may include a read-only memory (ROM), a random access memory (RAM), an EEPROM, a CD-ROM or other optical disk storage device, a magnetic disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store the desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio and microwaves are included in the definition of the medium. However, it should be understood that computer readable and writable storage media and data storage media do not include connections, carriers, signals or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.

[0099] The present application also discloses a computer device, which is used to implement the calibration method of the measuring device described in any of the above embodiments. In one embodiment, the computer device is a device capable of performing digital calculation, logic processing, and information processing on data.

[0100] See also Fig.14 , which is a schematic diagram of the structure of a computer device in an embodiment of the present application, wherein the computer device 9 includes a storage device 90 and a processing device 91 connected to the storage device 90. Furthermore, the computer device also includes an interface device 92.

[0101] In some embodiments, the storage device 90 is used to store at least one program, and the at least one program can be executed by the processing device 91 to coordinate the calibration method of the measurement device described in any of the above embodiments of the storage device 90.

[0102] Here, the storage device 90 includes, but is not limited to, a read-only memory, a random access memory, and a non-volatile memory. For example, the storage device 90 includes a flash memory device or other non-volatile solid-state storage device. In some embodiments, the storage device 90 may also include a memory away from one or more processing devices 91, such as a network attached memory accessed via an RF circuit or an external port and a communication network, wherein the communication network may be the Internet, one or more intranets, a local area network, a wide area network, a storage area network, etc., or a suitable combination thereof. The memory controller may control access to the memory by other components of the device, such as a CPU and a peripheral interface.

[0103] In some embodiments, the processing device 91 includes one or more processors. The processing device 91 can be operable to perform data read and write operations with the storage device 90. The processing device 91 includes one or more general-purpose microprocessors, one or more application-specific processors (ASICs), one or more digital signal processors, one or more field programmable logic arrays (FPGAs), or any combination thereof.

[0104] In some embodiments, the interface device 92 includes at least one interface unit, each of which is used to output a visual interface, receive a human-computer interaction event generated according to the operation of the staff (for example, receiving the initial value of the internal parameter and the initial light plane equation input by the staff), etc. For example, the interface device 92 includes but is not limited to: a serial interface such as an HDMI interface or a USB interface, or a parallel interface, etc. In one embodiment, the interface device 92 also includes a network communication unit, which is a device for data transmission using a wired or wireless network, and examples thereof include but are not limited to: an integrated circuit including a network card, a local area network module such as a WiFi module or a Bluetooth module, a wide area network module such as a mobile network, etc.

[0105] In one embodiment, the computer device further comprises an input device, such as a touch screen or a keyboard connected to the processing device, etc. The input device is used to provide a human-computer interaction interface for a staff member to input the initial value of the internal parameter and the initial light plane equation.

[0106] In one or more exemplary aspects, the functions described in the calibration method of the measuring device described in the present application can be implemented in hardware, software, firmware or any combination thereof. When implemented in software, these functions can be stored or transmitted as one or more instructions or codes on a computer-readable medium. The steps of the method or algorithm disclosed in the present application can be embodied in a processor-executable software module, wherein the processor-executable software module can be located on a tangible, non-temporary computer storage medium. A tangible, non-temporary computer storage medium can be any available medium that a computer can access.

[0107] The flowchart and block diagram in the accompanying drawings described in the present application illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. Based on this, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be realized by a dedicated hardware-based system that performs a specified function or operation, or can be realized by a combination of dedicated hardware and computer instructions.

[0108] In summary, the calibration method and system of the measuring device, computer equipment, computer-readable storage medium, and computer program product provided by the present application, when the first calibration part is configured on the light-emitting plane of the laser, the first calibration part is photographed by a camera device to obtain a first calibration image, so as to calibrate the internal parameters of the camera device that maintains a fixed positional relationship with the laser. The present application does not need to change the posture of the first calibration part to obtain the first calibration image in different postures to calibrate the internal parameters of the camera device. In this way, the calibration accuracy of the camera device in the measuring device can be guaranteed, and the internal parameter calibration process can be simplified. Furthermore, the present application will also calibrate the light-emitting plane of the laser based on the internal parameters of the camera device that maintains a fixed positional relationship with the laser after the calibration, so as to ensure the measurement accuracy of the measuring device.

[0109] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A calibration method for a measuring device, characterized in that: The measuring device is provided with a laser and a camera that cooperate to perform non-contact measurement on the object to be measured, the laser and the camera have a fixed positional relationship, and the calibration method includes: When the first calibration piece is arranged on the light emitting plane of the laser, the first calibration piece is photographed by the camera device to obtain a first calibration image; wherein a plurality of markers are arranged on the first calibration piece, and the first calibration image includes a plurality of calibration features corresponding to the plurality of markers; The image position information of the plurality of calibration features in the first calibration image and the actual position information of the plurality of markers in the first calibration piece are used to determine the internal parameters of the camera device maintained in the fixed position relationship.

2. The calibration method according to claim 1, characterized in that: The configuration position of the first calibration component corresponding to the light emitting plane is determined by providing an indication through the laser line emitted by the laser.

3. The calibration method according to claim 1, characterized in that: The measuring device is configured as a measuring probe used in an articulated arm three-dimensional coordinate measuring machine.

4. The calibration method according to claim 1, characterized in that: A calibration bracket is provided for setting up the measuring device, wherein the calibration bracket comprises a horizontal platform for placing the first calibration member and a mounting member connected to the horizontal platform for fixing the measuring device.

5. The calibration method according to claim 1, characterized in that: The step of determining the internal reference of the camera device maintained in the fixed position relationship by using the image position information of the plurality of calibration features in the first calibration image and the actual position information of the plurality of markers in the first calibration piece comprises: Based on an internal parameter initial value, an optimal solution of a first objective function determined by using image position information of multiple calibration features in the first calibration image and actual position information of multiple markers in the first calibration piece is determined to serve as an internal parameter for maintaining the camera device in the fixed position relationship.

6. The calibration method according to claim 5, characterized in that: The method further includes a step of obtaining an initial value of the internal parameter, wherein the initial value of the internal parameter is obtained by performing internal parameter calibration on the camera device that is not maintained in the fixed position relationship.

7. The calibration method according to claim 1, characterized in that: The method also includes a step of calibrating the light emitting plane of the laser.

8. The calibration method according to claim 7, characterized in that: The step of calibrating the light emitting plane includes: When the line laser emitted by the laser irradiates the step structure of the second calibration piece, the second calibration piece is photographed by the camera device to obtain a second calibration image including step features, so as to calibrate the light exit plane using the step features; The step feature configuration included in the second calibration image is obtained by the camera receiving reflected light formed by the line laser being reflected by the horizontal surface in the step structure.

9. The calibration method according to claim 8, characterized in that: The step of calibrating the light emitting plane using the step feature comprises: Based on an initial light emitting plane equation, an optimal solution of a second objective function determined by utilizing the step feature, the internal parameters of the camera device maintained in the fixed position relationship, and the actual step height of the step structure is determined as the equation parameters of the light emitting plane.

10. The calibration method according to claim 9, characterized in that: The initial light-exiting plane equation is a plane equation of a plane where multiple markers are located, which is calculated using the acquired first calibration image.

11. The calibration method according to claim 8, characterized in that: The second calibration piece is arranged on a surface of the first calibration piece opposite to the marker, so that the first calibration piece and the second calibration piece form an integral structure.

12. The calibration method according to claim 8, characterized in that: The step structure is configured to include a top step and at least two side steps symmetrically arranged on both sides of the top step.

13. A calibration system for a measuring device, characterized in that: The measuring device is equipped with a laser and a camera that cooperate to perform non-contact measurement of the object to be measured, and the laser and the camera have a fixed positional relationship. The calibration system includes: an acquisition module, configured to acquire a first calibration image by photographing the first calibration piece through the camera device when the first calibration piece is arranged on the light emitting plane of the laser; wherein a plurality of markers are arranged on the first calibration piece, and the first calibration image includes a plurality of calibration features corresponding to the plurality of markers; The internal parameter calibration module is used to determine the internal parameters of the camera device maintained in the fixed position relationship by using the image position information of multiple calibration features in the first calibration image and the actual position information of multiple markers in the first calibration piece.

14. The calibration system according to claim 13, characterized in that: The calibration system also includes a light output plane calibration module, which is used to calibrate the light output plane of the laser.

15. A computer device, characterized in that: include: A storage device for storing at least one program; A processing device is connected to the storage device, and is used to call the at least one program from the storage device and implement the calibration method of the measuring device as described in any one of claims 1 to 12 when executing it.

16. A computer-readable storage medium, characterized in that: At least one program is stored, and when the at least one program is called, it is executed and implements the calibration method of the measuring device according to any one of claims 1 to 12.

17. A computer program product, characterized in that When the computer program product runs on a computer, the computer is enabled to execute the calibration method for a measuring device according to any one of claims 1 to 12.