Instrument tip calibration system, method, device, equipment and storage medium
By setting spherical grooves and position information acquisition devices on the target plate, collecting and changing the position information of characteristic points and fitting the spherical target spherical center position, the instrument tip calibration without the need for high-precision target plate is achieved, and the target in the existing technology is solved The problems of deformation and fixed point offset improve calibration accuracy and reliability.
Patent Information
- Application Number
- CN202210431686.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-04-22
AI Technical Summary
In the existing surgical navigation system, high-precision target calibration method is affected by changes in temperature and humidity, and the three-dimensional coordinates of the marking points are inaccurate. The fixed tip point calibration method requires a spatial fixed point and is prone to offset during rotation, which reduces the tip point. Calibration accuracy.
The spherical grooves are set on the surface of the target plate, and multiple sets of feature point position information are collected through the position information acquisition device. The processor determines the position transformation parameters based on this information, transforms the position information of the device feature point to the coordinate system of the target plate, and fits the spherical target sphere. The center position enables accurate calibration of the tip of the instrument.
The accurate calibration of the instrument tip can be completed without a high-precision target board, avoiding the problems of target deformation and fixed point position offset, and improving calibration accuracy and reliability.
Smart Images

Figure CN114795469B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of instrument calibration, and in particular to an instrument tip calibration system, method, device, equipment and storage medium. Background Art
[0002] In order to accurately position the surgical instrument in the surgical navigation system, the position of the surgical instrument tip needs to be calibrated before each operation. The existing mainstream tip point calibration methods include high-precision target calibration and fixed tip point calibration methods. The high-precision target calibration method requires a high-precision target with a marker point with known three-dimensional point coordinates on the target surface. The surgical instrument tip point location is obtained by touching the surgical instrument tip point and the target marker point. The fixed tip point calibration method requires a fixed point in space. The tip of the surgical instrument is embedded in a fixed point in space, and then rotated around the tip of the instrument. The coordinates of the center of the sphere are determined by spherical fitting to determine the location of the instrument tip point.
[0003] However, the high-precision target calibration method is simple to operate, but it has requirements for target processing accuracy and requires accurate positioning of the three-dimensional position of the marker point on it. In actual use, changes in temperature and humidity may cause the target to deform, resulting in inaccurate three-dimensional coordinates of the marker point, thereby reducing the accuracy of the tip point calibration. Although the method of fixing the tip point is very accurate, it requires a fixed point in space and the surgical instrument needs to be rotated around the tip point. During the actual rotation process, it is easy to cause the fixed point position in space to shift, reducing the accuracy of the tip point calibration or even failure. Summary of the invention
[0004] The embodiments of the present invention provide an instrument tip calibration system, method, device, equipment and storage medium, which can achieve accurate calibration of the instrument tip without a high-precision target plate.
[0005] In a first aspect, an embodiment of the present invention provides an instrument tip calibration system, comprising a target plate, a position information acquisition device and a processor, wherein a spherical groove is provided on the surface of the target plate, and when calibrating the instrument to be calibrated, the tip of the instrument to be calibrated is always in contact with the spherical groove of the target plate, and the instrument to be calibrated rotates around the spherical groove of the target plate, wherein:
[0006] A position information acquisition device, used to acquire multiple sets of feature point position information during the rotation of the device to be calibrated, wherein each set of feature point position information is target plate feature point position information and device feature point position information acquired in a single acquisition, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the device feature point position information includes position information of at least three device feature points of the device to be calibrated;
[0007] A processor, used to determine position transformation parameters based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameters, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system;
[0008] Furthermore, based on the position information of each set of target plate coordinate systems, the target center position of the sphere formed by the rotation of the instrument feature points around the spherical groove is obtained by fitting, and the relative position relationship between the tip of the instrument to be calibrated and the instrument feature points is determined according to the target center position to complete the calibration of the tip of the instrument to be calibrated.
[0009] In a second aspect, an embodiment of the present invention further provides an instrument tip calibration method, which is executed by a processor in an instrument tip calibration system provided by any embodiment of the present invention, and the method includes:
[0010] Acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated;
[0011] Determine the position transformation parameters based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameters, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system;
[0012] Based on the position information of each group of target plate coordinate systems, the target center position of the sphere formed by the rotation of the instrument feature points around the spherical groove is obtained by fitting. The relative position relationship between the tip of the instrument to be calibrated and the instrument feature points is determined according to the target center position to complete the calibration of the tip of the instrument to be calibrated.
[0013] In a third aspect, an embodiment of the present invention further provides an instrument tip calibration device, which is configured in a processor in an instrument tip calibration system provided by any embodiment of the present invention, and includes:
[0014] An information acquisition module, used to acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated;
[0015] A coordinate transformation module, used to determine position transformation parameters based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameters, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system;
[0016] The tip calibration module is used to fit the position information of each group of target plate coordinate systems to obtain the target center position of the sphere formed by the rotation of the instrument feature points around the spherical groove, determine the relative position relationship between the tip of the instrument to be calibrated and the instrument feature points according to the target center position, and complete the tip calibration of the instrument to be calibrated.
[0017] In a fourth aspect, an embodiment of the present invention further provides a computer device, the device comprising:
[0018] one or more processors;
[0019] A storage device for storing one or more programs;
[0020] When one or more programs are executed by one or more processors, the one or more processors implement the instrument tip calibration method provided by any embodiment of the present invention.
[0021] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements an instrument tip calibration method as provided in any embodiment of the present invention.
[0022] The instrument tip calibration system provided by the embodiment of the present invention includes a target plate, a position information acquisition device and a processor, wherein a spherical groove is provided on the surface of the target plate, and when the instrument to be calibrated is calibrated, the tip of the instrument to be calibrated is always in contact with the spherical groove of the target plate, and the instrument to be calibrated rotates around the spherical groove of the target plate, wherein: the position information acquisition device is used to collect multiple groups of feature point position information during the rotation of the instrument to be calibrated, wherein each group of feature point position information is the target plate feature point position information and the instrument feature point position information obtained by a single acquisition, and the target plate feature point position information includes the position information of at least three target plate feature points of the target plate , the device feature point position information includes the position information of at least three device feature points of the device to be calibrated; the processor is used to determine the position transformation parameters based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameters, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system; and, based on each group of target plate coordinate system position information, the target sphere center position of the device feature point rotating around the spherical groove to form a spherical surface is obtained by fitting, and the relative position relationship between the tip of the device to be calibrated and the device feature point is determined according to the target sphere center position, and the tip calibration of the device to be calibrated is completed. Accurate calibration of the device tip can be completed without a high-precision target plate. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a structural schematic diagram of an instrument tip calibration system provided in Embodiment 1 of the present invention;
[0024] Figure 2 is a flow chart of a method for calibrating the tip of an instrument provided in Embodiment 2 of the present invention;
[0025] Figure 3 It is a structural schematic diagram of an instrument tip calibration device provided in Embodiment 3 of the present invention;
[0026] Figure 4 It is a structural diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0028] Embodiment 1
[0029] Figure 11 is a schematic diagram of the structure of an instrument tip calibration system provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation when calibrating the instrument tip.
[0030] In this embodiment, the instrument tip calibration system includes a target plate 10, a position information acquisition device and a processor. Figure 1 As shown, a spherical groove 11 is provided on the surface of the target plate 10. When the device to be calibrated is calibrated, the tip of the device to be calibrated is always in contact with the spherical groove 11 of the target plate, and the device to be calibrated rotates around the spherical groove 11 of the target plate, wherein:
[0031] A position information acquisition device, used to acquire multiple sets of feature point position information during the rotation of the device to be calibrated, wherein each set of feature point position information is target plate feature point position information and device feature point position information acquired in a single acquisition, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the device feature point position information includes position information of at least three device feature points of the device to be calibrated;
[0032] A processor, used to determine position transformation parameters based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameters, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system;
[0033] Furthermore, based on the position information of each set of target plate coordinate systems, the target center position of the sphere formed by the rotation of the instrument feature points around the spherical groove is obtained by fitting, and the relative position relationship between the tip of the instrument to be calibrated and the instrument feature points is determined according to the target center position to complete the calibration of the tip of the instrument to be calibrated.
[0034] The instrument tip calibration system provided in the embodiment of the present invention does not require a high-precision target plate, nor does it require the tip of the instrument to be fixed. In other words, compared to the high-precision target calibration method, the instrument tip calibration system provided in this embodiment does not require the accuracy of the target plate, so the calibration accuracy is not affected by target deformation. Compared to the fixed tip point calibration method, the target plate in this embodiment can be directly held or fixed with a clamp. During the calibration process, it is only necessary to ensure that the tip point of the instrument is always in contact with the groove of the target plate, and the tip point calibration is not affected by the position offset of the target plate. The defects of high-precision target calibration and the calibration defects of the tip point of the fixed frame in the prior art are solved.
[0035] In general, the embodiment of the present invention requires a target plate with observable features on its surface, and a spherical groove on the target plate. By embedding the tip of a surgical instrument with observable features of the navigator into the spherical groove and rotating it, the tip of the surgical instrument can be accurately calibrated using the spatial coordinate transformation relationship and spherical fitting.
[0036] Specifically, the target plate in the instrument tip calibration system provided by the embodiment of the present invention has no accuracy requirements, but a spherical groove is required to be distributed on its surface, and it has features that can be observed by a position information acquisition device (such as a navigator) (such as: for an infrared navigator, it is a reflective ball or an infrared lamp bead, etc.; for a visible light navigator, it is a characteristic code or a circle, corner point and other typical image features, etc.), the number of features is required to be at least three, and all features are required to be non-collinear, and unique identification can be achieved according to the feature type or the position relationship between features. The surface of the instrument to be calibrated is also required to have features that can be observed by the navigator, the number of features is required to be at least three, and all features are required to be non-collinear, and unique identification can be achieved according to the feature type or the position relationship between features. During the calibration process, the instrument tip is kept in contact with the spherical groove of the target plate, so that the instrument rotates along the spherical groove with the instrument tip as the center. The position information acquisition device repeatedly collects the position information of the instrument feature points and the target plate feature points during the rotation of the instrument, and the processor calculates the position of the instrument tip through the collected position information, thereby realizing the calibration of the instrument tip.
[0037] It should be noted that during the calibration process, the target plate with the spherical groove and observable features needs to be placed within the field of view of the navigator, and the surface features can be observed by the position information acquisition device. The target plate can be directly placed by hand or fixed on any platform by a clamp; the surgical instrument is held, and the tip of the instrument is pressed against the spherical groove of the target plate, and the surface features can be observed by the position information acquisition device. The position information acquisition device starts the acquisition process, and the instrument slowly rotates around the spherical groove of the target plate and continuously acquires and processes (at least four sets of data need to be collected). The data acquisition process can be completed after the rotation exceeds 90°. It is worth noting that during the calibration process, the movement of the target plate is not restricted. It is only necessary to ensure that the tip of the surgical instrument is always in contact with the bottom of the spherical groove of the target plate.
[0038] In one embodiment of the present invention, the position transformation parameters are determined based on the target plate feature point position information and the reference feature point position information, including: for each target plate feature point in each set of feature point position information, the position transformation parameters corresponding to the target plate feature point are determined according to the target plate feature point position information and the reference feature point position information of the target plate feature point. It can be understood that the feature point position information collected by the position information collection device at a single time is a set of feature point position information, specifically including the instrument feature point position information and the target plate feature point position information. Considering that the target plate may move during the tip point calibration process, the surface feature points of the surgical instrument collected at different times are not distributed on the spherical surface in the world coordinate system or the navigator coordinate system; and because the tip point of the surgical instrument is always in contact with the bottom of the groove on the target plate, for the target plate coordinate system, the surface feature points of the surgical instrument collected at different times are distributed on the spherical surface, so it is necessary to convert all groups of surgical instrument feature point data to the target plate coordinate system. The instrument feature point position coordinates can be transformed to the target plate coordinate system by coordinate registration, so it is necessary to obtain the corresponding position transformation parameters.
[0039] Assume that the initial set of target plate three-dimensional coordinates {P b1} as the reference group, the three-dimensional coordinates of the target plates of all groups can be calculated separately {P b1},{P b2},{P b3},… and the coordinate transformation relationship between the reference groups. Since the three-dimensional point coordinates are arranged in order, the three-dimensional coordinates of the target plate between each group can directly determine the matching points, and the coordinate transformation relationship R can be calculated by least squares optimization. 11 ,t 11 ,R 12 ,t 12 ,R 13 ,t 13 ,…, where R 1i ,t 1i The rotation matrix and translation vector, i.e., position transformation parameters, respectively represent the i-th group to the reference group.
[0040] On the basis of the above scheme, the position information of the instrument feature point is transformed to the target plate coordinate system based on the position transformation parameters to obtain the target plate coordinate system position information of the instrument feature point in the target plate coordinate system, including: determining the instrument feature point corresponding to the target plate feature point, and obtaining the target plate coordinate system position information of the instrument feature point in the target plate coordinate system based on the instrument feature point position information and position transformation parameters of the instrument feature point. Use coordinate registration to transform the position coordinates of the instrument feature point to the target plate coordinate system. Exemplarily, according to the above coordinate transformation parameters, the corresponding group of instrument feature point position information {P t1},{P t2},{P t3},…converted to the target plate coordinate system, and obtained the three-dimensional coordinate set of surgical instrument feature points in the target plate coordinate system {P t1_b},{P t2_b},{P t3_b},…. Taking the i-th group of surgical instrument feature point data {P ti} as an example, the coordinate set after transformation is {P ti_b}, then the i-th group of coordinate transformation relations R 1i ,t 1i Converted to the target plate coordinate system, the relationship is as follows, p ti and p ti_b They are {P ti} and {P ti_b}The corresponding three-dimensional point coordinates in: p ti_b =R 1i ·p ti +t 1i .
[0041] After the coordinates are unified to the same coordinate system, the tip of the instrument can be calibrated according to the position information in the same coordinate system. Optionally, the target sphere center position of the instrument feature point rotating around the spherical groove to form a spherical surface is obtained by fitting based on the position information of each group of target plate coordinate system, including: constructing a sphere center fitting equation based on each group of target plate coordinate system position information; fitting the target sphere center position according to the sphere center fitting equation. It can be understood that each instrument feature point can obtain a sphere with the instrument tip as the sphere center and the distance between the instrument feature point and the instrument tip as the radius when the instrument rotates around the spherical groove. Therefore, the sphere formed by the movement of the instrument feature point when the instrument rotates around the spherical groove can be fitted based on the target plate coordinate system position information of the instrument feature point in multiple groups of feature point position information, and then the corresponding sphere center position can be determined. In other words, for each instrument feature point, an equation for the sphere formed when the instrument feature point rotates can be constructed as a sphere center fitting equation. Combined with the sphere center fitting equation of each instrument feature point, the target sphere center position can be obtained. Optionally, the sphere center position corresponding to each device feature point can be obtained as a single sphere center position according to the sphere center fitting equation of each device feature point, and then the target sphere center position is calculated according to all the single sphere center positions, such as taking the center position of all sphere center positions as the target spherical position, or calculating the characteristic value of each single sphere center position as the target sphere center position. Optionally, the sphere center fitting equation of each device feature point can be combined to obtain an equation group, and the single sphere center position can be directly calculated based on the equation group. Based on this, fitting the target sphere center position according to the sphere center fitting equation includes: combining the sphere center fitting equation and obtaining the target sphere center position by the least square method.
[0042] Exemplarily, the spherical surface fitting method may be: according to the three-dimensional coordinates {P t1_b},{P t2_b},{P t3_b},…, in the target plate coordinate system, since the feature points rotate around the spherical groove to form a spherical surface, assuming that the coordinates of the feature points are (x, y, z) and the coordinates of the center of the sphere are (x o ,y o ,z o ), the rotation radius is r, then the following relationship exists:
[0043]
[0044] When the same feature point is observed more than four times in all collected data, the coordinates of the sphere center can be calculated by simultaneous equations as (x o ,y o ,z o ), the rotation radius is r; and the above equation can be established for each feature point on the surface of the surgical instrument and each time it is observed. The simultaneous equations can be used to obtain the coordinates of the tip point through least squares calculation, and then the relative position relationship between the coordinates of the tip point and the feature point can be determined to achieve tip point calibration.
[0045] The instrument tip calibration system provided by the embodiment of the present invention realizes accurate calibration of the instrument tip without the need for a high-precision target plate.
[0046] Embodiment 2
[0047] Figure 2 is a flow chart of a method for calibrating the tip of an instrument provided in the second embodiment of the present invention. The method can be executed by the processor provided in the above embodiment, and the processor can be implemented in software and / or hardware. For example, the processor can be configured in a computer device. Figure 2 As shown, the method includes:
[0048] S210. Acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated.
[0049] S220, determining position transformation parameters based on the target plate feature point position information and the reference feature point position information, transforming the instrument feature point position information to the target plate coordinate system based on the position transformation parameters, and obtaining the target plate coordinate system position information of the instrument feature point in the target plate coordinate system.
[0050] S230, based on the position information of each group of target plate coordinate systems, the target sphere center position of the sphere formed by the instrument feature points rotating around the spherical groove is obtained by fitting, and the relative position relationship between the tip of the instrument to be calibrated and the instrument feature points is determined according to the target sphere center position, so as to complete the calibration of the tip of the instrument to be calibrated.
[0051] For more specific methods of determining the target plate coordinate system position information and the target sphere center position, reference may be made to the above embodiments and will not be repeated here.
[0052] The embodiment of the present invention obtains multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated; position transformation parameters are determined based on the target plate feature point position information and the reference feature point position information, and the instrument feature point position information is transformed to the target plate coordinate system based on the position transformation parameters to obtain the target plate coordinate system position information of the instrument feature point in the target plate coordinate system; target sphere center positions of the instrument feature points formed by rotating around spherical grooves to form a sphere are obtained by fitting based on each group of target plate coordinate system position information, and the relative position relationship between the tip of the instrument to be calibrated and the instrument feature point is determined according to the target sphere center position, and the tip calibration of the instrument to be calibrated is completed, thereby achieving accurate calibration of the instrument tip without the need for a high-precision target plate.
[0053] Embodiment 3
[0054] Figure 3 3 is a schematic diagram of the structure of an instrument tip calibration device provided in the third embodiment of the present invention. As shown in 3, the device includes an information acquisition module 310, a coordinate transformation module 320 and a tip calibration module 330, wherein:
[0055] An information acquisition module 310 is used to acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated;
[0056] A coordinate transformation module 320 is used to determine a position transformation parameter based on the target plate feature point position information and the reference feature point position information, and transform the device feature point position information to the target plate coordinate system based on the position transformation parameter to obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system;
[0057] The tip calibration module 330 is used to fit the position information of each group of target plate coordinate systems to obtain the target center position of the sphere formed by the rotation of the instrument feature points around the spherical groove, determine the relative position relationship between the tip of the instrument to be calibrated and the instrument feature points according to the target center position, and complete the tip calibration of the instrument to be calibrated.
[0058] The instrument tip calibration device provided in the embodiment of the present invention can execute the instrument tip calibration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0059] Embodiment 4
[0060] Figure 4 It is a structural diagram of a computer device provided in Embodiment 4 of the present invention. Figure 4 A block diagram of an exemplary computer device 412 suitable for use in implementing embodiments of the present invention is shown. Figure 4 The computer device 412 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0061] like Figure 4 As shown, the computer device 412 is in the form of a general-purpose computing device. The components of the computer device 412 may include, but are not limited to: one or more processors 416, a system memory 428, and a bus 418 that connects different system components (including the system memory 428 and the processor 416).
[0062] Bus 418 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a local bus to processor 416, or a bus structure using any of a variety of bus architectures. These architectures include, by way of example, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0063] The computer device 412 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 412, including volatile and non-volatile media, removable and non-removable media.
[0064] System memory 428 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 430 and / or cache memory 432. Computer device 412 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage device 434 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 418 via one or more data medium interfaces. The memory 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0065] A program / utility 440 having a set (at least one) of program modules 442 may be stored, for example, in memory 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 442 generally perform the functions and / or methods of the embodiments described herein.
[0066] The computer device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, display 424, etc.), may also communicate with one or more devices that enable a user to interact with the computer device 412, and / or communicate with any device that enables the computer device 412 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via input / output (I / O) interface 422. Furthermore, the computer device 412 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) via network adapter 420. As shown, the network adapter 420 communicates with other modules of the computer device 412 via bus 418. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the computer device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0067] The processor 416 executes various functional applications and data processing by running the program stored in the system memory 428, such as implementing the instrument tip calibration method provided in the embodiment of the present invention, which includes:
[0068] Acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated;
[0069] Determine the position transformation parameters based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameters, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system;
[0070] Based on the position information of each group of target plate coordinate systems, the target center position of the sphere formed by the rotation of the instrument feature points around the spherical groove is obtained by fitting. The relative position relationship between the tip of the instrument to be calibrated and the instrument feature points is determined according to the target center position to complete the calibration of the tip of the instrument to be calibrated.
[0071] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the instrument tip calibration method provided by any embodiment of the present invention.
[0072] Embodiment 5
[0073] Embodiment 5 of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the instrument tip calibration method provided in the embodiment of the present invention is implemented. The method includes:
[0074] Acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated;
[0075] Determine the position transformation parameters based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameters, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system;
[0076] Based on the position information of each group of target plate coordinate systems, the target center position of the sphere formed by the rotation of the instrument feature points around the spherical groove is obtained by fitting. The relative position relationship between the tip of the instrument to be calibrated and the instrument feature points is determined according to the target center position to complete the calibration of the tip of the instrument to be calibrated.
[0077] Of course, the computer program stored in a computer-readable storage medium provided by an embodiment of the present invention is not limited to the above method operations, but can also execute related operations of the instrument tip calibration method provided by any embodiment of the present invention.
[0078] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0079] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0080] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0081] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0082] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. An instrument tip calibration system, characterized in that: The device comprises a target plate, a position information acquisition device and a processor, wherein a spherical groove is provided on the surface of the target plate, and when the device to be calibrated is calibrated, the tip of the device to be calibrated is always in contact with the spherical groove of the target plate, and the device to be calibrated rotates around the spherical groove of the target plate, wherein: The position information acquisition device is used to acquire multiple sets of feature point position information during the rotation of the device to be calibrated, wherein each set of feature point position information is target plate feature point position information and device feature point position information acquired in a single acquisition, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the device feature point position information includes position information of at least three device feature points of the device to be calibrated; The processor is used to determine the position transformation parameters based on the target plate feature point position information and the reference feature point position information, and transform the device feature point position information to the target plate coordinate system based on the position transformation parameters to obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system; Furthermore, based on the position information of the target plate coordinate system of each group, the target center position of the sphere formed by the rotation of the instrument feature point around the spherical groove is obtained by fitting, and the relative position relationship between the tip of the instrument to be calibrated and the instrument feature point is determined according to the target center position to complete the calibration of the tip of the instrument to be calibrated.
2. The system according to claim 1, characterized in that The determining of the position transformation parameters based on the target plate feature point position information and the reference feature point position information comprises: For each target plate feature point in each set of feature point position information, a position transformation parameter corresponding to the target plate feature point is determined according to the target plate feature point position information and the reference feature point position information of the target plate feature point.
3. The system according to claim 1, characterized in that The step of transforming the position information of the instrument feature point to the target plate coordinate system based on the position transformation parameter to obtain the target plate coordinate system position information of the instrument feature point in the target plate coordinate system includes: The device feature point corresponding to the target plate feature point is determined, and the target plate coordinate system position information of the device feature point in the target plate coordinate system is obtained based on the device feature point position information and the position transformation parameter of the device feature point.
4. The system according to claim 1, characterized in that The method of fitting the target sphere center position formed by rotating the feature points of the device around the spherical groove to form a spherical surface based on the position information of each group of the target plate coordinate system comprises: Constructing a sphere center fitting equation based on the target plate coordinate system position information of each group; The target sphere center position is fitted according to the sphere center fitting equation.
5. The system according to claim 4, characterized in that The step of fitting the target sphere center position according to the sphere center fitting equation comprises: The sphere center fitting equations are combined to obtain the target sphere center position by the least square method.
6. The system according to claim 1, characterized in that When calibrating the device to be calibrated, the target plate is fixed by a fixing device.
7. A method for calibrating an instrument tip, characterized in that: Executed by a processor in the instrument tip calibration system according to any one of claims 1 to 6, the method comprising: Acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated; Determine a position transformation parameter based on the target plate feature point position information and the reference feature point position information, transform the device feature point position information to the target plate coordinate system based on the position transformation parameter, and obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system; Based on the position information of each group of the target plate coordinate system, the target center position of the sphere formed by the rotation of the instrument feature point around the spherical groove is obtained by fitting, and the relative position relationship between the tip of the instrument to be calibrated and the instrument feature point is determined according to the target center position to complete the calibration of the tip of the instrument to be calibrated.
8. An instrument tip calibration device, characterized in that: A processor configured in the instrument tip calibration system according to any one of claims 1 to 6, comprising: An information acquisition module, used to acquire multiple groups of feature point position information, wherein each group of feature point position information includes target plate feature point position information and instrument feature point position information, the target plate feature point position information includes position information of at least three target plate feature points of the target plate, and the instrument feature point position information includes position information of at least three instrument feature points of the instrument to be calibrated; A coordinate transformation module, used to determine position transformation parameters based on the target plate feature point position information and the reference feature point position information, and transform the device feature point position information to the target plate coordinate system based on the position transformation parameters to obtain the target plate coordinate system position information of the device feature point in the target plate coordinate system; The tip calibration module is used to fit the target center position of the instrument feature point rotating around the spherical groove to form a spherical surface based on the position information of the target plate coordinate system of each group, determine the relative position relationship between the tip of the instrument to be calibrated and the instrument feature point according to the target center position, and complete the tip calibration of the instrument to be calibrated.
9. A computer device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the instrument tip calibration method as described in claim 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the instrument tip calibration method as claimed in claim 7 is implemented.
